Files
PdfPig/src/UglyToad.PdfPig/Util/IWordExtractor.cs
2018-11-24 20:51:27 +00:00

19 lines
568 B
C#

namespace UglyToad.PdfPig.Util
{
using System.Collections.Generic;
using Content;
/// <summary>
/// An approach used to generate words from a set of letters.
/// </summary>
public interface IWordExtractor
{
/// <summary>
/// Generate words from the input set of letters.
/// </summary>
/// <param name="letters">The letters to generate words for.</param>
/// <returns>An enumerable of words from this approach.</returns>
IEnumerable<Word> GetWords(IReadOnlyList<Letter> letters);
}
}