SALM: Suffix Array and its Applications in Empirical Language Processing by Joy