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.

Files for allennlp-wordsplitter-corenlp, version 0.1a2
Filename, size File type Python version Upload date Hashes
Filename, size allennlp_wordsplitter_corenlp-0.1a2-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size allennlp_wordsplitter_corenlp-0.1a2.tar.gz (13.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page