Professional Development

Pro-D
  • Front Page
  • Contact
  • Log in
  • « Repro training
  • QT: learning about directory views and models »

POS tagging tool

Posted by mholmes on 19 Aug 2010 in Activity log

From a post by LB, I learned about tree-tagger, which I've downloaded, installed, and briefly tested. It seems to work very well, producing POS-tagged text from input. I also grabbed LB's aftertag.pl PERL script, which is supposed to turn the tree-tagger output into good TEI.

Unfortunately, the PERL script doesn't want to run -- there are several errors:

syntax error at aftertag.pl line 7, near "<"
syntax error at aftertag.pl line 7, near ";) "
Unmatched ) in regex; marked by &lt;-- HERE in m/&lt;!--) &lt;-- HERE  { # tag found<br / at aftertag.pl line 10.

Figured that perhaps the HTML entities were the product of the publishing engine on LB's blog site, so replaced them with angle brackets in line 7. That left me with the line 10 error, which I still haven't figured out. I'll come back to this, because it will be really useful.

This entry was posted by Martin and filed under Activity log.

Professional Development

This blog is used to record research and learning we do which is not part of a specific project, such as learning a new programming language in anticipation of using it for future projects, or installing and testing development tools that may be useful.
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Announcements
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
What is RSS?

Recent Posts

  • Expenses claim
  • Another hour on QT
  • A little QT learning
  • Repro training
  • POS tagging tool
  • QT: learning about directory views and models
  • QT: Preparing icon collection for use as a resource
  • QT: learning about namespaces, enums, and writing classes
  • QT: Successful portable app with SVG icons
  • QT work

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • Social CMS software