Apache OpenNLP · JSON Structure

Apache Opennlp Sentence Detection Result Structure

SentenceDetectionResult schema from Apache OpenNLP

Type: object Properties: 2
Machine LearningNatural Language ProcessingNLPText ProcessingApacheOpen SourceJava

SentenceDetectionResult is a JSON Structure definition published by Apache OpenNLP, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sentences spans

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-opennlp/refs/heads/main/json-structure/apache-opennlp-sentence-detection-result-structure.json",
  "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"
      }
    }
  },
  "name": "SentenceDetectionResult"
}