WGrammar Grammar Checker Engine |
Home Site index Contact us Catalog Shopping Cart Products Support Search |
You are here: Home > Support > WGrammar Grammar Checker Engine > Revision history
The Chain Text feature, including the TextOffset property and Reset method, have been removed from the WGrammar API.
A problem where an error code would be returned if the path to the parts-of-speech database passed to the OpenSession method was an empty string has been fixed.
WGrammar has been completely redesigned and rewritten. Patterns to be matched are now expressed in a powerful pattern language that allows objects representing parts of English sentences to be defined once and referenced where needed. This greatly expands WGrammar's ability to detect problems in a large variety of sentence types. WGrammar's grammar-error database has also been completely rewritten to take advantage of the new search capabilities.
Sequences (strings of word patterns) are now grouped into targets. A target is a collection of one or more sequences that match text for some purpose (e.g., to detect a grammar error).
WGrammar now measures the ambiguity of matched text and returns a confidence score. The confidence score will help users in deciding if a problem report is a false positive.
WGrammar now supports trace files, which are diagnostic files that are helpful in debugging pattern problems.
WGrammar's API has been changed significantly.
The WGrammar Windows SDK now includes a COM object, which is a COM wrapper around the WGrammar DLL. An ASP (Active Server Pages) and VB.NET desktop example are also included.
The return value from most WGrammar functions (except WGrammar_OpenPatternFile, WGrammar_OpenIgnoreList, and WGrammar_OpenSession) is a signed, 32-bit value. Previously, most return types were signed 16-bit values.
WGrammar_AddPattern has been removed.
WGrammar_CompressPatternFile has been replaced by WGrammar_SavePatternFile. WGrammar_SavePatternFile saves all open pattern files to a single compiled pattern file.
WGrammar_IgnoreProblem has been replaced by WGrammar_IgnoreAll. WGrammar now supports multiple ignore lists that can be opened and closed via WGrammar_OpenIgnoreList and WGrammar_CloseIgnoreList. A new function, WGrammar_RemoveIgnoreAll, has been added.
WGrammar_LoadPatternFile has been replaced by WGrammar_OpenPatternFile.
WGrammar_OpenSession no longer takes as parameters the names of the parts-of-speech database file and map file. Instead, the path to the directory containing these files is passed instead.
WGrammar's license key is no longer provided as a hexadecimal constant. It is now provided as a signed, decimal constant, meaning no conversion is necessary when passing it to WGrammar_OpenSession.
WGrammar_GetProblemDescription and WGrammar_GetProblemReplacement have been removed. Instead, WGrammar_Run returns the description and replacement strings directly when a target is matched.
WGrammar_ResetIgnoreList has been replaced by WGrammar_ClearIgnoreList.
WGrammar_Run no longer returns a problem index, which was formerly used to access the description and replacement strings. Instead, the description and replacement strings are returned directly by the WGrammar_Run function. The problem id (an integer) has been replaced by the target id (a string). WGrammar_Run also returns a confidence score that indicates the degree of ambiguity of the matched text.
WGrammar_GetPatternFileInfo has been added. This function returns information about a pattern file.
WGrammar_GetTraceFile and WGrammar_SetTraceFile have been added. Trace files record information about target matches, and are useful in diagnosing WGrammar Pattern Language problems.
Various minor problems with grammar errors, suggestions, descriptions, etc. were corrected.
A problem involving matching of curly apostrophes () was fixed.
Various minor problems with grammar errors, suggestions, descriptions, etc. were corrected.
Performance was improved.
Various minor problems with grammar errors, suggestions, descriptions, etc. were corrected.
Various minor problems with grammar errors, suggestions, descriptions, etc. were corrected.
First release.
Copyright © 2015 Wintertree Software Inc.