Posted 19 years ago
by Greg Shaffer
- Boulder
Hi,
I use the Token.Key field a lot during my semantic parse, which means I do a lot of string compares. It appears that the ID field is meant to allow me do to numeric compares.
Do I need to add an "TokenID" xml attribute to my "...PatternGroup" tags in the language XML file?
In the Readme, it talks about the "LexicalPatternGroup.TokenID" being used to set the Token.ID. Does the ID field have to be unique for each PatternGroup within that state?
Thanks,
Greg
I use the Token.Key field a lot during my semantic parse, which means I do a lot of string compares. It appears that the ID field is meant to allow me do to numeric compares.
Do I need to add an "TokenID" xml attribute to my "...PatternGroup" tags in the language XML file?
In the Readme, it talks about the "LexicalPatternGroup.TokenID" being used to set the Token.ID. Does the ID field have to be unique for each PatternGroup within that state?
Thanks,
Greg