nlpir 0.0.3-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +197 -0
  5. data/Rakefile +11 -0
  6. data/bin/lib.txt +44 -0
  7. data/bin/libNLPIR.so +0 -0
  8. data/lib/Data/BIG2GBK.map +0 -0
  9. data/lib/Data/BIG5.pdat +0 -0
  10. data/lib/Data/BIG5.wordlist +0 -0
  11. data/lib/Data/BiWord.big +0 -0
  12. data/lib/Data/Configure.xml +15 -0
  13. data/lib/Data/CoreDict.pdat +0 -0
  14. data/lib/Data/CoreDict.pos +0 -0
  15. data/lib/Data/CoreDict.unig +0 -0
  16. data/lib/Data/FieldDict.pdat +0 -0
  17. data/lib/Data/FieldDict.pos +0 -0
  18. data/lib/Data/GBK.pdat +0 -0
  19. data/lib/Data/GBK.wordlist +0 -0
  20. data/lib/Data/GBK2BIG.map +0 -0
  21. data/lib/Data/GBK2GBKC.map +0 -0
  22. data/lib/Data/GBK2UTF.map +0 -0
  23. data/lib/Data/GBKA.pdat +0 -0
  24. data/lib/Data/GBKA.wordlist +0 -0
  25. data/lib/Data/GBKA2UTF.map +0 -0
  26. data/lib/Data/GBKC.pdat +0 -0
  27. data/lib/Data/GBKC.wordlist +0 -0
  28. data/lib/Data/GBKC2GBK.map +0 -0
  29. data/lib/Data/GranDict.pdat +3369 -8
  30. data/lib/Data/GranDict.pos +0 -0
  31. data/lib/Data/ICTPOS.map +96 -0
  32. data/lib/Data/NLPIR.ctx +0 -0
  33. data/lib/Data/NLPIR.user +0 -0
  34. data/lib/Data/NLPIR_First.map +96 -0
  35. data/lib/Data/NewWord.lst +25 -0
  36. data/lib/Data/PKU.map +96 -0
  37. data/lib/Data/PKU_First.map +96 -0
  38. data/lib/Data/UTF2GBK.map +0 -0
  39. data/lib/Data/UTF2GBKA.map +0 -0
  40. data/lib/Data/UTF8.pdat +0 -0
  41. data/lib/Data/UTF8.wordlist +0 -0
  42. data/lib/Data/UserDict.pdat +0 -0
  43. data/lib/Data/charset.type +0 -0
  44. data/lib/Data/nr.ctx +0 -0
  45. data/lib/Data/nr.fsa +0 -0
  46. data/lib/Data/nr.role +0 -0
  47. data/lib/nlpir.rb +274 -0
  48. data/lib/nlpir/version.rb +3 -0
  49. data/nlpir.gemspec +24 -0
  50. data/test/Data/BIG2GBK.map +0 -0
  51. data/test/Data/BIG5.pdat +0 -0
  52. data/test/Data/BIG5.wordlist +0 -0
  53. data/test/Data/BiWord.big +0 -0
  54. data/test/Data/Configure.xml +15 -0
  55. data/test/Data/CoreDict.pdat +0 -0
  56. data/test/Data/CoreDict.pos +0 -0
  57. data/test/Data/CoreDict.unig +0 -0
  58. data/test/Data/FieldDict.pdat +0 -0
  59. data/test/Data/FieldDict.pos +0 -0
  60. data/test/Data/GBK.pdat +0 -0
  61. data/test/Data/GBK.wordlist +0 -0
  62. data/test/Data/GBK2BIG.map +0 -0
  63. data/test/Data/GBK2GBKC.map +0 -0
  64. data/test/Data/GBK2UTF.map +0 -0
  65. data/test/Data/GBKA.pdat +0 -0
  66. data/test/Data/GBKA.wordlist +0 -0
  67. data/test/Data/GBKA2UTF.map +0 -0
  68. data/test/Data/GBKC.pdat +0 -0
  69. data/test/Data/GBKC.wordlist +0 -0
  70. data/test/Data/GBKC2GBK.map +0 -0
  71. data/test/Data/GranDict.pdat +3369 -8
  72. data/test/Data/GranDict.pos +0 -0
  73. data/test/Data/ICTPOS.map +96 -0
  74. data/test/Data/NLPIR.ctx +0 -0
  75. data/test/Data/NLPIR.user +0 -0
  76. data/test/Data/NLPIR_First.map +96 -0
  77. data/test/Data/NewWord.lst +41 -0
  78. data/test/Data/PKU.map +96 -0
  79. data/test/Data/PKU_First.map +96 -0
  80. data/test/Data/UTF2GBK.map +0 -0
  81. data/test/Data/UTF2GBKA.map +0 -0
  82. data/test/Data/UTF8.pdat +0 -0
  83. data/test/Data/UTF8.wordlist +0 -0
  84. data/test/Data/UserDict.pdat +0 -0
  85. data/test/Data/charset.type +0 -0
  86. data/test/Data/nr.ctx +0 -0
  87. data/test/Data/nr.fsa +0 -0
  88. data/test/Data/nr.role +0 -0
  89. data/test/test.txt +52 -0
  90. data/test/test_nlpir.rb +148 -0
  91. data/test/test_result.txt +87 -0
  92. data/test/userdict.txt +5 -0
  93. metadata +208 -0
Binary file
@@ -0,0 +1,96 @@
1
+ 1
2
+ 4
3
+ a
4
+ ad
5
+ ag
6
+ al
7
+ an
8
+ b
9
+ bl
10
+ c
11
+ cc
12
+ d
13
+ dg
14
+ dl
15
+ e
16
+ f
17
+ h
18
+ k
19
+ m
20
+ Mg
21
+ mq
22
+ n
23
+ ng
24
+ nl
25
+ nr
26
+ nr1
27
+ nr2
28
+ nrf
29
+ nrj
30
+ ns
31
+ nsf
32
+ nt
33
+ nz
34
+ o
35
+ p
36
+ pba
37
+ pbei
38
+ q
39
+ qt
40
+ qv
41
+ r
42
+ Rg
43
+ rr
44
+ ry
45
+ rys
46
+ ryt
47
+ ryv
48
+ rz
49
+ rzs
50
+ rzt
51
+ rzv
52
+ s
53
+ t
54
+ tg
55
+ u
56
+ ude1
57
+ ude2
58
+ ude3
59
+ udeng
60
+ udh
61
+ uguo
62
+ ule
63
+ ulian
64
+ uls
65
+ usuo
66
+ uyy
67
+ uzhe
68
+ uzhi
69
+ v
70
+ vd
71
+ vf
72
+ vg
73
+ vi
74
+ vl
75
+ vn
76
+ vshi
77
+ vx
78
+ vyou
79
+ w
80
+ wb
81
+ wd
82
+ wf
83
+ wj
84
+ wky
85
+ wkz
86
+ wm
87
+ wn
88
+ wp
89
+ ws
90
+ wt
91
+ ww
92
+ wyy
93
+ wyz
94
+ x
95
+ y
96
+ z
Binary file
Binary file
@@ -0,0 +1,96 @@
1
+ 1
2
+ 4
3
+ a
4
+ a
5
+ a
6
+ a
7
+ a
8
+ b
9
+ b
10
+ c
11
+ c
12
+ d
13
+ d
14
+ d
15
+ e
16
+ f
17
+ h
18
+ k
19
+ m
20
+ m
21
+ m
22
+ n
23
+ n
24
+ n
25
+ n
26
+ n
27
+ n
28
+ n
29
+ n
30
+ n
31
+ n
32
+ n
33
+ n
34
+ o
35
+ p
36
+ p
37
+ p
38
+ q
39
+ q
40
+ q
41
+ r
42
+ R
43
+ r
44
+ r
45
+ r
46
+ r
47
+ r
48
+ r
49
+ r
50
+ r
51
+ r
52
+ s
53
+ t
54
+ t
55
+ u
56
+ u
57
+ u
58
+ u
59
+ u
60
+ u
61
+ u
62
+ u
63
+ u
64
+ u
65
+ u
66
+ u
67
+ u
68
+ u
69
+ v
70
+ v
71
+ v
72
+ v
73
+ v
74
+ v
75
+ v
76
+ v
77
+ v
78
+ v
79
+ w
80
+ w
81
+ w
82
+ w
83
+ w
84
+ w
85
+ w
86
+ w
87
+ w
88
+ w
89
+ w
90
+ w
91
+ w
92
+ w
93
+ w
94
+ x
95
+ y
96
+ z
@@ -0,0 +1,41 @@
1
+ ��˿ ���� �⹹ ��Q �������Ļ� ���� Ⱥ���Գ� ���ݱ�΢
2
+ ��˿ ���� �⹹ ��Q �������Ļ� ���� Ⱥ���Գ� ���ݱ�΢
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+ 屌丝/n_new/10.19
28
+ 屌丝/n_new/10.19
29
+ 屌丝/n_new/10.19
30
+ 屌丝/n_new/10.19
31
+ 屌丝/n_new/10.19
32
+ 屌丝/n_new/10.19
33
+ 屌丝/n_new/10.19
34
+ 屌丝/n_new/10.19
35
+ 屌丝/n_new/10.19
36
+ 屌丝/n_new/10.19
37
+ 屌丝/n_new/10.19
38
+ 屌丝/n_new/10.19
39
+ 屌丝/n_new/10.19
40
+ 屌丝/n_new/10.19
41
+ 屌丝/n_new/10.19
data/test/Data/PKU.map ADDED
@@ -0,0 +1,96 @@
1
+ 1
2
+ 4
3
+ a
4
+ ad
5
+ g
6
+ l
7
+ an
8
+ b
9
+ l
10
+ c
11
+ cc
12
+ d
13
+ g
14
+ l
15
+ e
16
+ f
17
+ h
18
+ k
19
+ m
20
+ Mg
21
+ mq
22
+ n
23
+ g
24
+ l
25
+ nr
26
+ nr
27
+ nr
28
+ nr
29
+ nr
30
+ ns
31
+ ns
32
+ nt
33
+ nz
34
+ o
35
+ p
36
+ p
37
+ p
38
+ q
39
+ qt
40
+ qv
41
+ r
42
+ Rg
43
+ r
44
+ r
45
+ r
46
+ r
47
+ r
48
+ r
49
+ r
50
+ r
51
+ r
52
+ s
53
+ t
54
+ tg
55
+ u
56
+ u
57
+ u
58
+ u
59
+ u
60
+ u
61
+ u
62
+ u
63
+ u
64
+ u
65
+ u
66
+ u
67
+ u
68
+ u
69
+ v
70
+ v
71
+ v
72
+ g
73
+ v
74
+ v
75
+ vn
76
+ v
77
+ v
78
+ v
79
+ w
80
+ w
81
+ w
82
+ w
83
+ w
84
+ w
85
+ w
86
+ w
87
+ w
88
+ w
89
+ w
90
+ w
91
+ w
92
+ w
93
+ w
94
+ x
95
+ y
96
+ z
@@ -0,0 +1,96 @@
1
+ 1
2
+ 4
3
+ a
4
+ a
5
+ g
6
+ l
7
+ a
8
+ b
9
+ l
10
+ c
11
+ c
12
+ d
13
+ g
14
+ l
15
+ e
16
+ f
17
+ h
18
+ k
19
+ m
20
+ m
21
+ m
22
+ n
23
+ g
24
+ l
25
+ n
26
+ n
27
+ n
28
+ n
29
+ n
30
+ n
31
+ n
32
+ n
33
+ n
34
+ o
35
+ p
36
+ p
37
+ p
38
+ q
39
+ q
40
+ q
41
+ r
42
+ R
43
+ r
44
+ r
45
+ r
46
+ r
47
+ r
48
+ r
49
+ r
50
+ r
51
+ r
52
+ s
53
+ t
54
+ t
55
+ u
56
+ u
57
+ u
58
+ u
59
+ u
60
+ u
61
+ u
62
+ u
63
+ u
64
+ u
65
+ u
66
+ u
67
+ u
68
+ u
69
+ v
70
+ v
71
+ v
72
+ g
73
+ v
74
+ v
75
+ v
76
+ v
77
+ v
78
+ v
79
+ w
80
+ w
81
+ w
82
+ w
83
+ w
84
+ w
85
+ w
86
+ w
87
+ w
88
+ w
89
+ w
90
+ w
91
+ w
92
+ w
93
+ w
94
+ x
95
+ y
96
+ z
Binary file
Binary file
Binary file
Binary file
Binary file