Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit 0415cd6

Browse files
author
Sorami Hisamoto
authored
Merge pull request #106 from WorksApplications/fix-oov-flag
Fix the oov flag method call
2 parents bc9a659 + bac37fc commit 0415cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sudachipy/morphemelist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def split(self, mode, index, wi):
7777
return MorphemeList(self.input_text, self.grammar, self.lexicon, nodes)
7878

7979
def is_oov(self, index):
80-
return self.path[index].is_oov
80+
return self.path[index].is_oov()
8181

8282
def get_internal_cost(self):
8383
return self.path[-1].get_path_cost() - self.path[0].get_path_cost()

0 commit comments

Comments
 (0)