I would like to create exclamations for a particular sentence using the java API?
e.g. It’s surprising == Isn’t it surprising!
e.g. It’s cold == Isn’t it cold!
Are there any vendors or tools which help you generate exclamations, provided you give a sentence (i.e. the left hand side in the above example). Note: The sentences will be provided by the user and we should be able to get the correct sentence.
I am not sure, if this needs to be tagged under other categories
EDIT1
Some more examples, I would like this to be as generic as possible
e.g. They’re late == Aren’t they late!
e.g. He looks tired == Doesn’t he look tired!
e.g. That child is dirty == Isn’t that child dirty!
e.g. It’s hot == Isn’t it hot!
This question is not about exclamations. You can just add ‘!’ to all your input examples and get valid exclamatory sentences.
You are after grammar transformations, like these.
LingPipe looks like it has some intersting stuff that you could use (it’s java), particularly if you are developing a learning system, and need to recognise ‘parts of speach‘ (like e.g. subject and verb phrase, as per your examples).