Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Uncomment the PathToNgramData parameter and set a path to unzipped folder of ngrams.
Code Block
languagexml
themeEmacs
titleAppServerX.xml
<PathToNgramData>your_path_to_ngrams</PathToNgramData>

...

Info

<!-- Path example for Windows: <PathToNgramData>C:/Program Files/WebSpellChecker/AppServer/NgramData/</PathToNgramData> →

Code Block
languagexml
titleAppServerX.xml
<EnableNgramData>true</EnableNgramData>

<!-- Path example for Linux:<PathToNgramData>/home/spellcheck/svc/NgramData/</PathToNgramData> →

  • Add the EnableNgramData parameter for each language you want to use n-grams .
Code Block
languagexml
themeEmacs
titleAppServerX.xml
<EnableNgramData>true</EnableNgramData>

This is an example of the for added EnableNgramData parameter for American English.

Code Block
languagexml
themeEmacs
titleAppServerX.xml
<Language Id="en_US">
				<Alias>en</Alias>
				<Alias>am</Alias>
				<GrammarCheckProviderOptions>en-US</GrammarCheckProviderOptions>
				<EnableNgramData>true</EnableNgramData>
				<ThesaurusEnabled>true</ThesaurusEnabled>
				<SpellEngineOptions>
					<Locale>am</Locale>
					<SpellCheckProvider>ssce</SpellCheckProvider>
					<Dictionary FullPath="ssceam2.clx">
						<ForSuggest>no</ForSuggest>
					</Dictionary>
					<Dictionary FullPath="ssceam2s.clx">
						<ForSuggest>yes</ForSuggest>
					</Dictionary>
					<Dictionary FullPath="sscema2.clx"/>
					<Dictionary FullPath="keywords.clx"/>
					<Dictionary FullPath="ssceam.tlx"/>
				</SpellEngineOptions>
</Language>

...