Gramformer
Gramformer copied to clipboard
Spacy 3
When using en-core-web-sm there is a problem with the naming of models. Spacy does not support abbreviations of models, now they require full names to load them. That is why I added an optional model parameter to the main class. Also added the calling of model from spacy.
@ercecan How about adding the option to pass in an already initialized nlp instance? It will make it more flexible and allow the users to use the already initialized instances.