Posted 20 years ago
by Marianne
I'm able to use the semantic parser to apply SemanticParseData to tokens during any typing that the user does. However, when a script is loaded, it doesn't seem that each token is routed through the semantic parser on loading. Is this correct? And if so, do I need to iterate over every token myself to do the semantic parsing?
Second issue, when a block of text containing multiple tokens is deleted, and one of those tokens hold SemanticParseData, how can I get that data? All I can go is get the modification.DeletedText which is just a string that doesn't contain lexical/semantic information. If I'm not able to get the semantic data, then I don't know when to update my own internal information that is based on that semantic data.
Thanks.
Second issue, when a block of text containing multiple tokens is deleted, and one of those tokens hold SemanticParseData, how can I get that data? All I can go is get the modification.DeletedText which is just a string that doesn't contain lexical/semantic information. If I'm not able to get the semantic data, then I don't know when to update my own internal information that is based on that semantic data.
Thanks.
------------------------------- Marianne