I previously asked this
And was asked to migrate my question to softrec. here
The thing is, there are only two algorithms, at least that I could find, I don't know whether both are bad, at least for me or whether the dictionaries or implementations are bad.
In any case, I feel like only 2 kind of people can answer my question, either a software engineer working on a language related project or a computer scientist working on research papers related to that subject.
No programming related SE site is willing to recommend algorithms, so I was forced to move it to soft rec, but I feel like it belongs here, I'm afraid to post it though. I'm not looking for an implementation, just an algorithm name.