Similarity Txt without GPUs alternatives

Hello what you recommend to use to process similarity between text in simple texts?

I will read json files and compare them, some tecniques or algorithms to do that is what I am looking?~

Examples please