nlpir 0.0.3-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/LICENSE.txt +22 -0
- data/README.md +197 -0
- data/Rakefile +11 -0
- data/bin/lib.txt +44 -0
- data/bin/libNLPIR.so +0 -0
- data/lib/Data/BIG2GBK.map +0 -0
- data/lib/Data/BIG5.pdat +0 -0
- data/lib/Data/BIG5.wordlist +0 -0
- data/lib/Data/BiWord.big +0 -0
- data/lib/Data/Configure.xml +15 -0
- data/lib/Data/CoreDict.pdat +0 -0
- data/lib/Data/CoreDict.pos +0 -0
- data/lib/Data/CoreDict.unig +0 -0
- data/lib/Data/FieldDict.pdat +0 -0
- data/lib/Data/FieldDict.pos +0 -0
- data/lib/Data/GBK.pdat +0 -0
- data/lib/Data/GBK.wordlist +0 -0
- data/lib/Data/GBK2BIG.map +0 -0
- data/lib/Data/GBK2GBKC.map +0 -0
- data/lib/Data/GBK2UTF.map +0 -0
- data/lib/Data/GBKA.pdat +0 -0
- data/lib/Data/GBKA.wordlist +0 -0
- data/lib/Data/GBKA2UTF.map +0 -0
- data/lib/Data/GBKC.pdat +0 -0
- data/lib/Data/GBKC.wordlist +0 -0
- data/lib/Data/GBKC2GBK.map +0 -0
- data/lib/Data/GranDict.pdat +3369 -8
- data/lib/Data/GranDict.pos +0 -0
- data/lib/Data/ICTPOS.map +96 -0
- data/lib/Data/NLPIR.ctx +0 -0
- data/lib/Data/NLPIR.user +0 -0
- data/lib/Data/NLPIR_First.map +96 -0
- data/lib/Data/NewWord.lst +25 -0
- data/lib/Data/PKU.map +96 -0
- data/lib/Data/PKU_First.map +96 -0
- data/lib/Data/UTF2GBK.map +0 -0
- data/lib/Data/UTF2GBKA.map +0 -0
- data/lib/Data/UTF8.pdat +0 -0
- data/lib/Data/UTF8.wordlist +0 -0
- data/lib/Data/UserDict.pdat +0 -0
- data/lib/Data/charset.type +0 -0
- data/lib/Data/nr.ctx +0 -0
- data/lib/Data/nr.fsa +0 -0
- data/lib/Data/nr.role +0 -0
- data/lib/nlpir.rb +274 -0
- data/lib/nlpir/version.rb +3 -0
- data/nlpir.gemspec +24 -0
- data/test/Data/BIG2GBK.map +0 -0
- data/test/Data/BIG5.pdat +0 -0
- data/test/Data/BIG5.wordlist +0 -0
- data/test/Data/BiWord.big +0 -0
- data/test/Data/Configure.xml +15 -0
- data/test/Data/CoreDict.pdat +0 -0
- data/test/Data/CoreDict.pos +0 -0
- data/test/Data/CoreDict.unig +0 -0
- data/test/Data/FieldDict.pdat +0 -0
- data/test/Data/FieldDict.pos +0 -0
- data/test/Data/GBK.pdat +0 -0
- data/test/Data/GBK.wordlist +0 -0
- data/test/Data/GBK2BIG.map +0 -0
- data/test/Data/GBK2GBKC.map +0 -0
- data/test/Data/GBK2UTF.map +0 -0
- data/test/Data/GBKA.pdat +0 -0
- data/test/Data/GBKA.wordlist +0 -0
- data/test/Data/GBKA2UTF.map +0 -0
- data/test/Data/GBKC.pdat +0 -0
- data/test/Data/GBKC.wordlist +0 -0
- data/test/Data/GBKC2GBK.map +0 -0
- data/test/Data/GranDict.pdat +3369 -8
- data/test/Data/GranDict.pos +0 -0
- data/test/Data/ICTPOS.map +96 -0
- data/test/Data/NLPIR.ctx +0 -0
- data/test/Data/NLPIR.user +0 -0
- data/test/Data/NLPIR_First.map +96 -0
- data/test/Data/NewWord.lst +41 -0
- data/test/Data/PKU.map +96 -0
- data/test/Data/PKU_First.map +96 -0
- data/test/Data/UTF2GBK.map +0 -0
- data/test/Data/UTF2GBKA.map +0 -0
- data/test/Data/UTF8.pdat +0 -0
- data/test/Data/UTF8.wordlist +0 -0
- data/test/Data/UserDict.pdat +0 -0
- data/test/Data/charset.type +0 -0
- data/test/Data/nr.ctx +0 -0
- data/test/Data/nr.fsa +0 -0
- data/test/Data/nr.role +0 -0
- data/test/test.txt +52 -0
- data/test/test_nlpir.rb +148 -0
- data/test/test_result.txt +87 -0
- data/test/userdict.txt +5 -0
- metadata +208 -0
Binary file
|
@@ -0,0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
wyy
|
93
|
+
wyz
|
94
|
+
x
|
95
|
+
y
|
96
|
+
z
|
data/test/Data/NLPIR.ctx
ADDED
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
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+
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
|
data/test/Data/UTF8.pdat
ADDED
Binary file
|
Binary file
|
Binary file
|