platform/core/uifw/nlp.git
2 years agoVersion up(1.0.3) 90/275390/1 accepted/tizen/unified/20220525.010138 submit/tizen/20220524.051852
Jihoon Kim [Tue, 24 May 2022 05:39:39 +0000 (14:39 +0900)]
Version up(1.0.3)

Change-Id: I45d839ce29f7bfd96acaf34bf2d7fa2804446981
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoFix so name issue 30/275330/2
Jihoon Kim [Sat, 21 May 2022 14:44:59 +0000 (23:44 +0900)]
Fix so name issue

Change-Id: If2cac5d4aa5c08665d011e063ff490c86e57271f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoCheck the each value after executing CAPI unittests 96/275096/3
Jihoon Kim [Mon, 16 May 2022 13:18:39 +0000 (22:18 +0900)]
Check the each value after executing CAPI unittests

Change-Id: I7e4d69f29c9ef403dfc76b6e9cf93058746198e8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoApply new gcov policy 86/275086/3
Jihoon Kim [Mon, 16 May 2022 11:20:52 +0000 (20:20 +0900)]
Apply new gcov policy

- Apply of tree type gcov structure
- Create run-unittest.sh

Change-Id: I28c42878df5a423aeafcfd0b632aeeef028b7baf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoDisable to execute unittest in building time 85/275085/1
Jihoon Kim [Mon, 16 May 2022 11:12:20 +0000 (20:12 +0900)]
Disable to execute unittest in building time

Change-Id: Ifda5dcab3f1f6b693c247c5d684e1e7fa41e74a3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoAdd language detect and word tokenize CAPI 36/275036/4
Jihoon Kim [Fri, 13 May 2022 12:24:21 +0000 (21:24 +0900)]
Add language detect and word tokenize CAPI

root:~> nlp-unittests
[==========] Running 10 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from NlpCAPITest
[ RUN      ] NlpCAPITest.utc_nlp_connect_invalid_parameter
[       OK ] NlpCAPITest.utc_nlp_connect_invalid_parameter (2 ms)
[ RUN      ] NlpCAPITest.utc_nlp_connect_p
start loop
status : 0
Request language detect. str(Hello World)
request id : 0
start loop
[language_detect_result_cb] request id: 1. language: en
quit loop
Request language detect. str(안녕하세요)
request id : 0
start loop
[language_detect_result_cb] request id: 2. language: ko
quit loop
Request Pos tag. str(Hello World)
request id : 3
start loop
[pos_tag_result_cb] request id: 3
token: Hello, tag: NNP
token: World, tag: NNP
quit loop
Request word tokenize. str(Hello World)
request id : 4
start loop
[word_tokenize_result_cb] request id: 4
[word_tokenize_foreach_cb] word(Hello)
[word_tokenize_foreach_cb] word(World)
quit loop
[       OK ] NlpCAPITest.utc_nlp_connect_p (4282 ms)
[ RUN      ] NlpCAPITest.utc_nlp_foreach_pos_tag_invalid_parameter
[       OK ] NlpCAPITest.utc_nlp_foreach_pos_tag_invalid_parameter (0 ms)
[ RUN      ] NlpCAPITest.utc_nlp_request_word_tokenize_invalid_parameter
[       OK ] NlpCAPITest.utc_nlp_request_word_tokenize_invalid_parameter (0 ms)
[ RUN      ] NlpCAPITest.utc_nlp_foreach_word_tokenize_invalid_parameter
[       OK ] NlpCAPITest.utc_nlp_foreach_word_tokenize_invalid_parameter (0 ms)
[ RUN      ] NlpCAPITest.utc_nlp_request_language_detect_invalid_parameter
[       OK ] NlpCAPITest.utc_nlp_request_language_detect_invalid_parameter (0 ms)
[----------] 6 tests from NlpCAPITest (4285 ms total)

[----------] 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 (1049 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_language_detect_p
Detected language: en
[       OK ] NlpServiceTest.utc_nlp_service_language_detect_p (1247 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_pos_tag_p
tag : NNP
tag : NNP
[       OK ] NlpServiceTest.utc_nlp_service_pos_tag_p (432 ms)
[ RUN      ] NlpServiceTest.utc_nlp_service_ne_chunk_p
token: We
tag: PRP
token: saw
tag: VBD
token: the
tag: DT
token: yellow
tag: JJ
token: dog
tag: NN
ne_chunk process done
[       OK ] NlpServiceTest.utc_nlp_service_ne_chunk_p (344 ms)
[----------] 4 tests from NlpServiceTest (3072 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 2 test suites ran. (7357 ms total)
[  PASSED  ] 10 tests.

Change-Id: I3bc77f6e60aa500e2363fad83d4ffdea6775d67b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoSupport NLP CAPI 75/274575/10
Jihoon Kim [Mon, 2 May 2022 01:34:45 +0000 (10:34 +0900)]
Support NLP CAPI

[==========] Running 7 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from NlpCAPITest
[ RUN      ] NlpCAPITest.utc_nlp_connect_n
[       OK ] NlpCAPITest.utc_nlp_connect_n (2 ms)
[ RUN      ] NlpCAPITest.utc_nlp_connect_p
status : 0
request id : 1
tag: NNP, token : Hello
tag: NNP, token : World
request id: 1
token : Hello, tag : NNPtoken: Hello, tag: NNP
token : World, tag : NNPtoken: World, tag: NNP
[       OK ] NlpCAPITest.utc_nlp_connect_p (12982 ms)
[ RUN      ] NlpCAPITest.utc_nlp_foreach_pos_tag_n
[       OK ] NlpCAPITest.utc_nlp_foreach_pos_tag_n (0 ms)
[----------] 3 tests from NlpCAPITest (12984 ms total)

Change-Id: I3d479cbaa48c76d4ce1d4725c0469c3abe4af473
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoFix python syntax warning 32/270532/4
Jihoon Kim [Fri, 4 Feb 2022 17:04:56 +0000 (02:04 +0900)]
Fix python syntax warning

/usr/lib/python3.9/site-packages/nltk/parse/malt.py:206: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ret is not 0:

Change-Id: I48096b5f0a088c1c05b8f3007d104400432ce2fd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoRefactoring rpm spec 33/273233/2
Jihoon Kim [Fri, 1 Apr 2022 02:06:21 +0000 (11:06 +0900)]
Refactoring rpm spec

Change-Id: I1a391efc60edd8d4d06b727b5bce42cb58160e85
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoRemove ecore dependency 39/260239/7
Jihoon Kim [Tue, 22 Jun 2021 08:10:58 +0000 (17:10 +0900)]
Remove ecore dependency

Change-Id: I4fd60f6bbed94b3fb708d4762a2a60e7761c354e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoChange background category for ANR issue 36/270536/2 accepted/tizen/unified/20220207.045145 submit/tizen/20220204.174144
Jihoon Kim [Fri, 4 Feb 2022 17:18:40 +0000 (02:18 +0900)]
Change background category for ANR issue

Change-Id: I7f8535fe83aa7df0fb16f20216c7eee1292158a0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoVersion up(1.0.2) 22/270022/1 accepted/tizen/unified/20220125.121620 submit/tizen/20220124.180546
InHong Han [Mon, 24 Jan 2022 08:49:40 +0000 (17:49 +0900)]
Version up(1.0.2)

Change-Id: I45da01db2b4be8aee71b9300a0e7be9a161221d7

2 years agoRemove unused open source 21/270021/1
InHong Han [Mon, 24 Jan 2022 08:41:06 +0000 (17:41 +0900)]
Remove unused open source

Change-Id: I117bcb546e79b8103503fb7a6bd6d80b5802ef19

2 years agoRevert "Remove unused code" 15/270015/1
InHong Han [Mon, 24 Jan 2022 07:33:34 +0000 (16:33 +0900)]
Revert "Remove unused code"

This reverts commit dc9db7cd1daa89b19ca9d17ed8b7b287498a26bc.

Change-Id: I0c4e0db4566420de2a5c5e47f3d7f495f3dc2ca9

2 years agoRemove unused code 15/267915/1 accepted/tizen/unified/20211214.124905 submit/tizen/20211213.082659
Jihoon Kim [Mon, 13 Dec 2021 08:02:40 +0000 (17:02 +0900)]
Remove unused code

Change-Id: Id3d711bbf0be4e3fef4868c398d178b3de6672af
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoVersion up(1.0.1) 19/266819/1 accepted/tizen/unified/20211126.111912 submit/tizen/20211119.042747 submit/tizen/20211126.015445
Jihoon Kim [Fri, 19 Nov 2021 04:23:12 +0000 (13:23 +0900)]
Version up(1.0.1)

Change-Id: I1815313474119636a1508d12fd5b6c752c12873d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoRegister as background service 68/266068/1
Jihoon Kim [Fri, 5 Nov 2021 07:01:45 +0000 (16:01 +0900)]
Register as background service

Change-Id: I284858fd75ef7976a502f92ec0bc12ba429259ea
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoRemove unused dependency 47/260247/1 submit/tizen/20210623.073048
Jihoon Kim [Tue, 22 Jun 2021 10:45:09 +0000 (19:45 +0900)]
Remove unused dependency

Change-Id: I9ae3e28a194e33d76c5315da0d8cf7f4893cdaa5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoVersion up(0.2.10) 53/259553/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.121845 accepted/tizen/unified/20210610.141301 submit/tizen/20210609.111318 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
jaehong Park [Wed, 9 Jun 2021 10:15:37 +0000 (19:15 +0900)]
Version up(0.2.10)

Change-Id: I67ed19b4556cc37875d74f20f8b74b966a7dfdb4

3 years agoFix return type of nltk_get_size_from_list/tuple function 52/259552/1
jaehong Park [Wed, 9 Jun 2021 10:10:19 +0000 (19:10 +0900)]
Fix return type of nltk_get_size_from_list/tuple function

Change-Id: I30fda43c9a923be7db06446681bb6095ecbb4d63

3 years agoVersion up(0.2.9) 32/259532/1 submit/tizen/20210609.093931
jaehong Park [Wed, 9 Jun 2021 09:05:17 +0000 (18:05 +0900)]
Version up(0.2.9)

Change-Id: I7f0175f802a2daca39584996fba6226203ccf66e

3 years agoReturn 0 or above value while check size of list 31/259531/1
jaehong Park [Wed, 9 Jun 2021 09:04:35 +0000 (18:04 +0900)]
Return 0 or above value while check size of list

Change-Id: I505a965eaed8015772a0b4890cf3dd298ff4b2a7

3 years agoVersion up(0.2.8) 90/258990/2 accepted/tizen/unified/20210602.122624 submit/tizen/20210531.010718
Jihoon Kim [Fri, 28 May 2021 13:32:34 +0000 (22:32 +0900)]
Version up(0.2.8)

Change-Id: I30126acf65d803cc536b7599bfa2f83bd71acecf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoFix defects detected by static analysis tool 89/258989/4
Jihoon Kim [Fri, 28 May 2021 13:07:28 +0000 (22:07 +0900)]
Fix defects detected by static analysis tool

Change-Id: Ife30967277a0eaead9e5419e8b05c0c87ef89536
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoVersion up(0.2.7) 83/258983/1
jaehong Park [Sat, 29 May 2021 04:42:57 +0000 (13:42 +0900)]
Version up(0.2.7)

Change-Id: Ic21d091826cd06f06b79dae9db426eb1782f9feb

3 years agoReturn 0 when PyObject is not a kind of list(tuple) 65/258965/1
jaehong Park [Sat, 29 May 2021 03:39:43 +0000 (12:39 +0900)]
Return 0 when PyObject is not a kind of list(tuple)

Change-Id: I9dcc6c6b8306261fe2ffe610b1a6c99ec42e7be0

3 years agoVersion up(0.2.6) 04/252904/1 accepted/tizen/unified/20210203.145552 submit/tizen/20210203.014121
Jihoon Kim [Wed, 3 Feb 2021 05:03:26 +0000 (14:03 +0900)]
Version up(0.2.6)

Change-Id: Ia8b151984a49ebc079dc3694311fd3c0230e5dec
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoMove NLTK wrapping functions in another file 93/252893/2
Jihoon Kim [Wed, 3 Feb 2021 04:24:25 +0000 (13:24 +0900)]
Move NLTK wrapping functions in another file

Change-Id: I077b9c19ac170a2c2c593a936d58ff5d8bd630c2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoVersion up(0.2.5) 58/252858/1
Jihoon Kim [Wed, 3 Feb 2021 01:39:10 +0000 (10:39 +0900)]
Version up(0.2.5)

Change-Id: If57c6c320b9c4657d9327a68075dfd8e4e961065
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoUse macro for python3 sitelib 75/251275/1 accepted/tizen/unified/20210113.121018 submit/tizen/20210113.060108
Jihoon Kim [Tue, 12 Jan 2021 06:48:01 +0000 (15:48 +0900)]
Use macro for python3 sitelib

Change-Id: Ie9969240e1fecb6474f3b52f83f2e63c43f2d3f3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoVersion up(0.2.4) 50/251250/1 accepted/tizen/unified/20210112.040421 submit/tizen/20210112.035518
Jihoon Kim [Tue, 12 Jan 2021 03:53:13 +0000 (12:53 +0900)]
Version up(0.2.4)

Change-Id: I198fb78adf243ebd0e3b588dbafebe5c023d1d2e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoFix build error on 64bit 49/251249/1
Jihoon Kim [Tue, 12 Jan 2021 03:52:17 +0000 (12:52 +0900)]
Fix build error on 64bit

Change-Id: I1cfcf982c8429344a53c7ed8570b65088958b81c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoVersion up(0.2.3) 45/251245/2 accepted/tizen/unified/20210112.031616 submit/tizen/20210112.031033
jay.ho.park [Tue, 12 Jan 2021 20:15:14 +0000 (05:15 +0900)]
Version up(0.2.3)

Change-Id: I1e372036f0e7f5d4f46275be1df043335ee4fd87

3 years agoSupport python 3.9.1 44/251244/2
jay.ho.park [Tue, 12 Jan 2021 20:14:31 +0000 (05:14 +0900)]
Support python 3.9.1

Change-Id: Ie1981b4d8982484efa18fc3717543ad52164fe8d

3 years agoVersion up(0.2.2) 80/248680/1 accepted/tizen/unified/20201222.122547 submit/tizen/20201222.200445
jay.ho.park [Wed, 2 Dec 2020 03:54:03 +0000 (12:54 +0900)]
Version up(0.2.2)

Change-Id: I2c03272560353b558561b763680862c820bb289f

3 years agoAdd Null check for PyUnicode_AsUTF8 69/248669/1
jay.ho.park [Wed, 2 Dec 2020 02:41:30 +0000 (11:41 +0900)]
Add Null check for PyUnicode_AsUTF8

Change-Id: I444781da9ec89f4b6b04c1e74e0a1a0d0df8395c

3 years agoFree allocated memory while using 'nltk_get_string_from_element' function 68/248668/1
jay.ho.park [Wed, 2 Dec 2020 02:25:51 +0000 (11:25 +0900)]
Free allocated memory while using 'nltk_get_string_from_element' function

Change-Id: Ic4e1ed18923369918110443620a55da7ebe10d31

4 years agoUpdate package version to 0.2.1 99/246199/1 accepted/tizen/unified/20201029.124957 submit/tizen/20201027.023252
Jihoon Kim [Tue, 27 Oct 2020 01:00:35 +0000 (10:00 +0900)]
Update package version to 0.2.1

Change-Id: I97ccd1becccf73079e672987a289315f4d887b52
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 years agoRemove unncessary files in taggers 01/246101/1
jay.ho.park [Sat, 24 Oct 2020 04:26:18 +0000 (13:26 +0900)]
Remove unncessary files in taggers

Change-Id: Ia1091b6b2ff9f6f8c4ab6db8025654e7fc1bb1e1

4 years agoRemove unncessary files in grammars 00/246100/1
jay.ho.park [Sat, 24 Oct 2020 04:20:42 +0000 (13:20 +0900)]
Remove unncessary files in grammars

Change-Id: I94ef7af756e6b1ea7e92d4beb864064fdee4d1e6

4 years agoRemove unnecessary files in tokenizer except english data files 99/246099/1
jay.ho.park [Sat, 24 Oct 2020 04:14:12 +0000 (13:14 +0900)]
Remove unnecessary files in tokenizer except english data files

Change-Id: I25769557936f543318411665e8690d2ab1e76325

4 years agoRemove unnecessary files in nltk 98/246098/1
jay.ho.park [Sat, 24 Oct 2020 04:06:24 +0000 (13:06 +0900)]
Remove unnecessary files in nltk

Change-Id: I0a7813d4d6d21fa69b2b37ce44a94b5d1797d16d

4 years agoRevert "Add python3-cython dependency" 85/246085/1 submit/tizen/20201023.071909
Jihoon Kim [Fri, 23 Oct 2020 07:09:23 +0000 (16:09 +0900)]
Revert "Add python3-cython dependency"

This reverts commit e3ec76af022ad99104fa0e7d80a03627eb0ebf75.

Change-Id: I8172b6930883006825dc491ccb1b0432baf8836e

4 years agoUpdate taggers data 80/246080/1
jay.ho.park [Fri, 23 Oct 2020 23:47:02 +0000 (08:47 +0900)]
Update taggers data

Change-Id: I26fe5ad2cacc3487f467089780f54857fb4a393f

4 years agoUpdate grammars data 79/246079/1
jay.ho.park [Fri, 23 Oct 2020 23:45:54 +0000 (08:45 +0900)]
Update grammars data

Change-Id: I3b3b92a3165c4a88d55ba3ee19ba39049f3cee42

4 years agoupdate chunkers code 78/246078/1
jay.ho.park [Fri, 23 Oct 2020 23:40:19 +0000 (08:40 +0900)]
update chunkers code

Change-Id: I6dd1cc1d3b826b10f7b2be180a937c764c8af42e

4 years agoUpdate tokenizer codes 22/246022/1
jay.ho.park [Fri, 23 Oct 2020 02:12:49 +0000 (11:12 +0900)]
Update tokenizer codes

Change-Id: Ibaa5934617cd8cf17391b6600f0da24a9c59f955

4 years agoConvert nltk codes into version 3.4 96/245996/1
jay.ho.park [Thu, 22 Oct 2020 04:56:46 +0000 (13:56 +0900)]
Convert nltk codes into version 3.4

Change-Id: I8fbc3822305a67ea3aed093100f7f4711b96d3db

4 years agoAdd NLP unittests 56/245956/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>
4 years agoAdd python3-cython dependency 76/245976/1 submit/tizen/20201021.053932
Jihoon Kim [Wed, 21 Oct 2020 05:35:49 +0000 (14:35 +0900)]
Add python3-cython dependency

Change-Id: I2958080a6a055bce1c7ccc93fd9064d48d730c02
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 years agoModify nltk, langdetect, etc. in order to convert from python2 to python3 09/243009/1 submit/tizen/20200902.110547
jay.ho.park [Thu, 3 Sep 2020 05:04:01 +0000 (14:04 +0900)]
Modify nltk, langdetect, etc. in order to convert from python2 to python3

This reverts commit 9b8ff8c695419b470c517b5d4fa640dd3f7e37d7.

Change-Id: I94ff2dbfa26ad526a8c003afa93d6b374e201a11

4 years agoRevert "Modify nltk, langdetect, etc. in order to convert from python2 to python3" 00/243000/1
jay.ho.park [Thu, 3 Sep 2020 04:29:33 +0000 (13:29 +0900)]
Revert "Modify nltk, langdetect, etc. in order to convert from python2 to python3"

This reverts commit 838400282e8833be2f82cb28e137a3747540c9ff.

Change-Id: I1e4f5852ac169f7cc059ce648fa9cda7de6fd584

4 years agoModify nltk, langdetect, etc. in order to convert from python2 to python3
jay.ho.park [Thu, 3 Sep 2020 00:19:45 +0000 (09:19 +0900)]
Modify nltk, langdetect, etc. in order to convert from python2 to python3

Change-Id: I68c25b9870469db5ddc190dfdd5ba8b2f2887381

4 years agoCovert from python2 to python3 58/242558/1 submit/tizen/20200828.013646
Jihoon Kim [Fri, 28 Aug 2020 01:30:03 +0000 (10:30 +0900)]
Covert from python2 to python3

Change-Id: I114ac6217eb3a4431defe1337c7fac5a639d6aa2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoCode Normalization ,delete the blank before ; 85/192385/3
jingjin.geng [Mon, 5 Nov 2018 23:15:33 +0000 (07:15 +0800)]
Code Normalization ,delete the blank before ;

Change-Id: I5a548795a2540a6c02802d695aef1a836adf7138

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>
6 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

6 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

6 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>
6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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

6 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

6 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>
6 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

6 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>
6 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

6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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>
6 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

6 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>
6 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>
6 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

6 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

6 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>
6 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

6 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>
6 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>
6 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

6 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

6 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>
6 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>
6 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>
6 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

6 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

6 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>
6 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

6 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>
6 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

6 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

6 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