github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/matn/word-type.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package matn 4 5 // WordType indicate any word||phrase type 6 type WordType uint16 7 8 // Word||phrases types 9 const ( 10 WordTypeUnset WordType = iota 11 WordTypeTag // Mentions something e.g. tag a user > @omid 12 WordTypeHashTag // Mentions some topic e.g. #Victory 13 WordTypeURI // Email addresses > Jane.Doe@example.com || URLs > https://github.com/jdkato/prose 14 WordTypeEmoticon // :-), >:(, o_0, etc. 15 16 // ... 17 /* 18 CC conjunction, coordinating 19 CD cardinal number 20 DT determiner 21 EX existential there 22 FW foreign word 23 IN conjunction, subordinating or preposition 24 JJ adjective 25 JJR adjective, comparative 26 JJS adjective, superlative 27 LS list item marker 28 MD verb, modal auxiliary 29 NN noun, singular or mass 30 NNP noun, proper singular 31 NNPS noun, proper plural 32 NNS noun, plural 33 PDT predeterminer 34 POS possessive ending 35 PRP pronoun, personal 36 PRP$ pronoun, possessive 37 RB adverb 38 RBR adverb, comparative 39 RBS adverb, superlative 40 RP adverb, particle 41 SYM symbol 42 TO infinitival to 43 UH interjection 44 VB verb, base form 45 VBD verb, past tense 46 VBG verb, gerund or present participle 47 VBN verb, past participle 48 VBP verb, non-3rd person singular present 49 VBZ verb, 3rd person singular present 50 WDT wh-determiner 51 WP wh-pronoun, personal 52 WP$ wh-pronoun, possessive 53 WRB wh-adverb 54 */ 55 )