1 / 12

Stanford POS tagger

Stanford POS tagger. 17 th February 2011. System requirement. Java 1.5+ http://www.java.com/en/download/index.jsp. Part-of-speech name abbreviations. Download. http://nlp.stanford.edu/software/stanford-postagger-2010-05-26.tgz. GUI. GUI. Command. generate a default properties file.

cairo-odom
Download Presentation

Stanford POS tagger

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stanford POS tagger 17th February 2011

  2. System requirement • Java 1.5+ • http://www.java.com/en/download/index.jsp

  3. Part-of-speech name abbreviations

  4. Download • http://nlp.stanford.edu/software/stanford-postagger-2010-05-26.tgz

  5. GUI

  6. GUI

  7. Command • generate a default properties file. • Tag file.

  8. generate a default properties filecommand • java -classpath stanford-postagger.jar edu.stanford.nlp.tagger.maxent.MaxentTagger -genprops > myPropsFile.prop

  9. Tag file command • java -mx300m -classpath stanford-postagger.jar edu.stanford.nlp.tagger.maxent.MaxentTagger -model models/bidirectional-distsim-wsj-0-18.tagger -textFile sample-input.txt > sample-tagged.txt

  10. Command

  11. Result • sample-input.txt The School of Liberal Arts was originally the Department of Language and Social Studies under the Faculty of Industrial Education. • sample-tagged.txt The_DTSchool_NNof_INLiberal_JJArts_NNSwas_VBDoriginally_RBthe_DTDepartment_NNPof_INLanguage_NNPand_CCSocial_NNPStudies_NNPunder_INthe_DTFaculty_NNPof_INIndustrial_NNPEducation_NNP ._.

  12. Q&A

More Related