Skip to content

Commit

Permalink
Add has_cjk property in serialized Chunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
tushuhei committed Dec 19, 2017
1 parent 774b64c commit eaad1f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion budou/budou.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def serialize(self):
'word': self.word,
'pos': self.pos,
'label': self.label,
'dependency': self.dependency
'dependency': self.dependency,
'has_cjk': self.has_cjk(),
}

def maybe_add_dependency(self, default_dependency_direction):
Expand Down

0 comments on commit eaad1f2

Please sign in to comment.