Natural language rendering
Do you know any frameworks that implement natural language rendering concept ?
I've found several NLP oriented frameworks like Anthelope or Open NLP b开发者_Go百科ut they have only parsers but not renderers or builders. For example I want to render a question about smth. I'm constructing sentence object, setting it's properties, specify it's language and then render as a plain text. Please advice. Thanks !Isn't a plain text renderer as simple as "concatenate all the sentence structures in order" (pseudocode, I know)? Something like a tree traversal + StringBuilder
or the non-.NET equivalent of it? So couldn't you write one based on the sentence object definition you are obviously already using? And wouldn't the large complexity difference be a reason that NLP oriented frameworks only seem to do parsing?
(Please feel free to tell me off for not getting the question if you think this is approriate...)
精彩评论