nlpir 0.0.3-x86-linux → 0.1.0-x86-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,9 +67,10 @@ class NlpirTest < Test::Unit::TestCase
67
67
  def test_userDict
68
68
  NLPIR_Init(nil, UTF8_CODE ,File.expand_path("../", __FILE__))
69
69
 
70
- NLPIR_AddUserWord("1989年春夏之交的政治风波 n")
70
+ #puts NLPIR_AddUserWord("1989年春夏之交的政治风波 n")
71
71
  NLPIR_ParagraphProcess("1989年春夏之交的政治风波1989年政治风波24小时降雪量24小时降雨量863计划ABC防护训练APEC会议BB机BP机C2系统C3I系统C3系统C4ISR系统C4I系统CCITT建议")
72
- NLPIR_DelUsrWord("1989年春夏之交的政治风波")
72
+
73
+ #puts NLPIR_DelUsrWord("1989年春夏之交的政治风波")
73
74
 
74
75
  NLPIR_Exit()
75
76
  end
@@ -78,6 +79,8 @@ class NlpirTest < Test::Unit::TestCase
78
79
 
79
80
  assert_equal 5,
80
81
  NLPIR_ImportUserDict("./userdict.txt")
82
+ NLPIR_SaveTheUsrDic()
83
+ puts NLPIR_ParagraphProcess("1989年春夏之交的政治风波1989年政治风波24小时降雪量24小时降雨量863计划ABC防护训练APEC会议BB机BP机C2系统C3I系统C3系统C4ISR系统C4I系统CCITT建议")
81
84
 
82
85
  NLPIR_Exit()
83
86
  end
@@ -1,5 +1,5 @@
1
- 1989年春夏之交的政治风波 n
2
- 1989年政治风波 n
3
- 24小时降雪量 n
4
- BP机 n
5
- C2系统 n
1
+ 1989年春夏之交的政治风波 n
2
+ 1989年政治风波 n
3
+ 24小时降雪量 n
4
+ BP机 n
5
+ C2系统 n
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nlpir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - JoeWoo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-29 00:00:00.000000000 Z
11
+ date: 2013-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.0.0.rc.2
161
+ rubygems_version: 2.1.9
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: '"ICTCLAS是由中国科学院计算技术研究所研发。中文分词;词性标注;命名实体识别;新词识别;同时支持用户词典。"'