spencermountain / compromise

modest natural-language processing

Home Page:http://compromise.cool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query: Does Compromise.js compile RegExes from match-syntax?

thegoatherder opened this issue · comments

commented

Do match-syntax patterns ultimately get compiled down to regexes? If so, how can I access them?

hi Adam, no it doesn't.
You can see the match tokens with nlp.parseMatch(), and you can see the match logic here
cheers