LTP word splitter for AllenNLP
Project description
allennlp_wordsplitter_ltpnlp
Add a LTP WordSplitter
into AllenNLP's tokenizers.
config
{
"dataset_reader": {
// ... ...
"tokenizer": {
"word_splitter": {
"type": "ltp_remote",
"url": "http://10.1.1.174:12345/ltp"
}
},
// ... ...
},
// ... ...
}
CLI
allennlp train --include-package allennlp_wordsplitter_ltp -s /your/output/dir /your/training/config/file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for allennlp_wordsplitter_ltp-0.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0ae57efde2972d7f3a21f14a9625770c1bac67fe50fb3d120f548ac3bf286c |
|
MD5 | b2e179a76df6694365e7c46ca26b86ea |
|
BLAKE2b-256 | 1179645719636ec0eac807156e96d1bb55dd6c77fac8b5d417ba42465ea6bccb |
Close
Hashes for allennlp_wordsplitter_ltp-0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a03b33969fb71e9ac8ae9c4f7e1db983b51aa95da534e1a55cb4668c62767f11 |
|
MD5 | 449413066b8a8a9ab9d2496aceac3d39 |
|
BLAKE2b-256 | 1a5498637e88f4e20680cd15f7a724580b54a77bd51e1882792092426512e896 |