NCOpenNLPEntityParser
OpenNLP based language independent entity parser configured using OpenNLP name finders models.
This parser prepares NCEntity instances which are detected by the provided models.
These entities are created with type opennlp:modelName
, where modelName
is the model name.
This parser also adds opennlp:modelName:probability
double metadata property to the
entities extracted from the corresponding model.
Some of free OpenNLP community-maintained models can be found here.
NOTE: that parser can be configured with multiple models and therefore may produce different types of NCEntity instances with each input NCToken being "mapped" into zero, one or more different entities. As a result, each input token may be included into more than one output NCEntity instances (or none at all).
- Value parameters:
- findersMdlsRes
Relative paths, absolute paths, resources or URLs to OpenNLP name finders models.
- Source:
- NCOpenNLPEntityParser.scala
Value members
Constructors
Creates new parser with just one model.
Creates new parser with just one model.
- Value parameters:
- mdl
Relative path, absolute path, classpath resource or URL to OpenNLP name finders model.
- Source:
- NCOpenNLPEntityParser.scala
Concrete methods
Parses and converts given list of tokens into the list of entities.
Parses and converts given list of tokens into the list of entities.
- Definition Classes
- Source:
- NCOpenNLPEntityParser.scala
Inherited methods
Called when the component starts. Default implementation is no-op.
Called when the component starts. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala
Called when the component stops. Default implementation is no-op.
Called when the component stops. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala