Apache OpenNLP · JSON Structure

Apache Opennlp Named Entity Structure

NamedEntity schema from Apache OpenNLP

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

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

Properties

text type start end probability

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-named-entity-structure.json",
  "description": "NamedEntity schema from Apache OpenNLP",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Entity text",
      "example": "Pierre Vinken"
    },
    "type": {
      "type": "string",
      "description": "Entity type",
      "example": "person",
      "enum": [
        "person",
        "location",
        "organization",
        "date",
        "time",
        "money",
        "percent",
        "misc"
      ]
    },
    "start": {
      "type": "int32",
      "description": "Start token index",
      "example": 0
    },
    "end": {
      "type": "int32",
      "description": "End token index (exclusive)",
      "example": 2
    },
    "probability": {
      "type": "double",
      "description": "Confidence score",
      "example": 0.95
    }
  },
  "name": "NamedEntity"
}