{"action":"created","comment":{"url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/comments/224316496","pull_request_review_id":163627034,"id":224316496,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDMxNjQ5Ng==","diff_hunk":"@@ -0,0 +1,223 @@\n+# Natural Language Processing (Nlp)\n+\n+\n+Nlp is a subset of natural language toolkit that specifies an interface and a protocol for basic natural language processing. Tizen enables you to use Natural Language Process (Nlp) functionalities, such as language detection, parts of speech, word toeknize, and entity detection. For more information, see the [nltk Forum](http://www.nltk.org/).\n+\n+The main features of the Tizen.Nlp namespace include:\n+\n+-   Word Tokenize suppport\n+\n+    You can get tokens from a sentence, the type of return is WordTokenizeResult.\n+\n+-   Part of Speech support\n+\n+    You can get tokens and tags from a sentence, the type of return is PosTagResult.\n+\n+-   Named Entity Detection support\n+\n+    You can get tokens and tags from a sentence, the type of return is NamedEntityRecognitionResult.\n+\n+-   Language Detect support\n+\n+    You can get language from a sentence, the type of return is LanguageDetectedResult.\n+\n+## Word Tokenize\n+This method break up the sentence into words and punctuation.\n+\n+\n+## Part of Speech\n+This method breaks up the sentence into words and punctuation with tags attributes.\n+\n+\n+## Named Entity Detection\n+This method breaks up the sentence into words and punctuation with tags attributes.\n+\n+\n+## Language Detect\n+This method is used to detect the language of a sentence.\n+\n+\n+## Prerequisites\n+\n+Enable your application to use the Nlp functionality:\n+\n+1.  Using the [Tizen.Nlp](https://developer.tizen.org/dev-guide/csapi/api/Tizen.Nlp.html) namespace, the application has to request permission by adding the following privileges to the `tizen-manifest.xml` file:\n+\n+    ```\n+    <privileges>\n+       <privilege>http://tizen.org/privilege/appmanager.launch</privilege>\n+       <privilege>http://tizen.org/privilege/datasharing</privilege>\n+    </privileges>\n+    ```\n+\n+2.  Using the methods and properties of the `Tizen.Nlp` namespace, include it in your application:\n+\n+    ```\n+    using Tizen.Nlp;\n+    ```\n+\n+## Receive Tokens and Tags - WordTokenize\n+\n+receive the tokens from sentence:\n+\n+1.  Construct NaturalLanguageProcess on OnCreate(), and connect the Nlp service on init of app:\n+\n+    ```\n+    protected override void OnCreate\n+    {\n+        ..\n+        nlp = new NaturalLanguageProcess();\n+        Task task = nlp.Connect();\n+        ..\n+    }\n+    ```\n+\n+2.  Call the WordTokenizeAsync(string msg) in a async task method:\n+\n+    ```\n+    public async Task OnTokenButtonPressedAsync(string msg)\n+    {\n+        ..\n+        var ret = nlp.WordTokenizeAsync(msg);\n+        WordTokenizeResult wr = await ret;\n+        ..\n+    }\n+    ```\n+\n+3.  When nlp object is no longer needed, call Dispose() to release the resource of Nlp:\n+\n+    ```\n+    protected override void OnTerminate()\n+        {\n+         ..\n+         nlp.Dispose();\n+         ..\n+        }\n+    ```\n+\n+\n+## Receive Tokens and Tags - PosTag\n+\n+receive the tokens and tags from sentence:","path":"docs/application/dotnet/guides/nlp/nlp.md","position":101,"original_position":101,"commit_id":"b0c0ebc8344c78b1711a126786366d99a8672b8d","original_commit_id":"b0c0ebc8344c78b1711a126786366d99a8672b8d","user":{"login":"mijin85cho","id":9958374,"node_id":"MDQ6VXNlcjk5NTgzNzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9958374?v=4","gravatar_id":"","url":"https://api.github.com/users/mijin85cho","html_url":"https://github.com/mijin85cho","followers_url":"https://api.github.com/users/mijin85cho/followers","following_url":"https://api.github.com/users/mijin85cho/following{/other_user}","gists_url":"https://api.github.com/users/mijin85cho/gists{/gist_id}","starred_url":"https://api.github.com/users/mijin85cho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mijin85cho/subscriptions","organizations_url":"https://api.github.com/users/mijin85cho/orgs","repos_url":"https://api.github.com/users/mijin85cho/repos","events_url":"https://api.github.com/users/mijin85cho/events{/privacy}","received_events_url":"https://api.github.com/users/mijin85cho/received_events","type":"User","site_admin":false},"body":"Receive\r\n\r\n@divyk, why are you breaking grammar?\r\nPlease start setences with capital letters.","created_at":"2018-10-11T05:13:15Z","updated_at":"2018-10-11T05:42:20Z","html_url":"https://github.com/Samsung/tizen-docs/pull/412#discussion_r224316496","pull_request_url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/comments/224316496"},"html":{"href":"https://github.com/Samsung/tizen-docs/pull/412#discussion_r224316496"},"pull_request":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412"}}},"pull_request":{"url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412","id":221286505,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMjg2NTA1","html_url":"https://github.com/Samsung/tizen-docs/pull/412","diff_url":"https://github.com/Samsung/tizen-docs/pull/412.diff","patch_url":"https://github.com/Samsung/tizen-docs/pull/412.patch","issue_url":"https://api.github.com/repos/Samsung/tizen-docs/issues/412","number":412,"state":"open","locked":false,"title":"Add document for Nlp","user":{"login":"zg2nets","id":40655877,"node_id":"MDQ6VXNlcjQwNjU1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/40655877?v=4","gravatar_id":"","url":"https://api.github.com/users/zg2nets","html_url":"https://github.com/zg2nets","followers_url":"https://api.github.com/users/zg2nets/followers","following_url":"https://api.github.com/users/zg2nets/following{/other_user}","gists_url":"https://api.github.com/users/zg2nets/gists{/gist_id}","starred_url":"https://api.github.com/users/zg2nets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zg2nets/subscriptions","organizations_url":"https://api.github.com/users/zg2nets/orgs","repos_url":"https://api.github.com/users/zg2nets/repos","events_url":"https://api.github.com/users/zg2nets/events{/privacy}","received_events_url":"https://api.github.com/users/zg2nets/received_events","type":"User","site_admin":false},"body":"### Change Description ###\r\n\r\nAdd guide for Nlp api usage\r\n\r\n### API Changes ###\r\n\r\n - ACR: ACR-169\r\nhttp://suprem.sec.samsung.net/jira/browse/TCSACR-169\r\n\r\n","created_at":"2018-10-09T01:51:09Z","updated_at":"2018-10-11T05:42:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f64ba4e3fccd62e659d000f86dc18931cd4c052b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"annie-samsung","id":34763817,"node_id":"MDQ6VXNlcjM0NzYzODE3","avatar_url":"https://avatars0.githubusercontent.com/u/34763817?v=4","gravatar_id":"","url":"https://api.github.com/users/annie-samsung","html_url":"https://github.com/annie-samsung","followers_url":"https://api.github.com/users/annie-samsung/followers","following_url":"https://api.github.com/users/annie-samsung/following{/other_user}","gists_url":"https://api.github.com/users/annie-samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/annie-samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annie-samsung/subscriptions","organizations_url":"https://api.github.com/users/annie-samsung/orgs","repos_url":"https://api.github.com/users/annie-samsung/repos","events_url":"https://api.github.com/users/annie-samsung/events{/privacy}","received_events_url":"https://api.github.com/users/annie-samsung/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412/commits","review_comments_url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412/comments","review_comment_url":"https://api.github.com/repos/Samsung/tizen-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Samsung/tizen-docs/issues/412/comments","statuses_url":"https://api.github.com/repos/Samsung/tizen-docs/statuses/b0c0ebc8344c78b1711a126786366d99a8672b8d","head":{"label":"zg2nets:tizen_5.0_prepare","ref":"tizen_5.0_prepare","sha":"b0c0ebc8344c78b1711a126786366d99a8672b8d","user":{"login":"zg2nets","id":40655877,"node_id":"MDQ6VXNlcjQwNjU1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/40655877?v=4","gravatar_id":"","url":"https://api.github.com/users/zg2nets","html_url":"https://github.com/zg2nets","followers_url":"https://api.github.com/users/zg2nets/followers","following_url":"https://api.github.com/users/zg2nets/following{/other_user}","gists_url":"https://api.github.com/users/zg2nets/gists{/gist_id}","starred_url":"https://api.github.com/users/zg2nets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zg2nets/subscriptions","organizations_url":"https://api.github.com/users/zg2nets/orgs","repos_url":"https://api.github.com/users/zg2nets/repos","events_url":"https://api.github.com/users/zg2nets/events{/privacy}","received_events_url":"https://api.github.com/users/zg2nets/received_events","type":"User","site_admin":false},"repo":{"id":152022274,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwMjIyNzQ=","name":"tizen-docs","full_name":"zg2nets/tizen-docs","private":false,"owner":{"login":"zg2nets","id":40655877,"node_id":"MDQ6VXNlcjQwNjU1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/40655877?v=4","gravatar_id":"","url":"https://api.github.com/users/zg2nets","html_url":"https://github.com/zg2nets","followers_url":"https://api.github.com/users/zg2nets/followers","following_url":"https://api.github.com/users/zg2nets/following{/other_user}","gists_url":"https://api.github.com/users/zg2nets/gists{/gist_id}","starred_url":"https://api.github.com/users/zg2nets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zg2nets/subscriptions","organizations_url":"https://api.github.com/users/zg2nets/orgs","repos_url":"https://api.github.com/users/zg2nets/repos","events_url":"https://api.github.com/users/zg2nets/events{/privacy}","received_events_url":"https://api.github.com/users/zg2nets/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zg2nets/tizen-docs","description":"This project is for writing Tizen documents for platform and application developers. The documents will be published to the new Tizen portal site.","fork":true,"url":"https://api.github.com/repos/zg2nets/tizen-docs","forks_url":"https://api.github.com/repos/zg2nets/tizen-docs/forks","keys_url":"https://api.github.com/repos/zg2nets/tizen-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zg2nets/tizen-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zg2nets/tizen-docs/teams","hooks_url":"https://api.github.com/repos/zg2nets/tizen-docs/hooks","issue_events_url":"https://api.github.com/repos/zg2nets/tizen-docs/issues/events{/number}","events_url":"https://api.github.com/repos/zg2nets/tizen-docs/events","assignees_url":"https://api.github.com/repos/zg2nets/tizen-docs/assignees{/user}","branches_url":"https://api.github.com/repos/zg2nets/tizen-docs/branches{/branch}","tags_url":"https://api.github.com/repos/zg2nets/tizen-docs/tags","blobs_url":"https://api.github.com/repos/zg2nets/tizen-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zg2nets/tizen-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zg2nets/tizen-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zg2nets/tizen-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zg2nets/tizen-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/zg2nets/tizen-docs/languages","stargazers_url":"https://api.github.com/repos/zg2nets/tizen-docs/stargazers","contributors_url":"https://api.github.com/repos/zg2nets/tizen-docs/contributors","subscribers_url":"https://api.github.com/repos/zg2nets/tizen-docs/subscribers","subscription_url":"https://api.github.com/repos/zg2nets/tizen-docs/subscription","commits_url":"https://api.github.com/repos/zg2nets/tizen-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zg2nets/tizen-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zg2nets/tizen-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zg2nets/tizen-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zg2nets/tizen-docs/contents/{+path}","compare_url":"https://api.github.com/repos/zg2nets/tizen-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zg2nets/tizen-docs/merges","archive_url":"https://api.github.com/repos/zg2nets/tizen-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zg2nets/tizen-docs/downloads","issues_url":"https://api.github.com/repos/zg2nets/tizen-docs/issues{/number}","pulls_url":"https://api.github.com/repos/zg2nets/tizen-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/zg2nets/tizen-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/zg2nets/tizen-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zg2nets/tizen-docs/labels{/name}","releases_url":"https://api.github.com/repos/zg2nets/tizen-docs/releases{/id}","deployments_url":"https://api.github.com/repos/zg2nets/tizen-docs/deployments","created_at":"2018-10-08T05:19:32Z","updated_at":"2018-10-08T05:19:42Z","pushed_at":"2018-10-11T02:10:57Z","git_url":"git://github.com/zg2nets/tizen-docs.git","ssh_url":"git@github.com:zg2nets/tizen-docs.git","clone_url":"https://github.com/zg2nets/tizen-docs.git","svn_url":"https://github.com/zg2nets/tizen-docs","homepage":"","size":577441,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Samsung:tizen_5.0_prepare","ref":"tizen_5.0_prepare","sha":"e16b72e10fbc1bb7d5a8adca629b5271d408f002","user":{"login":"Samsung","id":6210390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMTAzOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"repo":{"id":97676565,"node_id":"MDEwOlJlcG9zaXRvcnk5NzY3NjU2NQ==","name":"tizen-docs","full_name":"Samsung/tizen-docs","private":false,"owner":{"login":"Samsung","id":6210390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMTAzOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Samsung/tizen-docs","description":"This project is for writing Tizen documents for platform and application developers. The documents will be published to the new Tizen portal site.","fork":false,"url":"https://api.github.com/repos/Samsung/tizen-docs","forks_url":"https://api.github.com/repos/Samsung/tizen-docs/forks","keys_url":"https://api.github.com/repos/Samsung/tizen-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Samsung/tizen-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Samsung/tizen-docs/teams","hooks_url":"https://api.github.com/repos/Samsung/tizen-docs/hooks","issue_events_url":"https://api.github.com/repos/Samsung/tizen-docs/issues/events{/number}","events_url":"https://api.github.com/repos/Samsung/tizen-docs/events","assignees_url":"https://api.github.com/repos/Samsung/tizen-docs/assignees{/user}","branches_url":"https://api.github.com/repos/Samsung/tizen-docs/branches{/branch}","tags_url":"https://api.github.com/repos/Samsung/tizen-docs/tags","blobs_url":"https://api.github.com/repos/Samsung/tizen-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Samsung/tizen-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Samsung/tizen-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Samsung/tizen-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Samsung/tizen-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Samsung/tizen-docs/languages","stargazers_url":"https://api.github.com/repos/Samsung/tizen-docs/stargazers","contributors_url":"https://api.github.com/repos/Samsung/tizen-docs/contributors","subscribers_url":"https://api.github.com/repos/Samsung/tizen-docs/subscribers","subscription_url":"https://api.github.com/repos/Samsung/tizen-docs/subscription","commits_url":"https://api.github.com/repos/Samsung/tizen-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Samsung/tizen-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Samsung/tizen-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Samsung/tizen-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Samsung/tizen-docs/contents/{+path}","compare_url":"https://api.github.com/repos/Samsung/tizen-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Samsung/tizen-docs/merges","archive_url":"https://api.github.com/repos/Samsung/tizen-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Samsung/tizen-docs/downloads","issues_url":"https://api.github.com/repos/Samsung/tizen-docs/issues{/number}","pulls_url":"https://api.github.com/repos/Samsung/tizen-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Samsung/tizen-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Samsung/tizen-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Samsung/tizen-docs/labels{/name}","releases_url":"https://api.github.com/repos/Samsung/tizen-docs/releases{/id}","deployments_url":"https://api.github.com/repos/Samsung/tizen-docs/deployments","created_at":"2017-07-19T05:35:09Z","updated_at":"2018-10-09T04:18:32Z","pushed_at":"2018-10-11T02:10:58Z","git_url":"git://github.com/Samsung/tizen-docs.git","ssh_url":"git@github.com:Samsung/tizen-docs.git","clone_url":"https://github.com/Samsung/tizen-docs.git","svn_url":"https://github.com/Samsung/tizen-docs","homepage":"","size":577444,"stargazers_count":25,"watchers_count":25,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":107,"open_issues":24,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412"},"html":{"href":"https://github.com/Samsung/tizen-docs/pull/412"},"issue":{"href":"https://api.github.com/repos/Samsung/tizen-docs/issues/412"},"comments":{"href":"https://api.github.com/repos/Samsung/tizen-docs/issues/412/comments"},"review_comments":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412/comments"},"review_comment":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Samsung/tizen-docs/pulls/412/commits"},"statuses":{"href":"https://api.github.com/repos/Samsung/tizen-docs/statuses/b0c0ebc8344c78b1711a126786366d99a8672b8d"}},"author_association":"NONE"}}
{"actor":{"display_login":"mijin85cho"}}