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

Non-tree context #7

Open nschneid opened 1 year ago

nschneid commented 1 year ago

Way to show parts of the sentence that aren't properly terminals in the tree, e.g. punctuation

nschneid commented 1 month ago

Can punctuation be appended to the terminals in the tree visualization, without being parsed by discodop as part of the terminals?

nschneid commented 3 weeks ago

It probably makes sense to just include punctuation in the annotation trees. With https://github.com/nert-nlp/cgel/commit/a19790560327bdf1af2f4869896b50d16e0bd44b, cgel2ptb.py will include punctuation nodes in the PTB-style bracketing. May need tweaking—I haven't tested retraining discodop with this.