Drivers

class Driver(*, lazy=False, ...)

The prototype of CkipNLP Drivers.

Parameters

lazy (bool) – Lazy initialize the driver. (Call init() at the first call of __call__() instead.)

driver_type: str

The type of this driver.

driver_family: str

The family of this driver.

driver_inputs: Tuple[str, ]

The inputs of this driver.

init()

Initialize the driver (by calling the _init() function).

__call__(*, ...)

Call the driver (by calling the _call() function).

Here are the list of the drivers:

Driver Type \ Family

'default'

'tagger'

'classic'

'classic-client'

Sentence Segmenter

CkipSentenceSegmenter

Word Segmenter

CkipTaggerWordSegmenter

CkipClassicWordSegmenter

Pos Tagger

CkipTaggerPosTagger

CkipClassicWordSegmenter

Ner Chunker

CkipTaggerNerChunker

Constituency Parser

CkipClassicConParser

CkipClassicConParserClient

Coref Chunker

CkipCorefChunker