Hi all, I'm trying to do a constituency parsing on Non-English sentence (Indonesian) using OpenNLP. I already have a training data (attached) but I don't know how to create a head rules. As far as I can understand, head rules is a set of CFG production rules but I can't understand the format. Could anyone help to explain how to create a head rules from a training data?
I also notice that in documentation ( https://opennlp.apache.org/documentation/1.6.0/manual/opennlp.html#tools.parser.training), there is no example yet on using API to train a parser. Could anyone provide a brief example on this? Many t hanks. Yohanes Gultom