C
c#, partofspeech, VSTO, word recog
I am trying to develop a class in C# that for each word in a msword document
it recognizes the partofspeech. The problem is that I'm not achieving to use
the thesaurus correctly.
For example:
The phrase: I am a developer.
The structure: <pronoun> + <verb> + <article> + <noun>
Using Microsoft Interop Word API I am only able to access the synonyms of
each word. Just after the synonyms I can get the PartOfSpeech. Is there
anyway to go directly to the word partofspeech? Using the synonyms to get the
partofspeech I can not get a reliable phrase structure. Is possible to do it
with c# and thesaurs or is there another dictionary or API?
Thank you for your attention.
it recognizes the partofspeech. The problem is that I'm not achieving to use
the thesaurus correctly.
For example:
The phrase: I am a developer.
The structure: <pronoun> + <verb> + <article> + <noun>
Using Microsoft Interop Word API I am only able to access the synonyms of
each word. Just after the synonyms I can get the PartOfSpeech. Is there
anyway to go directly to the word partofspeech? Using the synonyms to get the
partofspeech I can not get a reliable phrase structure. Is possible to do it
with c# and thesaurs or is there another dictionary or API?
Thank you for your attention.