Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nagachika/a41a8b673f61bc5a53d4aae6e3fd6aee to your computer and use it in GitHub Desktop.
Save nagachika/a41a8b673f61bc5a53d4aae6e3fd6aee to your computer and use it in GitHub Desktop.
Cloud Language API v1 Syntax Response Schema for BigQuery
[
{
"name": "language",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "sentences",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "text",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "begin_offset",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "content",
"type": "STRING",
"mode": "NULLABLE"
}
]
},
{
"name": "sentiment",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "magnitude",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "score",
"type": "FLOAT",
"mode": "NULLABLE"
}
]
}
]
},
{
"name": "tokens",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "part_of_speech",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "proper",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "case",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "tense",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "reciprocity",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "form",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "number",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "voice",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "aspect",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "mood",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "tag",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "gender",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "person",
"type": "STRING",
"mode": "NULLABLE"
}
]
},
{
"name": "text",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "begin_offset",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "content",
"type": "STRING",
"mode": "NULLABLE"
}
]
},
{
"name": "dependency_edge",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "label",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "head_token_index",
"type": "INTEGER",
"mode": "NULLABLE"
}
]
},
{
"name": "lemma",
"type": "STRING",
"mode": "NULLABLE"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment