Click or drag to resize

dictionaryResourceApertiumqueryBestScope Method (String, apertiumDictNeedleSide, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

[This is preliminary documentation and is subject to change.]

Queries dictionary using scopes in order of confidence until it gets any translation pair. Order of scopes: exact, startingWith, anywhere

Namespace:  imbNLP.PartOfSpeech.providers.dictionary.apertium
Assembly:  imbNLP.PartOfSpeech (in imbNLP.PartOfSpeech.dll) Version: 0.2.18
Syntax
C#
public apertiumDictionaryResult queryBestScope(
	string token,
	apertiumDictNeedleSide side = apertiumDictNeedleSide.native,
	bool includeAnywhere = true
)

Parameters

token
Type: SystemString
The token to translate, in language of the side specified
side (Optional)
Type: imbNLP.PartOfSpeech.providers.dictionary.apertiumapertiumDictNeedleSide
Side of the dictionary that the search token is from
includeAnywhere (Optional)
Type: SystemBoolean
if set to true it includes anywhere scope

Return Value

Type: apertiumDictionaryResult

[Missing <returns> documentation for "M:imbNLP.PartOfSpeech.providers.dictionary.apertium.dictionaryResourceApertium.queryBestScope(System.String,imbNLP.PartOfSpeech.providers.dictionary.apertium.apertiumDictNeedleSide,System.Boolean)"]

See Also