Apache OpenNLP · Schema

ParseResult

ParseResult schema from Apache OpenNLP

Machine LearningNatural Language ProcessingNLPText ProcessingApacheOpen SourceJava

Properties

Name Type Description
parseTree string Penn Treebank-style parse tree
probability number Parse probability
View JSON Schema on GitHub

JSON Schema

apache-opennlp-parse-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-parse-result-schema.json",
  "title": "ParseResult",
  "description": "ParseResult schema from Apache OpenNLP",
  "type": "object",
  "properties": {
    "parseTree": {
      "type": "string",
      "description": "Penn Treebank-style parse tree",
      "example": "(S (NP Pierre Vinken) (VP will join (NP the board)))"
    },
    "probability": {
      "type": "number",
      "description": "Parse probability",
      "example": 0.87
    }
  }
}