Wootang01 commited on
Commit
977de64
1 Parent(s): a89e61f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -34,6 +34,8 @@ def main():
34
 
35
  st.title("Part of Speech Categorizer")
36
  st.write("Paste or type text, submit and the machine will attempt to identify parts of speech. Please note that although the machine can read apostrophes, it cannot read other punctuation marks such as commas or periods.")
 
 
37
  checkpoint = st.selectbox("Choose model", checkpoints)
38
  model = get_model(checkpoint)
39
 
34
 
35
  st.title("Part of Speech Categorizer")
36
  st.write("Paste or type text, submit and the machine will attempt to identify parts of speech. Please note that although the machine can read apostrophes, it cannot read other punctuation marks such as commas or periods.")
37
+ st.write(" The following is the part of speech category key: ADD Email, AFX Affix, CC Coordinating conjunction, CD Cardinal number, DT Determiner, EX Existential there, FW Foreign word, HYPH Hyphen, IN Preposition or subordinating conjunction, JJ Adjective, JJR Adjective, comparative, JJS Adjective, superlative, LS List item marker, MD Modal, NFP Superfluous punctuation, NN Noun, singular or mass, NNP Proper noun, singular, NNPS Proper noun, plural, NNS Noun, plural, PDT Predeterminer, POS Possessive ending, PRP Personal pronoun, PRP$ Possessive pronoun, RB Adverb, RBR Adverb, comparative, RBS Adverb, superlative, RP Particle, SYM Symbol, TO to, UH Interjection, VB Verb, base form, VBD Verb, past tense, VBG Verb, gerund or present participle, VBN Verb, past participle, VBP Verb, non-3rd person singular present, VBZ Verb, 3rd person singular present, WDT Wh-determiner, WP Wh-pronoun, WP$ Possessive wh-pronoun, WRB Wh-adverb, XX Unknown")
38
+
39
  checkpoint = st.selectbox("Choose model", checkpoints)
40
  model = get_model(checkpoint)
41