mcs07 / ChemDataExtractor

Automatically extract chemical information from scientific documents
http://chemdataextractor.org
MIT License
287 stars 112 forks source link

UnicodeEncodeError:'ascii' codec can't encode characters in position 9-11: ordinal not in range(128) #44

Open caihuazhi opened 1 week ago

caihuazhi commented 1 week ago

An error is reported when running the code “doc.records.serialise()”.“UnicodeEncodeError:'ascii' codec can't encode characters in position 9-11: ordinal not in range(128)” However,”doc.elements“works fine。

caihuazhi commented 1 week ago

This append when using CemTagger and ChemCrfPosTagger

caihuazhi commented 1 week ago

This happens on Windows but runs normally on Linux