Computing metrics¶
Linguistic Style Matching¶
lsm.compare(text1, text2) | Compare two texts using the Linguistic Style Matching (LSM) [1]_ method |
lsm.extract_categories(text) | Extract percentages of LSM word categories over total words counting |
lsm.extract_categories_raw(text) | Extract raw counting of LSM word categories |