janabeck/Annotald — Issue #18: Groups for verbal extensions
Author: janabeck
Created: 2012-02-17 02:18:26+00:00
State: open
Labels: documentation, enhancement

The toggleVerbExtension function will now toggle verbal (or rather, any POS-level) extensions properly. In order to get the ordering of the tags right, I had to modify the code such that it now expects your vextensions variable in your settings file to be a list of lists, where each sub-list contains a group of tags that pertain to the same "layer" of annotation. By convention, the first sub-list in the vextensions list contains the tags that take the widest scope (i.e., occur last in the tag sequence). For example, my vextensions variable for Greek looks like:

[["-CL"],["-IND","-KJV"],["-TRNS1","-TRNS2","-INTRNS","-PASS"],["-IMPF","-AOR","-PRF"],["-FUT"]]

Here, FUT is a tag indicating tense that should occur right after the actual verbal POS tags, IMPF, AOR, and PRF are tags indicating aspect that should occur after any tense tags, etc. So, a verbal form might be: VBOP-AOR-INTRNS-IND.

Of course, this won't be in the master branch until Aaron puts together the next release...