Text this: Self-contained algorithms to detect communities in networks.