Text this: Identifying communities with modularity metric using Louvain and Leiden algorithms