POS tagging tool

19/08/10

Permalink 01:02:31 pm, by mholmes, 150 words, 449 views   English (CA)
Categories: Activity log; Mins. worked: 60

POS tagging tool

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.

Pingbacks:

No Pingbacks for this post yet...

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.

Reports

Categories

July 2014
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

XML Feeds