Image of a hub, © Paul Watson, CC  BY-NC-SA 2.0 The Linguistic Teaching resources Hub
Image © Paul Watson, Licence CC BY-NC-SA 2.0

Stanford PoS Tagger: tagging from Python

* Sabine Bartsch *

Keywords: part of speech, tagger, Stanford, python, NLTK

http://www.linguisticsweb.org/doku.php?id=linguisticsweb:tutorials:linguistics_tutorials:automaticannotation:stanford_pos_tagger_python

The Stanford PoS Tagger is itself written in Java, so can be easily integrated in and called from Java programs. However, many linguists will rather want to stick with Python as their preferred programming language, especially when they are using other Python packages such as NLTK as part of their workflow. And while the Stanford PoS Tagger is not written in Python, it can nevertheless be more or less seamlessly integrated into Python programs. In this tutorial, we will be looking at two principal ways of driving the Stanford PoS Tagger from Python and show how this can be done with single files and with multiple files in a directory.

Feedback

Sorry, there is no feedback available. Be the first one to provide feedback!

Resource details

Institution: linguisticsweb.org
Year of publication: 2019
Language: english
Type: Tutorial
Audience: linguists
Level: ------
Prerequisites:

The Stanford POS Tagger

Media: text/html
Objective:

Learn how to run the Stanford POS tagger from python

Licence:
Access: open
Creation date: Wednesday, 10 June 2020 18:07:01
Last modified: Saturday, 27 April 2024 03:36:59
BibTeX type: @misc
BibTeX entry:
@misc(TeLeMaCo:430,
author = "Bartsch, Sabine",
title = "{S}tanford {P}o{S} {T}agger: tagging from {P}ython",
year = "2019",
url = "http://www.linguisticsweb.org/doku.php?id=linguisticsweb:tutorials:linguistics\_tutorials:automaticannotation:stanford\_pos\_tagger\_python"
)
  

Helpdesk Button