platform/core/uifw/nlp.git
3 years agoAdd NLP unittests 26/246026/1 tizen_5.5
Jihoon Kim [Tue, 20 Oct 2020 12:33:29 +0000 (21:33 +0900)]
Add NLP unittests

root@localhost:~# /usr/bin/nlp_unittests
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from NlpServiceTest
[ RUN      ] NlpServiceTest.utc_nlp_service_tokenize_p
token: 'I'
token: 'am'
token: 'a'
token: 'boy'
word_tokenize process done
[       OK ] NlpServiceTest.utc_nlp_service_tokenize_p (5015 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_language_detect_p
Detected language: en
[       OK ] NlpServiceTest.utc_nlp_service_language_detect_p (79 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_pos_tag_p
tag : NNP
tag : NNP
[       OK ] NlpServiceTest.utc_nlp_service_pos_tag_p (2066 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_ne_chunk_p
tag: PRP
token: We
tag: VBD
token: saw
tag: DT
token: the
tag: JJ
token: yellow
tag: NN
token: dog
ne_chunk process done
[       OK ] NlpServiceTest.utc_nlp_service_ne_chunk_p (2138 ms)
[----------] 4 tests from NlpServiceTest (9299 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (9300 ms total)
[  PASSED  ] 4 tests.

Change-Id: I8f82875e4ea0c9351a8335976af4967a7daf1673
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoUpdate package version to 0.1.10 36/199036/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.015233 accepted/tizen/5.5/unified/mobile/hotfix/20201027.075344 accepted/tizen/5.5/unified/wearable/hotfix/20201027.110424 accepted/tizen/6.0/unified/20201030.113222 accepted/tizen/6.0/unified/hotfix/20201102.235406 accepted/tizen/unified/20190207.120305 submit/tizen/20190201.023228 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 submit/tizen_5.5_wearable_hotfix/20201026.184305 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_5.5.m2_release tizen_6.0.m2_release
Jihoon Kim [Fri, 1 Feb 2019 02:28:23 +0000 (11:28 +0900)]
Update package version to 0.1.10

Change-Id: I90a8bde36a929a86efe027fc9ea72433069050ba
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoremove unused function nltk_get_attribute 82/192382/1
xiaochn.wang [Mon, 5 Nov 2018 06:33:54 +0000 (14:33 +0800)]
remove unused function nltk_get_attribute

Change-Id: I99fee4720513c68d7ca626b460a465f9e4b815df

5 years agodelete the icon tag in the org.tizen.nlp.service.xml 73/192273/2
jingjin.geng [Fri, 2 Nov 2018 17:57:36 +0000 (01:57 +0800)]
delete the icon tag in the org.tizen.nlp.service.xml

Change-Id: I40fb27841a3ffaff8f5b6b29f345e68bbc03a9d2

5 years agoUse PERR() instead of dlog_print. 72/192272/3
Xie Ligang [Fri, 2 Nov 2018 01:43:58 +0000 (09:43 +0800)]
Use PERR() instead of dlog_print.

Change-Id: I46a397fa928d273e730becffbd87d51cb3294208
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoFix typo in function name 90/190190/2
Jihoon Kim [Fri, 28 Sep 2018 05:48:56 +0000 (14:48 +0900)]
Fix typo in function name

Change-Id: I4a79226ec8886a117907aaeb5c08c681716bf42a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoUpdate package version to 0.1.9 46/190046/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.022452 accepted/tizen/unified/20180927.073754 submit/tizen/20180927.010805 submit/tizen_5.0/20181101.000005
Jihoon Kim [Thu, 27 Sep 2018 01:06:36 +0000 (10:06 +0900)]
Update package version to 0.1.9

Change-Id: Id65bd659d98443984cb6b7c53247598a7c5ccd25
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoDelete the feature about lemmatize 72/189572/2
jingjin.geng [Wed, 19 Sep 2018 17:04:02 +0000 (01:04 +0800)]
Delete the feature about lemmatize

Change-Id: Id8fb65a0b0d4ddc363e2e1aee980bad49aa660d1

5 years agoMake the time to kill service itself up to 3 min. 05/189605/3
Xie Ligang [Wed, 19 Sep 2018 07:01:29 +0000 (15:01 +0800)]
Make the time to kill service itself up to 3 min.

Change-Id: I3abc5815175e17289452ff6337d0a62325df669a
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoUpdate package version to 0.1.8 26/189526/1 accepted/tizen/unified/20180919.061644 submit/tizen/20180918.094612 submit/tizen/20180919.020854
Jihoon Kim [Tue, 18 Sep 2018 09:43:18 +0000 (18:43 +0900)]
Update package version to 0.1.8

Change-Id: I7722b4cc130a1e0c6ef29656dc5d39d61dc302b1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoRemove unused definition 25/189525/1
Jihoon Kim [Tue, 18 Sep 2018 09:38:36 +0000 (18:38 +0900)]
Remove unused definition

Change-Id: I0f3c7b6b1a0b4c3c8bca113bda9ea42a88fcfbae
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix wrong index of tag and token 01/189501/1
zhangzg [Tue, 18 Sep 2018 07:41:45 +0000 (15:41 +0800)]
Fix wrong index of tag and token

Change-Id: Ie0799a672bef5950657a3651bd142f4093091542

5 years agoFix build warnning 50/189450/1
jingjin.geng [Tue, 18 Sep 2018 18:48:11 +0000 (02:48 +0800)]
Fix build warnning

Change-Id: I30eac8bf3f8e4b79593d4c00aaadde4b8de0203a

5 years agoUpdate package version to 0.1.7 82/189382/1 accepted/tizen/unified/20180918.062955 submit/tizen/20180917.233449
Jihoon Kim [Mon, 17 Sep 2018 09:31:27 +0000 (18:31 +0900)]
Update package version to 0.1.7

Change-Id: I787a68ed81922ac351c5cb8275ee3853d071ed50
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix issues detected by static analysis tool 06/189306/4
jingjin.geng [Mon, 17 Sep 2018 19:18:03 +0000 (03:18 +0800)]
Fix issues detected by static analysis tool

Change-Id: I1aed65dbd879c2685d40c65eec21f101528575ad

5 years agoFix the wrong process of lemmatize function. 07/189207/4
Xie Ligang [Fri, 14 Sep 2018 07:34:24 +0000 (15:34 +0800)]
Fix the wrong process of lemmatize function.

Change-Id: Ie68124a1de70301e919911ef2ce20f16c9d25a77
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agofix build warnning 53/189153/1
jingjin.geng [Fri, 14 Sep 2018 18:30:55 +0000 (02:30 +0800)]
fix build warnning

Change-Id: If4e9c7bddfb15292c9cc8fbe417e729151304be3

5 years agoAdd Timer to stop the service when it's not needed. 25/188825/8
Xie Ligang [Tue, 11 Sep 2018 01:43:10 +0000 (09:43 +0800)]
Add Timer to stop the service when it's not needed.

Change-Id: I3a6d80ee03ad959efaeca0bb3053ba1ff36c4ba4
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoUpdate package version to 0.1.6 54/188754/1 accepted/tizen/unified/20180910.172109 submit/tizen/20180910.051935
Jihoon Kim [Mon, 10 Sep 2018 05:18:42 +0000 (14:18 +0900)]
Update package version to 0.1.6

Change-Id: If6c1494b0fede0eb4edc5e86c54e3aeaa9b98964
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agomodified service boot from auto to manual 53/188753/1
xiaochn.wang [Mon, 10 Sep 2018 05:13:11 +0000 (13:13 +0800)]
modified service boot from auto to manual

Change-Id: I216dae0511810b9fa8aa17a0cce0cd0c21eaa3bc

5 years agoAdd as-needed link option 89/188689/2
Jihoon Kim [Fri, 7 Sep 2018 09:26:34 +0000 (18:26 +0900)]
Add as-needed link option

Change-Id: Ibb1ce90c0365832759d0b2419309a7f00abf7210
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoRemove unncessary ldconfig 90/188690/2
Jihoon Kim [Fri, 7 Sep 2018 09:29:11 +0000 (18:29 +0900)]
Remove unncessary ldconfig

there is no library in this package, so it's unnecessary.

Change-Id: I725cb005ccc71dd4d88d82f719a3d42f704453c7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoUpdate package version to 0.1.5 86/188686/1 submit/tizen/20180907.090507
Jihoon Kim [Fri, 7 Sep 2018 09:04:04 +0000 (18:04 +0900)]
Update package version to 0.1.5

Change-Id: Iec2e1cbcc82f079e8788085ce2660dd7c7fba612
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix the issue which the service can't be loaded at first time. 83/188583/5
Xie Ligang [Thu, 6 Sep 2018 08:54:57 +0000 (16:54 +0800)]
Fix the issue which the service can't be loaded at first time.

Change-Id: I74adad76c103cbc368638e88c3ae1ae32fa69f01
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoImprove nlp service code 56/188156/3
zhangzg [Sat, 1 Sep 2018 12:10:39 +0000 (20:10 +0800)]
Improve nlp service code

1.make function for each nltk api
2.add Py_DECREF(X) for reduce reference counting

Change-Id: I11bfc3d2f7e3b1f75d970531f0b9063a439622c7

5 years agoUpdate package version to 0.1.4 06/187906/2 accepted/tizen/unified/20180830.182718 submit/tizen/20180830.013953
Jihoon Kim [Wed, 29 Aug 2018 09:42:00 +0000 (18:42 +0900)]
Update package version to 0.1.4

Change-Id: I6baa80033db3fb06eb89c30f72dd487fa088411f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix typo in warning message 47/187947/3
Jihoon Kim [Wed, 29 Aug 2018 23:54:31 +0000 (08:54 +0900)]
Fix typo in warning message

Change-Id: I53513649afe9abfd332fbde5beead4260b69f213
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix svace issue : source code might be unreachable during program execution 54/187954/1
zhangzg [Thu, 30 Aug 2018 01:24:54 +0000 (09:24 +0800)]
Fix svace issue : source code might be unreachable during program execution

Change-Id: Iecbd3161e40eabba3b1808bed915d8c85aa9c658

5 years agoFix svace issue of NLP 86/187886/1
jingjin.geng [Wed, 29 Aug 2018 23:31:36 +0000 (07:31 +0800)]
Fix svace issue of NLP
memory leak

Change-Id: I3dfa0f791b2fa77405c474c9bd21c5ba435b961f

5 years agoUpdate package version to 0.1.3 61/187861/1 accepted/tizen/unified/20180829.142926 submit/tizen/20180829.052447
Jihoon Kim [Wed, 29 Aug 2018 05:16:28 +0000 (14:16 +0900)]
Update package version to 0.1.3

Change-Id: I48a0366e5a3840d0497387f02fbfbb6d3c065bd9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix svace issue of NLP 00/187700/11
jingjin.geng [Tue, 28 Aug 2018 19:50:07 +0000 (03:50 +0800)]
Fix svace issue of NLP

Use strncpy instead of strcpy

Change-Id: I5b7a34fcf9d346778d89d774eed1fab6051527a2

5 years agoUpdate package version to 0.1.2 12/187612/1 accepted/tizen/unified/20180827.071715 submit/tizen/20180827.011733
Jihoon Kim [Mon, 27 Aug 2018 00:14:08 +0000 (09:14 +0900)]
Update package version to 0.1.2

Change-Id: I70aee694364a5144a0a1170c297e3c23795632dc
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoAdd python-six dependency 11/187611/1
Jihoon Kim [Mon, 27 Aug 2018 00:09:16 +0000 (09:09 +0900)]
Add python-six dependency

Change-Id: Ie24911eb7a17fc53951546a8ee80e8ecfd7be005
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoAdd request id for nlp service 05/187605/1
zhangzg [Sat, 25 Aug 2018 06:45:16 +0000 (14:45 +0800)]
Add request id for nlp service

Change-Id: Id344dd0a79ecbfa38750ce25d3b99dbebc00e539

5 years agoAdd python xml dependency 04/187604/1
zhangzg [Sat, 25 Aug 2018 00:49:38 +0000 (08:49 +0800)]
Add python xml dependency

Change-Id: I3b18a4f8244c007ea42520320749539bf522e220

5 years agoUpdate package version to 0.1.1 30/187530/1 accepted/tizen/unified/20180824.062743 submit/tizen/20180824.012751
Jihoon Kim [Fri, 24 Aug 2018 01:26:10 +0000 (10:26 +0900)]
Update package version to 0.1.1

Change-Id: Ib55d54f3de02e0ba9e5d85af3fe9f8dca04c69a7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoAdd python numpy dependency 29/187529/1
Jihoon Kim [Fri, 24 Aug 2018 01:21:49 +0000 (10:21 +0900)]
Add python numpy dependency

Change-Id: I0754e444be83d12c34269514b84eb8fd03431d63
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoFix build error on 64bit 99/187299/1 accepted/tizen/unified/20180822.093847 submit/tizen/20180821.231644
Jihoon Kim [Tue, 21 Aug 2018 23:44:53 +0000 (08:44 +0900)]
Fix build error on 64bit

Change-Id: I746097ae93cd0f0dba2f28b11f952fcbd7e9d3a6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agodelete client folder 71/186971/2
jingjin.geng [Fri, 17 Aug 2018 19:08:29 +0000 (03:08 +0800)]
delete client folder

Change-Id: I726df4f3b4ae14b40cc490071484d8ba6200f59e

5 years agodelete some Non-english related resource data 91/185491/2
jingjin.geng [Tue, 31 Jul 2018 22:36:12 +0000 (06:36 +0800)]
delete some Non-english related resource data

Change-Id: Ic4558376c7c5f02cddb42edaceef68e6ab862636

5 years agoSeparate English data resource files as package 79/185479/3
Jihoon Kim [Tue, 31 Jul 2018 04:35:01 +0000 (13:35 +0900)]
Separate English data resource files as package

Change-Id: I9352ce7e39a6d0bc1eafd9040c2f0f2484dbdcdc
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoimprove the nlp service code 79/185379/5
zhangzg [Mon, 30 Jul 2018 05:40:44 +0000 (13:40 +0800)]
improve the nlp service code

1.improve log
2.add null check for input parameter

Change-Id: Id6dc656bac4f222f3c6498679ce95ef3e32ac737

5 years agoUpdate the service, replace message-port with tidl. 66/185066/10
Xie Ligang [Thu, 26 Jul 2018 00:43:00 +0000 (08:43 +0800)]
Update the service, replace message-port with tidl.

Change-Id: I696d80d885a485b589f5f5bd35495ece2af500f2
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoimprove nltk service code 18/184318/5
zhangzg [Tue, 17 Jul 2018 07:35:58 +0000 (15:35 +0800)]
improve nltk service code

1.remove useless code
2.use enum to describe nltk cmd

Change-Id: I309cad0c80e9e72149d4db49fe6554e9db94ef26

5 years agoAdd chunkers, corpora, grammars, taggers and tokenizers resources 03/184203/5
jingjin.geng [Tue, 17 Jul 2018 00:45:45 +0000 (08:45 +0800)]
Add chunkers, corpora, grammars, taggers and tokenizers resources

Change-Id: I2565ed4b324c4ffa3e9edf246cc1d528127d106a

5 years agoupdate service source code according to CAPI naming rule 76/184276/2
zhangzg [Tue, 17 Jul 2018 02:10:30 +0000 (10:10 +0800)]
update service source code according to CAPI naming rule

Change-Id: I0a631651e41b6905285bd9cd1189f035a821b805

5 years agoadd the nlp resource data -- nltk(base nltk package) 44/184144/2
jingjin.geng [Mon, 16 Jul 2018 19:09:58 +0000 (03:09 +0800)]
add the nlp resource data -- nltk(base nltk  package)

Change-Id: Ica4dbe967dc2a9e22a8bd07bc39fa7e77572823d

5 years agoadd the nlp resource data -- langdetect 97/183997/3
jingjin.geng [Fri, 13 Jul 2018 19:32:15 +0000 (03:32 +0800)]
add the nlp resource data -- langdetect

Change-Id: Ida3cb169df2768bed7c5742cc25070a64a36368c

5 years agoFix formatting 74/184074/1
Jihoon Kim [Fri, 13 Jul 2018 09:24:52 +0000 (18:24 +0900)]
Fix formatting

Change-Id: Icab66fa9e1dbf2dc320738439615583045073770
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoUpload the nlp daemon 20/183820/5
Xie Ligang [Wed, 11 Jul 2018 08:21:10 +0000 (16:21 +0800)]
Upload the nlp daemon

Change-Id: Iccf4c453e82c8fc6a894a07df37ab87967003b1d
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoUpdate description 91/183791/1
Jihoon Kim [Wed, 11 Jul 2018 06:00:47 +0000 (15:00 +0900)]
Update description

Change-Id: If44e209de728f3dd8d133532aced4598196105d9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agochange the project name and add the subdirectory 72/183772/2
jingjin.geng [Wed, 11 Jul 2018 17:59:59 +0000 (01:59 +0800)]
change the project name and add the subdirectory

Change-Id: Ib0aa389df52223bb15b05d395ba3bb2111f9e78f

5 years agoAdd files to support gbs build 06/183606/4
Xie Ligang [Mon, 9 Jul 2018 03:40:10 +0000 (11:40 +0800)]
Add files to support gbs build

Change-Id: I53b9bec52ba72ab912d486bad95c357beab91ed1
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
5 years agoupdate source according to CAPI naming rule 03/183303/4
zhangzg [Wed, 4 Jul 2018 08:18:47 +0000 (16:18 +0800)]
update source according to CAPI naming rule

Change-Id: If3af7c2af50bef8234d8531735dc7e8ed50ab408

5 years ago move into root directory without nltk_native_library 51/183151/1
jingjin.geng [Tue, 3 Jul 2018 18:49:08 +0000 (02:49 +0800)]
 move into root directory without nltk_native_library

Change-Id: I1e881c3824bf899407645752bc60ce0de52268ae

5 years agoremove c# API repository 11/182811/2
xiaochn.wang [Thu, 28 Jun 2018 07:04:09 +0000 (15:04 +0800)]
remove c# API repository

Change-Id: Ifd05b7aa538e402f148ab338ace9991094357ac7

5 years agoFix coding style 44/182044/3
Jihoon Kim [Wed, 20 Jun 2018 04:49:14 +0000 (13:49 +0900)]
Fix coding style

Change-Id: I5ea491fcfad467f2e0ab4926df6ddc5b404c4db2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoupload nlp csharp library source and demo code 83/179983/8
xiaochn.wang [Thu, 24 May 2018 01:07:46 +0000 (09:07 +0800)]
upload nlp csharp library source and demo code

Change-Id: Iac2b03477432ebcf820cacd89ec2968097a3d132
Signed-off-by: xiaochn.wang <xiaochn.wang@samsung.com>
5 years agoadd native library source code about nltk 26/180126/10
xiaochn.wang [Fri, 25 May 2018 04:42:28 +0000 (12:42 +0800)]
add native library source code about nltk

Change-Id: Ia79db91a8333e9975a1669cecfe02b3d32353bac
Signed-off-by: xiaochn.wang <xiaochn.wang@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Wed, 23 May 2018 10:06:12 +0000 (10:06 +0000)]
Initial empty repository