How to spell-check an individual word

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #1

    How to spell-check an individual word

    Hi all.

    I've done some searching here and the round the web in regard to spell-checking. There are plenty of ways to check a document, or editors (eg. WPF Rich Text box) with checking built in.

    But what I have is simply a chunk of characters picked out of a data stream. I need to check whether it's actually a word, before passing it along. So I'm looking for a quick way my code can spell-check an individual word and get back a "good" or "bad" response, without involving a user interface.

    Oh, this is using VB 2012, and only just getting started with it. (Been using VB6 for ages.)

    I expect I could create a temporary Word document and check that, or place it in a RTF box or something. Just wondering what's easiest. Performance is likely to be an issue, as well. I read about one person here who found it took 30 minutes for Word to check a small document, so that's the sort of pitfall I hope to avoid.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Will you be able to access a database? You could download one of those free word lists and then run a query against the list in a database.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Would prefer not to have to involve a database. It seems like overkill.

      Comment

      Working...