GNU Aspell 0.60.8.2: Controlling the Behavior of Compound Words
Description: Aspell 0.60.8.2 spell checker user’s manual.

Next: Creating A New Character Set, Previous: Affix Compression, Up: Adding Support For Other Languages [Contents]

### 7.7 Controlling the Behavior of Compound Words

Aspell has support for unconditionally accepting run-together words or accepting camelCase words.

Support for unconditionally accepting run-together words can either be turned on in the language data file or as a normal option via the `run-together` option. The `run-together-limit` options controls the maximum number of words that can be strung together, the default is normally 2. The `run-together-min` options controls the minimum length of the individual components of the run together word, the default is normally 3. Both the `run-together-limit` and `run-together-min` option may be specified in both the language data file or as a normal option.

Support for accepting camelCase words can be enabled via the `camel-case` option. When this option is enabled Aspell will accept ‘`camelCase`’ but will reject ‘`camelcase`’. In addition, Aspell will attempt to provide reasonable suggestions when a camelCase word is misspelled. It will correct typos such as ‘`camelcase`’ or ‘`camelcAse`’ and suggest ‘`camelCase`’. If a single part of a camelCase word is misspelled it will attempt to correct that part. When camelCase mode is enabled Aspell will not attempt to split a word by default, to change this simply set `sug-split-char`.