Spacy Model Selector

The node allows to select and load a spaCy model. It's possible to either select one of the official spaCy models or loading a model from file. Once the node is executed, the model is part of the workflow in order to allow for easy sharing of workflows. However, any model that is downloaded is also cached in the location specified in the Redfield NLP Nodes preference page to avoid downloading the same model more than once.

Options

SpaCy official model

The official spaCy models follow a naming scheme that splits the name into multiple components separated by '_'.

  1. The first component indicates the language (e.g. en). Multi-language models use the code xx.
  2. The second component indicates the model type and its capabilities. The type core is for general-purpose pipelines that support tagging, parsing, lemmatization and named entity recognition, while the type dep only supports tagging, parsing and lemmatization.
  3. The genre of text the pipeline is trained on
  4. The size of the pipeline on disc. sm means small, md medium and lg large. Besides the previously sizes there are also trf.sm and trf for transformer based models which tend to be large in general because they contain an entire deep learning model.
For more information also see the official spaCy documentation.

Spacy Model Selection
Select a model by selecting the corresponding line in the table. You can sort the table by any of the columns by clicking on the column header.

Local model

Allows to read a model from a file system.

Read from
The file system to read from. If no file system connection is connected to the node, you can choose from the local file system, a KNIME mountpoint or a relative location.
Folder
The folder containing the pipeline you want to load. Click the Browse... button to open a file browser.

Input Ports

This node has no input ports

Output Ports

Icon
The Spacy model

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.