Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allennlp_wordsplitter_ltp-0.1a1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file allennlp_wordsplitter_ltp-0.1a1.tar.gz.

File metadata

  • Download URL: allennlp_wordsplitter_ltp-0.1a1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for allennlp_wordsplitter_ltp-0.1a1.tar.gz
Algorithm Hash digest
SHA256 cf0ae57efde2972d7f3a21f14a9625770c1bac67fe50fb3d120f548ac3bf286c
MD5 b2e179a76df6694365e7c46ca26b86ea
BLAKE2b-256 1179645719636ec0eac807156e96d1bb55dd6c77fac8b5d417ba42465ea6bccb

See more details on using hashes here.

File details

Details for the file allennlp_wordsplitter_ltp-0.1a1-py3-none-any.whl.

File metadata

  • Download URL: allennlp_wordsplitter_ltp-0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for allennlp_wordsplitter_ltp-0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a03b33969fb71e9ac8ae9c4f7e1db983b51aa95da534e1a55cb4668c62767f11
MD5 449413066b8a8a9ab9d2496aceac3d39
BLAKE2b-256 1a5498637e88f4e20680cd15f7a724580b54a77bd51e1882792092426512e896

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page