Apache OpenNLP · Schema

SentenceDetectionResult

SentenceDetectionResult schema from Apache OpenNLP

Machine-LearningNatural Language ProcessingNLPText ProcessingApacheOpen-SourceJava

Properties

Name Type Description
sentences array Detected sentences
spans array
View JSON Schema on GitHub

JSON Schema

apache-opennlp-sentence-detection-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-opennlp/refs/heads/main/json-schema/apache-opennlp-sentence-detection-result-schema.json",
  "title": "SentenceDetectionResult",
  "description": "SentenceDetectionResult schema from Apache OpenNLP",
  "type": "object",
  "properties": {
    "sentences": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Detected sentences",
      "example": [
        "Pierre Vinken will join the board.",
        "He is 61 years old."
      ]
    },
    "spans": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Span"
      }
    }
  }
}