nimare.utils.find_stem

find_stem(arr)[source]

Find longest common substring in array of strings.

From https://www.geeksforgeeks.org/longest-common-substring-array-strings/