You generally don’t want to use buildParser in production, since parser generation should really be an ahead-of-time process. That function is mostly there to make testing easier. buildParserFile builds both a parser and a terms file. But if you really want to, you can use the terms argument to the functions passed as options to buildParser to get access to the term table.