Code Monkey home page Code Monkey logo

netspell's Introduction

NetSpell

Spell Checker for .net

NuGet Version

Download

The NetSpell library is available on nuget.org via package name NetSpell.

To install NetSpell, run the following command in the Package Manager Console

PM> Install-Package NetSpell

More information about NuGet package available at https://nuget.org/packages/NetSpell

Development Builds

Development builds are available on the myget.org feed. A development build is promoted to the main NuGet feed when it's determined to be stable.

In your Package Manager settings add the following package source for development builds: http://www.myget.org/F/loresoft/

Overview

The NetSpell project is a spell checking engine written entirely in managed C# .net code. NetSpell's suggestions for a misspelled word are generated using phonetic (sounds like) matching and ranked by a typographical score (looks like). NetSpell supports multiple languages and the dictionaries are based on the OpenOffice Affix compression format. The library can be used in Windows or Web Form projects. The download includes an English dictionary with dictionaries for other languages available for download on the project web site. NetSpell also supports user added words and automatic creation of user dictionaries. The package includes a dictionary build tool to build custom dictionaries.

Dictionaries

NetSpell dictionaries are based on the OpenOffice dictionary format. You can use the Dictionary build tool to convert OpenOffice dictionaries to the NetSpell format. OpenOffice dictionaries can be downloaded here: http://lingucomponent.openoffice.org/dictionary.html

Features

  • Detect misspelled works
  • Generate suggestions for misspelled word
  • Rank possible words for misspelled word
  • Support multiple dictionaries

Change Log

NetSpell 2.1.7

  • Fixed DeleteWord bug
  • Improved white space handling for DeleteWord
  • Renamed SpellingForm to SuggestionForm
  • Renamed en-uk.dic to en-gb.dic

NetSpell 2.1.6

  • Fixed EndOfText event bugs
  • Fixed ReplaceWord bug
  • Added AlertComplete Property to enable or disable Spell Check Complete message box.
  • Added FreeTextBox Demo

NetSpell 2.1.5

  • Changed internal form to lazy load for better resource use in an asp.net application
  • Made properties less dependant on the order in wish they are set.
  • Fixed a dispose bug in internal form
  • Bug fixes in Dictionary Build tool

NetSpell 2.1

  • Implemented spell checking for a range of words
  • Added events for ReplacedWord, IgnoredWord, and DeletedWord
  • IgnoreList and ReplaceList no longer reset when the Text property is set
  • Spelling.Dictionary now lazy loads to make sharing the dictionary more efficient
  • WordDictionary is now a component to better support design time and dictionary sharing
  • Tracing as been added
  • Improved HTML, XML and RTF support
  • Added several new demos

NetSpell 2.0.3

  • Major bug fix in WordDictionary.Contains method
  • update ignore html routine
  • replace all bug fix
  • minor web demo bug fixes

NetSpell 2.0.2

  • web demo bug fixes
  • changes to user dictionary

NetSpell 2.0.1

  • Complete change to the dictionary
  • Added international support
  • Added Affix compression support
  • Dictionary now based on OpenOffice dictionary format
  • Improved web demo
  • web demo now supports Ignore All, Replace All and Add Word
  • Windows demo changed to a MDI text editor

NetSpell 1.1

  • Added Html Ignore support
  • Changed license to BSD for more flexibility

NetSpell 1.0

  • More improvements to Visual Studio designer
  • Replace word bug fix
  • Improved suggestions by using Ispell's near miss strategy
  • Misc bug fixes

NetSpell 0.9

  • Added MainDictionary property to spelling object
  • Added UserDictionary property to spelling object to make it easier to identify when there was a user dictionary
  • Changed constructor Spelling(string dictionaryFile, string text) to Spelling(string mainDictionaryFile, string userDictionaryFile)
  • Added SpellingForm property to expose the internal suggestion form
  • Added 'Add' button to internal suggestion form
  • Improved Visual Studio designer support
  • Added Web Demo project to demonstrate using NetSpell in an Asp.Net project
  • Misc bug fixes

netspell's People

Contributors

pwelter34 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netspell's Issues

Check spelling in game

Hi, I want to use this to check the spelling inside my game, so I don't need the window that pops up. Is there any way to prevent it form appearing?

Add pt_PT dictionary

Hi,

I would like to add pt_PT dictionary to your list, to make it available for Family Tree Maker (FTM).

I tried to find an executable for your DictionaryBuild tool, but no luck. Only found a bunch of files that I don´t understand.

Could you please indicate how to proceed to a non-developer?
I could then fork and create a pull request, if it is how it's done...

Here is an OpenOffice dictionary I have on my repository, with the rest of my ongoing work on a translation memory/collection of tools for Portugal.

Best regards,
Pedro

NOT an issue , but an improvement : load / save user words

it would be nice to give the user the ability to manage the user words by his own.
the following implementation works.
the new code is between >>> and <<<

    public class WordDictionary : System.ComponentModel.Component
    {
        ...

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    public delegate string [] LoadUserWordsDelegate () ;
    public delegate void SaveUserWordsDelegate ( string [] Words ) ;

    public LoadUserWordsDelegate LoadUserWords { set ; get ; }
    public SaveUserWordsDelegate SaveUserWords { set ; get ; }
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

        public WordDictionary()
        {
            InitializeComponent();
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
            LoadUserWords = null ;
            SaveUserWords = null ;
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        }

	    private void LoadUserFile()
	    {
		    // load user words
		    _userWords.Clear();

      // quit if user file is disabled
		    if(!this.EnableUserFile) return;

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if ( LoadUserWords != null )
{
string [] Words = LoadUserWords () ;
foreach ( string Word in Words )
_userWords.Add(Word, Word);
}
else
{
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// original code
}
}

	    private void SaveUserFile()
	    {

		    // quit if user file is disabled
		    if(!this.EnableUserFile) return;

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if ( SaveUserWords != null )
{
List < string > Words = new List < string > () ;
foreach (string tempWord in _userWords.Keys)
Words . Add ( tempWord ) ;
SaveUserWords ( Words . ToArray () );
}
else
{
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// original code
}
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.