0

please if I need to specify to check the pattern if it in one sentence or not?

My patterns are: {person}

{Token}*

{Token.string = "call"}

{Token}*

{person}

to be in one sentence.

how could I do this please using JAPE

Thank you

SFS
  • 31
  • 6
  • Possible duplicate of [Jape file to find the pattern within a sentence](https://stackoverflow.com/questions/29198611/jape-file-to-find-the-pattern-within-a-sentence) – dedek May 31 '18 at 12:15
  • There is a nice trick using the `Split` annotation for this. See the linked question in my previous comment. See the second answer: https://stackoverflow.com/a/29208418/1857897 – dedek May 31 '18 at 12:18

0 Answers0