I run this program.Called [Keitaisokaiseki].
but I get the error
Traceback (most recent call last):
File "C:\Users\Mao\Desktop\形態素解析 ランキング(栃木県).py", line 23, in <module>
tokens = t.tokenize(val)
File "C:\Users\Mao\AppData\Local\Programs\Python\Python36-32\lib\site-
packages\janome\tokenizer.py", line 194, in tokenize
return list(self.__tokenize_stream(text, wakati, baseform_unk))
File "C:\Users\Mao\AppData\Local\Programs\Python\Python36-32\lib\site-
packages\janome\tokenizer.py", line 197, in __tokenize_stream
text = text.strip()
AttributeError: 'float' object has no attribute 'strip'
Line 194 is
return list(self.__tokenize_stream(text, wakati, baseform_unk))
Line 197 is
text = text.strip()
Give me any guidance.