You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
A rule starts with non-empty id column. idが空でなければ、ルールのスタートを示す
id has to be unique. idはユニークである必要がある
Rules are applied in ascendings order of id (ids are compared as UTF-8 strings, not as byte arrays). ex: id:000_XXX has priority over id:999_ZZZ idは文字列としてsortされて小さい順にそのルールの優先度が定義される 例: id:000_XXXのルールはid:999_ZZZのルールよりも優先度が高い
min
Minimum repeat number. 0 means that morpheme is optional. 形態素の最小繰り返し回数。0に設定するとそのパーツはあってもなくても良い
default=1
max
Maximum repeat number 形態素の最大繰り返し回数
default=1
pos0, pos1, pos2, pos3, pos4, pos5
Part of speeches of morphemes parsed by mecab. mecabでparseされた形態素の品詞や活用の名前
pos0: 表層 (ex: 名詞)
pos1: 品詞1 (ex: 副詞可能)
pos2: 品詞2
pos3: 品詞3
pos4: 活用1
pos5: 活用2
To represent OR condition, concatenate part-of-speeches with| as a separator. |で品詞を接続することでOR条件の定義が可能である
You can add arbitrary columns to your rule file. other columns are just ignored.An example is available atrule/3_independent_phrase.csv, which has a row example that describes an example sentence for the rule.