Thank you for the feedback. I do need this functionality. It is very useful for feature extraction. In fact, to me it seems so core to how feature extraction is usually done that I am surprised that there isn't a default index(es) for annotation order. Whether you are doing POS tagging, WSD, NER, chunking, semantic role labeling or whatever you almost always want to know what the nearby annotations are (e.g. what is the POS of the token two to the left of the current annotation.)
This approach is fine, if you need that kind of functionality.  I've
seen it used elsewhere.

--Thilo



Reply via email to