Installation
Installation
Via NuGet:
dotnet add package Skybrud.TextAnalysis --version 2.0.0
or:
Install-Package Skybrud.TextAnalysis -Version 2.0.0
Changelog
-
Added .NET Framework 4.7.2 as an additional target framework (see cb3122c and 6faf005)
As consuming .NET Standard libraries might cause a few (although fixable) issues in .NET Framework web applications, the package now also targets .NET Framework 4.7.2 - in addition to .NET Standard 2.0. -
Added exception handling to the
HunspellDictionary
class (see 187fe62)
As the current implementation doesn't really support anything other than the Danish dictionary, this commit adds a try/catch clause to catch if loading the dictionary fails. If this is the case, an instance ofHunspellDictionary
will still be returned, but withException
property set to the exception from the load operation, and with theIsSuccessful
property set to "false". -
Improved the parsing of dictionary files (see 5fa0c0b)
Since different dictionary files use a few different formats for referencing the affix rule set, this commit tries to add better support for this. Some dictionaries specify the flags as a comma separated value with numeric IDs, while others specify a number of non-separated letters where each letter is a reference to a rule set in the affix file. -
Updated Skybrud.Essentials dependency (see 25c1922)
The package now references the newest version of our Skybrud.Essentials package.