forked from NoahRic/Spellchecker
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathreleasenotes.txt
39 lines (22 loc) · 1.32 KB
/
releasenotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Multi-Language Spell Checker
Motivation:
When developing Software with an UI other than english, spell checker needs to be able to spell check enligsh and the UI langauge,
because many programmers still use english for comments, error messages etc.
Implemented Features:
- Support for spell checking multiple languages.
The checker checks for correct spelling in multiple configurable languages in the same text.
- Configurable language support through smarttags.
- Configuration of custom Dictionaries.
Changes:
Configuration.cs
A class with implementing a persistent Model for language configuration.
SpellingTagger.cs:
class SpellingTagger:
- Introduced SpellingTagger.Language Property
CheckSpellings:
Instead of only one textBox, there is a List of textBoxes for each language. The textboxes are initialized according to the Languages Property, and default or custom dictionaries are loaded:
GetMisspellingsInSpans:
This method now checks in every configured language. Instead of the textBox parameter it expects a List of textboxes.
The while loop looping over spelling errors has become rather complicated, as it has to distinguish many cases, and also needs to be smart when detecting different languages in the same sentence.
SmartTags:
Additional SmartTags and a configuration dialog for configuring languages are provided.