如何自定义rules.ini
Closed this issue · 2 comments
liangkdm commented
你好,请问一下如何自定义rules.ini 文件。主要是
;
; 词性语法规则表
;
[attrs]
; c 是连词
n + f(1) = 300
n + m(1) = 500
n(1) + v = 100
n + v(1) = 10
r + n(1) = 1000
r(1) + n = 100
d(1) + r = 100
d(1) + v = 100
v(1) + r = 100
n + m(1) = 500
v + f(1) = 30
v(1) + m = 100
v(1) + n = 3
a + u(1) = 5
v + n(1) = 5
u(1) + a = 2
c(1) + * = 50
-
- c(1) = 50
这个规则没有看明白什么意思。
- c(1) = 50
hightman commented
括号内是字数,c(1)表示一个字的连词
发自我的 iPhone6艹
… 在 2022年1月14日,14:13,liangkdm ***@***.***> 写道:
你好,请问一下如何自定义rules.ini 文件。主要是
;
; 词性语法规则表
;
[attrs]
; c 是连词
n + f(1) = 300
n + m(1) = 500
n(1) + v = 100
n + v(1) = 10
r + n(1) = 1000
r(1) + n = 100
d(1) + r = 100
d(1) + v = 100
v(1) + r = 100
n + m(1) = 500
v + f(1) = 30
v(1) + m = 100
v(1) + n = 3
a + u(1) = 5
v + n(1) = 5
u(1) + a = 2
c(1) + * = 50
c(1) = 50
这个规则没有看明白什么意思。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
liangkdm commented
thanks @