Interface IBordersExtraction
An algorithm extracting borders from the given text.
Namespace: MoreStructures.KnuthMorrisPratt.Borders
Assembly: MoreStructures.dll
Syntax
public interface IBordersExtraction
Remarks
DEFINITION
A border of a text T of a prefix of T which is also a suffix of T, T excluded.
For example, the borders of T = "abcabeabcab"
are "a"
, "ab"
and "abcab"
.
Methods
| Improve this Doc View SourceGetAllBordersByDescLength(String)
Retrieves all borders from the provided text, by decreasing length.
Declaration
IEnumerable<string> GetAllBordersByDescLength(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text, to extract borders from. |
Returns
Type | Description |
---|---|
IEnumerable<System.String> | An enumerable of strings. |