none
Grammar API RRS feed

  • Question

  • Hi,

    I am thinking of developing a grammar checker for Word.

    I know there is CSAPI API for spelling and would like to ask if there is an equivalent API for grammar ?

     


    TX Guy
    Tuesday, November 16, 2010 9:29 AM

All replies

  • Hi Guy Shalom,

    Usually, you have three choices:
    1. Write the code to do the checking by yourself
    2. use Word to do the checking for you ( which means your code will require Word on all target machines )
    3. find another existing component ( probably not free ) that offers these services.

    Here is a link about open source grammer checker
    http://stackoverflow.com/questions/1162220/open-source-grammar-checker

    Also how to use CSAPI
    http://www.codeproject.com/KB/recipes/csapi.aspx?msg=31830

    http://msdn.microsoft.com/en-us/library/ms173188(VS.80).aspx

    Hope they will be helpful!

    Best Regards,
    Amy Li


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, November 17, 2010 3:01 AM
    Moderator
  • Amy Li,

    Thanks for your reply.

    I think I was not clear enough and will try explain my purpose:

    I would like to provide a plug-in for MS Word, that would utilize Word's UI for spelling and grammar (the curly red and green underlines and the F7-Spelling&Grammar dialog) while using another spelling/grammar engine.

    The flow will be something like that::

    1. The user finishes to write a sentence

    2. MS Word calls my plugin supplying the sentence

    3. My plugin checks the text and returns to MS Word information about grammar mistakes.

    4. Word puts the green wavy underlines on these words.

     

    CSAPI enables doing it but only for Spelling (e.g. red wavy underlines) but not for grammar (green wavy underline).

    So my question: is there is a complemntary API that enables to do it for Grammar?


    TX Guy
    Wednesday, November 17, 2010 6:51 AM