Open Genlight opened 3 years ago
Import for the script bling_fire_tokenizer.py fails for the Token object with Python v. 3.9 and 3.8.
Problem lies with the changed allennlp import for the Token object,
Problem is fixed by adding:
from allennlp.data.tokenizers.token_class import Token from blingfire import text_to_words
s. also image for diff.
BR
use pip install allennlp==0.9.0
Import for the script bling_fire_tokenizer.py fails for the Token object with Python v. 3.9 and 3.8.
Problem lies with the changed allennlp import for the Token object,
Problem is fixed by adding:
s. also image for diff.
BR