jeudi 14 juin 2018

how to extract multiple result on a line with corenlp tokensregex

I am new to CoreNLP,could anyone help to solve this problem: for the sentence:

A and B are both work as a teacher

how can I design the pattern to extract this sentence . I expect to get the following result:

A is a teacher;
B is a teacher;

Aucun commentaire:

Enregistrer un commentaire