nschneid / activedop

A treebank annotation tool based on a statistical parser that is re-trained during annotation
GNU General Public License v2.0
2 stars 1 forks source link

On server restart, tokenized sentence string is reloaded from sentences list even if an annotation is saved #9

Open nschneid opened 1 year ago

nschneid commented 1 year ago

Changing tokenization means there is no way to look up the saved annotation without manually retokenizing. This is because annotations appear to be indexed by the sentence string, not by a sentence ID.

In the meantime, the solution is to manually keep the sentences list in sync with any changes to the tokenization (and rerun initpriorities after any change).