Skip to content

Commit

Permalink
fix error of None fkt
Browse files Browse the repository at this point in the history
  • Loading branch information
sadahry committed Nov 19, 2022
1 parent c3cb669 commit f498267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions katsuyo_text/spacy_sentence_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def _bridge_by_form(
f"prev: {prev_token} doc: {prev_token.doc} "
)

fkt = None
if conjugation_form in self.MIZEN_FORMS:
fkt = pre.as_fkt_mizen
elif conjugation_form in self.RENYO_FORMS:
Expand Down

0 comments on commit f498267

Please # to comment.