Skip to content

spelling.suggestion_sources (collection.cfg setting)

Description

This option defines the sources of spelling suggestions such as annotations, document titles and the corpus lexicon. The default is to use annotations, document titles and the corpus lexicon.

Sources

Sources are specified using the following character codes, as a comma separated list within square brackets.

SourceDescription
@Use the .anno (annotation) file.
%Use unfielded words from index lex (lexicon) files.
<metadata class>Use words from the given metadata classes. If no fields are listed, [@,%] is assumed.

Default value

By default we use words in the annotation file, the unfielded words from the index and document title ie terms that appear in metadata class 't'.

spelling.suggestion_sources=[@,t,%] 

Examples

Change to only use the corpus lexicon:

spelling.suggestion_sources=[%]

Include some custom metadata fields

spelling.suggestion_sources=[@,t,s,a]

See also

top

Funnelback logo
v15.16.0