StringEditDistance.operations computes the minimal number of operations to transform one string into another and returns an integer array with the number of insertions, substitutions and deletions.