Method GetBestTextFragments
GetBestTextFragments(TokenStream, String, Boolean, Int32)
Low level api to get the most relevant (formatted) sections of the document.
This method has been made public to allow visibility of score information held in TextFragment objects.
Thanks to Jason Calabrese for help in redefining the interface.
Declaration
public TextFragment[] GetBestTextFragments(TokenStream tokenStream, string text, bool mergeContiguousFragments, int maxNumFragments)
Parameters
Type |
Name |
Description |
TokenStream |
tokenStream |
|
System.String |
text |
|
System.Boolean |
mergeContiguousFragments |
|
System.Int32 |
maxNumFragments |
|
Returns
Exceptions