Code for the TEANLIS (Text Analysis for Literary Scholars) framework