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