loresoft / netspell Goto Github PK
View Code? Open in Web Editor NEWSpell Checker for .NET
License: MIT License
Spell Checker for .NET
License: MIT License
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
Please mention under which license this library is provided for use?
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?
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
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.