Extending the approach is straightforward, for example, substituting more sophisticated data structures or statistical tests for the current ones.
we will move from the use of document boundaries to a flexible notion of textual distance to estimate likelihood of morphological relatedness.