В natasha делаю print(doc.sents)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 25-29: ordinal not in range(256)
А на системе какая кодировка? import sys import locale print( sys.getfilesystemencoding(), lacale.getpreferredencoding()), и тогда настроить, ну или в try except обернуть,может,так как- нить