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 |
|
|
|
|
|---|---|---|---|---|
Sentence Segmenter |
||||
Word Segmenter |
||||
Pos Tagger |
||||
Ner Chunker |
||||
Constituency Parser |
||||
Coref Chunker |
† Not compatible with
CkipCorefPipeline.‡ Please register an account at http://parser.iis.sinica.edu.tw/v1/reg.php and set the environment variables
$CKIPPARSER_USERNAMEand$CKIPPARSER_PASSWORD.