Closed TomazErjavec closed 8 months ago
As described in the documentation, only Slovenian standard morphosyntactic tagging model supports inflectional lexicon. Therefor, if you want to use non-standard models, you will have to remove pos_use_lexicon=True
parameter.
That said, I agree that the error message is misleading, so it will be updated in the next release.
@lkrsnik, thanks for the explanation. All clear now, except, as you note, the error message.
Annotating standard Slovene works for me, but now I tried to annotate a pre-tokenised Slovene text with the non-standard model using
and I got the following error message:
First, this message gives wrong advice: I do have the standard Slovenian models, and they work, and if I run
classla.download('sl')
, it just says that the models exists (and then downloads them anyway). I figured out I need to do the following, which seemed to work, although also seems to indicate I already have the non-standard models as well:The problem is, that if I now run annotation with non-standard models I get exactly the same error as before:
It might be I am doing something wrong - but I don't know what, and the error message certainly does not help...