Qurak

WordFrequency

Disponible

Gives the fraction of words in a string that equal a given word. Matching is

WordFrequency[text, word]
WordFrequency[text, {word1, word2, …}]
WordFrequency["a b a c", "a"] → 0.5WordFrequency["a b a c", {"a", "c"}] → <|a -> 0.5, c -> 0.25|>

Temas

Relacionadas

Las 6300 funciones · Usar esto desde un cliente MCP