Qurak

WordFrequency

Tersedia

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

Topik

Berkaitan

Semua 6300 fungsi · Gunakan ini daripada klien MCP