Skip to content

Instantly share code, notes, and snippets.

@Gram21
Created October 17, 2018 15:27
Show Gist options
  • Save Gram21/dde3dc1e5fbb582109e20330578beb98 to your computer and use it in GitHub Desktop.
Save Gram21/dde3dc1e5fbb582109e20330578beb98 to your computer and use it in GitHub Desktop.
# POS Tags #
ADJECTIVE("JJ")
ADJECTIVE_COMPARATIVE(ADJECTIVE + "R")
ADJECTIVE_SUPERLATIVE(ADJECTIVE + "S")
ADVERB("RB")
ADVERB_COMPARATIVE(ADVERB + "R")
ADVERB_SUPERLATIVE(ADVERB + "S")
ADVERB_WH("W" + ADVERB)
CONJUNCTION_COORDINATING("CC")
CONJUNCTION_SUBORDINATING("IN")
CARDINAL_NUMBER("CD")
DETERMINER("DT")
DETERMINER_WH("W" + DETERMINER)
EXISTENTIAL_THERE("EX")
FOREIGN_WORD("FW")
LIST_ITEM_MARKER("LS")
NOUN("NN")
NOUN_PLURAL(NOUN + "S")
NOUN_PROPER_SINGULAR(NOUN + "P")
NOUN_PROPER_PLURAL(NOUN + "PS")
PREDETERMINER("PDT")
POSSESSIVE_ENDING("POS")
PRONOUN_PERSONAL("PRP")
PRONOUN_POSSESSIVE("PRP$")
PRONOUN_POSSESSIVE_WH("WP$")
PRONOUN_WH("WP")
PARTICLE("RP")
SYMBOL("SYM")
TO("TO")
INTERJECTION("UH")
VERB("VB")
VERB_PAST_TENSE(VERB+ "D")
VERB_PARTICIPLE_PRESENT(VERB + "G")
VERB_PARTICIPLE_PAST(VERB + "N")
VERB_SINGULAR_PRESENT_NONTHIRD_PERSON(VERB + "P")
VERB_SINGULAR_PRESENT_THIRD_PERSON(VERB + "Z")
VERB_MODAL("MD")
CLOSER(".")
COMMA(",")
COLON(":")
LEFT_PAREN("(")
RIGHT_PAREN(")")
NONE("NONE")
# ChunkIOB Values #
NOUN_PHRASE_BEGIN("B-NP"), NOUN_PHRASE_INSIDE("I-NP")
PREPOSITIONAL_PHRASE_BEGIN("B-PP"), PREPOSITIONAL_PHRASE_INSIDE("I-PP")
VERB_PHRASE_BEGIN("B-VP"), VERB_PHRASE_INSIDE("I-VP")
ADVERB_PHRASE_BEGIN("B-ADVP"), ADVERB_PHRASE_INSIDE("I-ADVP")
ADJECTIVE_PHRASE_BEGIN("B-ADJP"), ADJECTIVE_PHRASE_INSIDE("I-ADJP")
SUBORDINATING_CONJUNCTION_BEGIN("B-SBAR"), SUBORDINATING_CONJUNCTION_INSIDE("I-SBAR")
PARTICLE_BEGIN("B-PRT"), PARTICLE_INSIDE("I-PRT")
INTERJECTION_BEGIN("B-INTJ"), INTERJECTION_INSIDE("I-INTJ")
CONJUNCTION_PHRASE_BEGIN("B-CONJP"), CONJUNCTION_PHRASE_INSIDE("I-CONJP")
UNLIKE_COODINATED_PHRASE_BEGIN("B-UCP"), UNLIKE_COODINATED_PHRASE_INSIDE("I-UCP")
LIST_MARKER_BEGIN("B-LST"), LIST_MARKER_INSIDE("I-LST")
OUTSIDE("O")
UNDEFINED("UNDEF")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment