private static int GetHash(ReadOnlySpan <char> lowerCaseFeaturesWithoutSpaces) { return(Hashes.CaseSensitiveHash32(lowerCaseFeaturesWithoutSpaces)); }
public static int GetHash(string feature) { return(Hashes.CaseSensitiveHash32(feature.Trim().ToLowerInvariant())); //TODO: Use hash from fastText }