public class LongTextAligner
extends java.lang.Object
Constructor and Description |
---|
LongTextAligner(java.util.List<java.lang.String> words,
int tupleSize)
Constructs new text aligner that servers requests for alignment of
sequence of words with the provided database sequence.
|
Modifier and Type | Method and Description |
---|---|
int[] |
align(java.util.List<java.lang.String> query)
Aligns query sequence with the previously built database.
|
int[] |
align(java.util.List<java.lang.String> words,
Range range)
Aligns query sequence with the previously built database.
|
public LongTextAligner(java.util.List<java.lang.String> words, int tupleSize)
words
- list of words forming the databasetupleSize
- size of a tuple, must be greater or equal to 1public int[] align(java.util.List<java.lang.String> query)
query
- list of words to look forpublic int[] align(java.util.List<java.lang.String> words, Range range)
words
- list words to look forrange
- range of database to look for alignment