Keyoti RapidSpell WPF API Docs
FindCompoundWords Method (text, subwords)
APIKeyoti.RapidSpell.WpfRapidSpellCheckerFindCompoundWords(String, IList)
Keyoti RapidSpell WPF
Finds the compound words in text and puts them in subwords, set subwords to null/nothing to just find if text has compound word formation.
Declaration Syntax
C#Visual BasicVisual C++F#
public virtual bool FindCompoundWords(
	string text,
	IList subwords
Public Overridable Function FindCompoundWords ( 
	text As String,
	subwords As IList
) As Boolean
virtual bool FindCompoundWords(
	String^ text, 
	IList^ subwords
abstract FindCompoundWords : 
        text : string * 
        subwords : IList -> bool 
override FindCompoundWords : 
        text : string * 
        subwords : IList -> bool 
text (String)
The text to find compound words in
subwords (IList)
A list that formative sub-words will be added to, can be null/nothing.
Return Value
True if text is entirely formed from compound words, False if not.
Only adds words to list if all are valid. In other words, this will not find all words that are part of text, but only the words that all make up text.

Eg. "catchmentarea" has words "catchment" and "area" but not "cat", "me" etc.

The order of the words in the list is the reverse of their order in text.
ArgumentNullExceptionif text is null

Assembly: Keyoti3.RapidSpell.WPF (Module: Keyoti3.RapidSpell.WPF.dll) Version: