Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Instead of %words2ids having key-value pairs like
they could perhaps be more like
I'm not really across the specifics of what you want. You should supply a sample tagset file, a sample input file, and the expected output using those two files. My best guess would be changing these lines:
to
You should try this for yourself. If you run into difficulties, put together an SSCCE and post it: along with the two sample files and the expected output, this will give us a much better chance of quickly resolving whatever problems you're encountering. — Ken In reply to Re^3: Finding multiword units in a corpus
by kcott
|
|