考慮以下基礎: basis = "Each word of the text is converted as follows: move any consonant (or consonant cluster) that appears at the start of the word to the end, then append ay."
和下面的話: words = "word, tex
我想計算兩個列表元素的點互信息分數。 比方說,我們有 ListA = "Hi there, This is only a test message. Please enjoy the weather in the park."
ListB = "work, bank, tree, weather, sun"
我怎樣才能再計算所有對的PMI分數(工作,嗨),(工作,有),(工作,此).....