[feat] added func for calculating shingle frequencies in html elements' contents