Functions

This function is exported and can be called to perform an alignment. The query cannot be longer than the text.