NCOpenNLPTokenParser

class NCOpenNLPTokenParser(tokMdlRes: String) extends NCTokenParser with LazyLogging

OpenNLP based language independent entity parser configured using path to OpenNLP tokenizer model.

Some of free OpenNLP community-maintained models can be found here.

Value parameters:
tokMdlRes

Relative path, absolute path, classpath resource or URL to the tokenizer model.

Source:
NCOpenNLPTokenParser.scala
trait LazyLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

override def tokenize(text: String): List[NCToken]

Splits given text into list of tokens.

Splits given text into list of tokens.

Definition Classes
Source:
NCOpenNLPTokenParser.scala

Inherited fields

lazy protected val logger: Logger
Inherited from:
LazyLogging
Source:
Logging.scala