libraries fot frequency analysis