From 0e7cbb04651bd9b65668ca1635a4625640639560 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 17 Jun 2017 18:59:17 -0400 Subject: add subtitle language detection --- .../TextEncoding/NLangDetect/ErrorCode.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Emby.Common.Implementations/TextEncoding/NLangDetect/ErrorCode.cs (limited to 'Emby.Common.Implementations/TextEncoding/NLangDetect/ErrorCode.cs') diff --git a/Emby.Common.Implementations/TextEncoding/NLangDetect/ErrorCode.cs b/Emby.Common.Implementations/TextEncoding/NLangDetect/ErrorCode.cs new file mode 100644 index 000000000..3ffd3b2d9 --- /dev/null +++ b/Emby.Common.Implementations/TextEncoding/NLangDetect/ErrorCode.cs @@ -0,0 +1,15 @@ +namespace NLangDetect.Core +{ + public enum ErrorCode + { + NoTextError, + FormatError, + FileLoadError, + DuplicateLangError, + NeedLoadProfileError, + CantDetectError, + CantOpenTrainData, + TrainDataFormatError, + InitParamError, + } +} -- cgit v1.2.3