Gets an OccurrenceMap for a word.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Please use new method OccurrenceMap GetMatchingDocumentsAndOccurrencesForWord(LexiconQuery word, WordCollection variations, Hashtable cumulativeWeights, SearchOptions searchOptions, bool loadOccurrenceData) instead.", true)] public virtual OccurrenceMapIWordPositions GetMatchingDocumentsAndOccurrencesForWord( string word, ArrayList variations, Hashtable cumulativeWeights, SearchOptions searchOptions, bool loadOccurrenceData )
<ObsoleteAttribute("Please use new method OccurrenceMap GetMatchingDocumentsAndOccurrencesForWord(LexiconQuery word, WordCollection variations, Hashtable cumulativeWeights, SearchOptions searchOptions, bool loadOccurrenceData) instead.", _ True)> _ Public Overridable Function GetMatchingDocumentsAndOccurrencesForWord ( _ word As String, _ variations As ArrayList, _ cumulativeWeights As Hashtable, _ searchOptions As SearchOptions, _ loadOccurrenceData As Boolean _ ) As OccurrenceMapIWordPositions
[ObsoleteAttribute(L"Please use new method OccurrenceMap GetMatchingDocumentsAndOccurrencesForWord(LexiconQuery word, WordCollection variations, Hashtable cumulativeWeights, SearchOptions searchOptions, bool loadOccurrenceData) instead.", true)] public: virtual OccurrenceMapIWordPositions^ GetMatchingDocumentsAndOccurrencesForWord( String^ word, ArrayList^ variations, Hashtable^ cumulativeWeights, SearchOptions^ searchOptions, bool loadOccurrenceData )
Parameters
- word (String)
- Word to find occurrences of.
- variations (ArrayList)
- List of variations (lemmas) for the word.
- cumulativeWeights (Hashtable)
- Table of weights for occurrences (key=docID, value=word's weight in that doc).
- searchOptions (SearchOptions)
- Search options.
- loadOccurrenceData (Boolean)
- Whether to load occurrence data
Return Value
All occurrences of word (or words in variations) that match.