forked from jsk-ros-pkg/jsk_3rdparty
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from MiyabiTane/add_syntax_google_nlp
[ros_google_cloud_language] add syntax result
- Loading branch information
Showing
7 changed files
with
150 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# https://googleapis.dev/python/language/latest/language_v1/types.html#google.cloud.language_v1.types.DependencyEdge | ||
uint32 ABBREV = 1 | ||
uint32 ACOMP = 2 | ||
uint32 ADVCL = 3 | ||
uint32 ADVMOD = 4 | ||
uint32 ADVPHMOD = 64 | ||
uint32 AMOD = 5 | ||
uint32 APPOS = 6 | ||
uint32 ASP = 77 | ||
uint32 ATTR = 7 | ||
uint32 AUX = 8 | ||
uint32 AUXCAUS = 65 | ||
uint32 AUXPASS = 9 | ||
uint32 AUXVV = 66 | ||
uint32 CC = 10 | ||
uint32 CCOMP = 11 | ||
uint32 CONJ = 12 | ||
uint32 COP = 75 | ||
uint32 CSUBJ = 13 | ||
uint32 CSUBJPASS = 14 | ||
uint32 DEP = 15 | ||
uint32 DET = 16 | ||
uint32 DISCOURSE = 17 | ||
uint32 DISLOCATED = 76 | ||
uint32 DOBJ = 18 | ||
uint32 DTMOD = 67 | ||
uint32 EXPL = 19 | ||
uint32 FOREIGN = 68 | ||
uint32 GMOD = 78 | ||
uint32 GOBJ = 79 | ||
uint32 GOESWITH = 20 | ||
uint32 INFMOD = 80 | ||
uint32 IOBJ = 21 | ||
uint32 KW = 69 | ||
uint32 LIST = 70 | ||
uint32 MARK = 22 | ||
uint32 MES = 81 | ||
uint32 MWE = 23 | ||
uint32 MWV = 24 | ||
uint32 NCOMP = 82 | ||
uint32 NEG = 25 | ||
uint32 NN = 26 | ||
uint32 NOMC = 71 | ||
uint32 NOMCSUBJ = 72 | ||
uint32 NOMCSUBJPASS = 73 | ||
uint32 NPADVMOD = 27 | ||
uint32 NSUBJ = 28 | ||
uint32 NSUBJPASS = 29 | ||
uint32 NUM = 30 | ||
uint32 NUMBER = 31 | ||
uint32 NUMC = 74 | ||
uint32 P = 32 | ||
uint32 PARATAXIS = 33 | ||
uint32 PARTMOD = 34 | ||
uint32 PCOMP = 35 | ||
uint32 POBJ = 36 | ||
uint32 POSS = 37 | ||
uint32 POSTNEG = 38 | ||
uint32 PRECOMP = 39 | ||
uint32 PRECONJ = 40 | ||
uint32 PREDET = 41 | ||
uint32 PREF = 42 | ||
uint32 PREP = 43 | ||
uint32 PRONL = 44 | ||
uint32 PRT = 45 | ||
uint32 PS = 46 | ||
uint32 QUANTMOD = 47 | ||
uint32 RCMOD = 48 | ||
uint32 RCMODREL = 49 | ||
uint32 RDROP = 50 | ||
uint32 REF = 51 | ||
uint32 REMNANT = 52 | ||
uint32 REPARANDUM = 53 | ||
uint32 ROOT = 54 | ||
uint32 SNUM = 55 | ||
uint32 SUFF = 56 | ||
uint32 SUFFIX = 62 | ||
uint32 TITLE = 63 | ||
uint32 TMOD = 57 | ||
uint32 TOPIC = 58 | ||
uint32 UNKNOWN = 0 | ||
uint32 VMOD = 59 | ||
uint32 VOCATIVE = 60 | ||
uint32 XCOMP = 61 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# https://googleapis.dev/python/language/latest/language_v1/types.html#google.cloud.language_v1.types.PartOfSpeech.Tag | ||
uint8 ADJ = 1 | ||
uint8 ADP = 2 | ||
uint8 ADV = 3 | ||
uint8 AFFIX = 13 | ||
uint8 CONJ = 4 | ||
uint8 DET = 5 | ||
uint8 NOUN = 6 | ||
uint8 NUM = 7 | ||
uint8 PRON = 8 | ||
uint8 PRT = 9 | ||
uint8 PUNCT = 10 | ||
uint8 UNKNOWN = 0 | ||
uint8 VERB = 11 | ||
uint8 X = 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# correspond to demo syntax result in https://cloud.google.com/natural-language | ||
string name | ||
string lemma | ||
int32 dependency_edge | ||
int32 part_of_speech | ||
int32 parse_label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters