The attached R files contain the functions and code required to implement the proposed method. If you are using this code, please cite the paper "Scalable Community Extraction of Text Networks for Automated
Grouping in Medical Databases" by Tomilayo Komolafe, Allan Fong, and Srijan Sengupta