update IPageSegmenter with DlaOptions

This commit is contained in:
BobLd
2020-05-23 19:18:32 +01:00
committed by Eliot Jones
parent 3cf7c45994
commit dd546dcfc8

View File

@@ -10,10 +10,18 @@
public interface IPageSegmenter
{
/// <summary>
/// Get the text blocks.
/// Get the blocks using default options values.
/// </summary>
/// <param name="pageWords">The words to generate text blocks for.</param>
/// <param name="words">The page's words to generate text blocks for.</param>
/// <returns>A list of text blocks from this approach.</returns>
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> pageWords);
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> words);
/// <summary>
/// Get the text blocks using options.
/// </summary>
/// <param name="words">The page's words to generate text blocks for.</param>
/// <param name="options"></param>
/// <returns>A list of text blocks from this approach.</returns>
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> words, DlaOptions options);
}
}