Skip to content

Commit

Permalink
Fix typo in the documentation of partial analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuok committed Jun 30, 2017
1 parent 32041d9 commit d312394
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions partial.html
Expand Up @@ -130,10 +130,10 @@ <h3>APIによる制約の指定</h3>
lattice->set_sentence("thisisatest");

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

tagger->parse(lattice);

Expand Down

0 comments on commit d312394

Please sign in to comment.