Tokenize By Sentence

Splits text into sentences, and further tokenizes each sentence

Algorithmia Platform License · Calls Other Algorithms

Run an Example

[
  [
    "This",
    "is",
    "a",
    "sentence",
    "."
  ],
  [
    "This",
    "is",
    "another",
    "sentence",
    "."
  ]
]

Install & Use

Use

curl -X POST -d '"This is a sentence. This is another sentence."' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/ApacheOpenNLP/TokenizeBySentence/0.1.0