From 285bcd3044d03a4402b695932ffa5f2be813da07 Mon Sep 17 00:00:00 2001 From: Inhong Date: Mon, 26 Nov 2018 10:21:00 +0900 Subject: [PATCH] Add new nlp feature (#567) --- pkg/PlatformFileList.txt | 2 +- src/Tizen.Nlp/Tizen.Nlp.csproj | 4 +++- src/Tizen.Nlp/Tizen.Nlp.sln | 22 ++++++++++++++++++++++ src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs | 6 +++++- 4 files changed, 31 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/Tizen.Nlp/Tizen.Nlp.sln mode change 100644 => 100755 src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs diff --git a/pkg/PlatformFileList.txt b/pkg/PlatformFileList.txt index 104e466..98bbe84 100755 --- a/pkg/PlatformFileList.txt +++ b/pkg/PlatformFileList.txt @@ -58,7 +58,7 @@ Tizen.Network.Nsd.dll #common #mobile #mobile-emul Tizen.Network.Smartcard.dll #mobile #mobile-emul #ivi #wearable Tizen.Network.WiFi.dll #common #mobile #mobile-emul #tv #ivi #wearable Tizen.Network.WiFiDirect.dll #common #mobile #tv #ivi -Tizen.Nlp.dll #common #mobile #mobile-emul #tv #wearable +Tizen.Nlp.dll #mobile #mobile-emul Tizen.NUI.dll #common #mobile #mobile-emul #tv #wearable Tizen.NUI.Wearable.dll #wearable Tizen.PhonenumberUtils.dll #mobile #mobile-emul #wearable diff --git a/src/Tizen.Nlp/Tizen.Nlp.csproj b/src/Tizen.Nlp/Tizen.Nlp.csproj index 1ac9515..7a4c6ea 100644 --- a/src/Tizen.Nlp/Tizen.Nlp.csproj +++ b/src/Tizen.Nlp/Tizen.Nlp.csproj @@ -5,7 +5,9 @@ + + - \ No newline at end of file + diff --git a/src/Tizen.Nlp/Tizen.Nlp.sln b/src/Tizen.Nlp/Tizen.Nlp.sln old mode 100644 new mode 100755 index 4e44df0..4baacfe --- a/src/Tizen.Nlp/Tizen.Nlp.sln +++ b/src/Tizen.Nlp/Tizen.Nlp.sln @@ -5,6 +5,12 @@ VisualStudioVersion = 15.0.27703.2035 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Nlp", "Tizen.Nlp.csproj", "{AE6ACB66-52B4-409B-9ED4-9BE172EB1309}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.Common", "..\Tizen.Applications.Common\Tizen.Applications.Common.csproj", "{19AC8BB3-9701-4F70-9E96-B6FD9626DEC8}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Log", "..\Tizen.Log\Tizen.Log.csproj", "{C35974D3-1694-4159-BDFF-5BC21998410D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen", "..\Tizen\Tizen.csproj", "{54ED95FD-7837-41F7-913C-3F6D9597B089}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +21,22 @@ Global {AE6ACB66-52B4-409B-9ED4-9BE172EB1309}.Debug|Any CPU.Build.0 = Debug|Any CPU {AE6ACB66-52B4-409B-9ED4-9BE172EB1309}.Release|Any CPU.ActiveCfg = Release|Any CPU {AE6ACB66-52B4-409B-9ED4-9BE172EB1309}.Release|Any CPU.Build.0 = Release|Any CPU + {19AC8BB3-9701-4F70-9E96-B6FD9626DEC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {19AC8BB3-9701-4F70-9E96-B6FD9626DEC8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {19AC8BB3-9701-4F70-9E96-B6FD9626DEC8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {19AC8BB3-9701-4F70-9E96-B6FD9626DEC8}.Release|Any CPU.Build.0 = Release|Any CPU + {C35974D3-1694-4159-BDFF-5BC21998410D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C35974D3-1694-4159-BDFF-5BC21998410D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C35974D3-1694-4159-BDFF-5BC21998410D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C35974D3-1694-4159-BDFF-5BC21998410D}.Release|Any CPU.Build.0 = Release|Any CPU + {54ED95FD-7837-41F7-913C-3F6D9597B089}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {54ED95FD-7837-41F7-913C-3F6D9597B089}.Debug|Any CPU.Build.0 = Debug|Any CPU + {54ED95FD-7837-41F7-913C-3F6D9597B089}.Release|Any CPU.ActiveCfg = Release|Any CPU + {54ED95FD-7837-41F7-913C-3F6D9597B089}.Release|Any CPU.Build.0 = Release|Any CPU + {75DA9762-1230-4492-A171-698FE2654767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {75DA9762-1230-4492-A171-698FE2654767}.Debug|Any CPU.Build.0 = Debug|Any CPU + {75DA9762-1230-4492-A171-698FE2654767}.Release|Any CPU.ActiveCfg = Release|Any CPU + {75DA9762-1230-4492-A171-698FE2654767}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs b/src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs old mode 100644 new mode 100755 index 3f7a70c..90baeed --- a/src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs +++ b/src/Tizen.Nlp/Tizen.Nlp/NaturalLanguageProcess.cs @@ -31,7 +31,7 @@ namespace Tizen.Nlp /// This class contains the methods in the NLP processing. /// /// 5 - public class NaturalLanguageProcess + public class NaturalLanguageProcess : IDisposable { private Message _msg; private Message.NotifyCb _noti = new Message.NotifyCb(); @@ -60,6 +60,10 @@ namespace Tizen.Nlp /// An construct method to init local env of NLP . /// /// 5 + /// + /// http://tizen.org/feature/nlp + /// + /// The required feature is not supported. public NaturalLanguageProcess() { _noti.Received += ResultReceived; -- 2.7.4