Click or drag to resize

webLemmaTermExtensionsGetLemmasSorted Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

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

Gets the lemmas, matching queryTerms, sorted by weight (in the table)

Namespace:  imbNLP.PartOfSpeech.TFModels.webLemma.table
Assembly:  imbNLP.PartOfSpeech (in imbNLP.PartOfSpeech.dll) Version: 0.2.18
Syntax
C#
public static List<webLemmaTerm> GetLemmasSorted(
	this webLemmaTermTable table,
	IEnumerable<string> queryTerms,
	int takeTopN = -1
)

Parameters

table
Type: imbNLP.PartOfSpeech.TFModels.webLemma.tablewebLemmaTermTable
webLemmaTermTable to be queried
queryTerms
Type: System.Collections.GenericIEnumerableString
The query terms, strings to query table
takeTopN (Optional)
Type: SystemInt32
Number of top ranked lemmas, by weight, descending.

Return Value

Type: ListwebLemmaTerm
List of matched webLemmaTerms

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type webLemmaTermTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also