Closed riccardobucco closed 2 years ago
I solved it by installing flair from the repo instead of relying on published versions
We just released flair 0.11 so it should hopefully work now!
@riccardobucco can u tell me on this version did u install or give me some link, I have the same issue
I'n trying to implement a custom tokenizer, but to get start positions of each token. Let me use an exact copy of your SegtokTokenizer to explain what's my issue:
The output of this piece of code is
0
. Now let me copy and paste the code ofSegtokTokenizer
:This is now printing
None
!! I don't understand what I'm missing here.Of course my final goal is to implement my own tokenizer (I'm not going to use a copy of your tokenizer as I did here). But no matter what I do I always get
None
, even if I use a copy of your code. Please help me here.