The prototype of CkipNLP Drivers.
- param bool lazy
Lazy initialize the driver. (Call
init()
at the first call of__call__()
instead.)
driver_type
The type of this driver.
driver_family
The family of this driver.
driver_inputs
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 Word Segmenter Pos Tagger Ner Chunker Constituency Parser Coref Chunker |
† † |
‡ |
- † Not compatible with .
- ‡ Please register an account at http://parser.iis.sinica.edu.tw/v1/reg.php and set the environment variables
$CKIPPARSER_USERNAME
and$CKIPPARSER_PASSWORD
.