Botok icon indicating copy to clipboard operation
Botok copied to clipboard

issue with Python 3.9

Open eroux opened this issue 4 years ago • 0 comments

When using a script along the lines of

from botok import Text, WordTokenizer

WT = WordTokenizer()

Python3.9 gives

"  File "/usr/local/lib/python3.9/site-packages/botok/tokenizers/wordtokenizer.py", line 49, in _init_
    config.profile,
AttributeError: 'str' object has no attribute 'profile'"

eroux avatar Dec 31 '21 08:12 eroux