Skip to content

Commit d312394

Browse files
committed
Fix typo in the documentation of partial analysis
1 parent 32041d9 commit d312394

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

partial.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ <h3>APIによる制約の指定</h3>
130130
lattice->set_sentence("thisisatest");
131131

132132
// |this|is|a|test| で分割され、かつ品詞大分類をすべて名詞にするように強制
133-
lattice->set_feature_constriant(0,4,"名詞");
134-
lattice->set_feature_constriant(4,6,"名詞");
135-
lattice->set_feature_constriant(6,7,"名詞");
136-
lattice->set_feature_constriant(7,11,"名詞");
133+
lattice->set_feature_constraint(0,4,"名詞");
134+
lattice->set_feature_constraint(4,6,"名詞");
135+
lattice->set_feature_constraint(6,7,"名詞");
136+
lattice->set_feature_constraint(7,11,"名詞");
137137

138138
tagger->parse(lattice);
139139

0 commit comments

Comments
 (0)