Apache OpenNLP · Schema

LanguageProbability

LanguageProbability schema from Apache OpenNLP

Machine LearningNatural Language ProcessingNLPText ProcessingApacheOpen SourceJava

Properties

Name Type Description
language string ISO-639-3 language code
probability number Probability score
View JSON Schema on GitHub

JSON Schema

apache-opennlp-language-probability-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-language-probability-schema.json",
  "title": "LanguageProbability",
  "description": "LanguageProbability schema from Apache OpenNLP",
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "description": "ISO-639-3 language code",
      "example": "eng"
    },
    "probability": {
      "type": "number",
      "description": "Probability score",
      "example": 0.98
    }
  }
}