How ukkonen's algorithm is used in AI

Does anybody know that how Ukkonen’s algorithm which can find longest duplicate substrings in a string is used in AI in detail?