>>> from sudachipy import tokenizer, dictionary
>>> tokenizer_obj = dictionary.Dictionary().create()
>>> [m.reading_form() for m in tokenizer_obj.tokenize("コンピュータ")]
['']
>>> [m.reading_form() for m in tokenizer_obj.tokenize("計算機")]
['ケイサンキ']
It should show the surface when the reading_form does not exist in the lexicon.
e.g., In the original Java implementation - dictionary/WordInfoList.java;
It should show the
surface
when thereading_form
does not exist in the lexicon.e.g., In the original Java implementation -
dictionary/WordInfoList.java
;Thanks sig_m on the slack channel for reporting this!