Qurak

WordFrequency

可用

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

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用