Package: yapps2 Version: 2.1.1-17 I tried the following example from the documentation of the package, and the parser chokes if I choose the article 'an'.
$ cat tinyenglish.g parser TinyEnglish: ignore: "\\W+" token noun: "(Jack|spam|ship)" token verb: "(sank|threw)" token article: "(a|an|the)" token adjective: "(blue|red|green)" rule sentence: noun_phrase verb noun_phrase rule noun_phrase: [article] adjective* noun $ yapps tinyenglish.g $ python tinyenglish.py sentence an Jack threw the spam <f.0>:1:1: Trying to find one of noun, adjective > an Jack threw the spam > ^ while parsing noun_phrase(): while parsing sentence(): None $ However, it works fine if I replace the definition of article by: token article: "(an|a|the)" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]