Apertium

Make a validation function for UD annotatrix

Make a function which navigates the tree and collects counts for each child relation type. E.g. nsubj: 1, obj: 1. Then check if:

  • there is more than one subject
  • there is more than one obj relation, or there is obj and ccomp.

If there is then all arcs between the parent and nodes with that relation should be turned red.

Task tags

  • dependency
  • js
  • javascript
  • annotatrix
  • parsing

Students who completed this task

JJJPPP

Task type

  • code Code
close

2017