Qurak

WordFrequency

Tilgjengelig

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|>

Emner

Relatert

Alle 6300 funksjoner · Bruk dette fra en MCP-klient