Skip to content

Commit

Permalink
Update seg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThuraAung1601 authored Feb 9, 2024
1 parent 6071108 commit 12d5724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#open trained model
tagger = pycrfsuite.Tagger()
tagger.open('./model/mm-word-300.crfsuite')
tagger.open('./model/mm-word-segmentation-300.crfsuite')

#here sentence is prepared_sentence and i is length of prepared_sentence
def create_char_features(sentence, i):
Expand Down

0 comments on commit 12d5724

Please sign in to comment.