Skip to main content

CoreNLP word splitter for AllenNLP

Project description

allennlp_wordsplitter_corenlp

Add a CoreNLP WordSplitter into AllenNLP's tokenizers.

config

{
  "dataset_reader": {

    // ... ...

    "tokenizer": {
      "word_splitter": {
        "type": "corenlp_remote",
        "url": "http://10.1.1.174:9000"
      }
    },

    // ... ...

  },

  // ... ...

}

CLI

allennlp train --include-package allennlp_wordsplitter_corenlp -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_corenlp-0.1a2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file allennlp_wordsplitter_corenlp-0.1a2.tar.gz.

File metadata

  • Download URL: allennlp_wordsplitter_corenlp-0.1a2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for allennlp_wordsplitter_corenlp-0.1a2.tar.gz
Algorithm Hash digest
SHA256 b82ef6e50f6f327c7554b7cde88c4be4a6ff8866ecf29deadbb85392d806ff88
MD5 f901e80727a66dd1c60b6710997a00a5
BLAKE2b-256 39748749b3b11be425a762efb279f40ecfc34eb834ae81d2290d3993195b7d94

See more details on using hashes here.

File details

Details for the file allennlp_wordsplitter_corenlp-0.1a2-py3-none-any.whl.

File metadata

  • Download URL: allennlp_wordsplitter_corenlp-0.1a2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for allennlp_wordsplitter_corenlp-0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c5cf58ec97ba3ce1f04008339cc4ce850a58922fae6d1570e3318ebec741831
MD5 89a4d8bf4676e588cc0dd4c3655182a2
BLAKE2b-256 04e78f0e59c6544e9e8994dfc0cb21e15faec6e8a180527f3c1ec44be29cdeee

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