ckipnlp.driver.base module¶
This module provides base drivers.
-
class
ckipnlp.driver.base.
DriverType
[source]¶ Bases:
enum.IntEnum
The enumeration of driver types.
-
SENTENCE_SEGMENTER
= 1¶ Sentence segmentation
-
WORD_SEGMENTER
= 2¶ Word segmentation
-
POS_TAGGER
= 3¶ Part-of-speech tagging
-
NER_CHUNKER
= 4¶ Named-entity recognition
-
SENTENCE_PARSER
= 5¶ Sentence parsing
-
COREF_CHUNKER
= 6¶ Coreference delectation
-
-
class
ckipnlp.driver.base.
DriverFamily
[source]¶ Bases:
enum.IntEnum
The enumeration of driver backend kinds.
-
BUILTIN
= 1¶ Built-in Implementation
-
TAGGER
= 2¶ CkipTagger Backend
-
CLASSIC
= 3¶ CkipClassic Backend
-
-
class
ckipnlp.driver.base.
DummyDriver
(*, lazy=False)[source]¶ Bases:
ckipnlp.driver.base.BaseDriver
The dummy driver.