AS07 共現計算方式 #59
Unanswered
p09323028
asked this question in
Q&A: Assignments
Replies: 2 comments 1 reply
-
|
同學你好,我是助教�, |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
不好意思,延續這個問題。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
老師、助教好,
請問若某則貼文中,
某id重複留了好幾次言,
在這則貼文中,此id跟其他人的共現怎麼算?
以Sample Code的範例來說,
all_post[5]['comments']的 clv、Dia149、radi035 都留了兩次言,那
('clv', 'Dia149')在這則貼文的「共現」是多少? 是 1 還是 4 還是其他?{'tag': '推 ', 'userid': 'bignoob', 'content': ': 邊抱怨邊打啊 台灣人的不都這樣', 'timestamp': ' 05/08 14:32\n'}{'tag': '→ ', 'userid': 'ethan0419', 'content': ': 好騙', 'timestamp': ' 05/08 14:32\n'}{'tag': '噓 ', 'userid': 'geesegeese', 'content': ': 感染源不明出現了,你不打我先打', 'timestamp': ' 05/08 14:33\n'}{'tag': '→ ', 'userid': 's3z15a3z15a', 'content': ': 沒人搶得時候不急,現在人多就開始搶了', 'timestamp': ' 05/08 14:33\n'}{'tag': '→ ', 'userid': 'ckvir', 'content': ': 你怎知抱怨的人和打的人是同一個?', 'timestamp': ' 05/08 14:33\n'}{'tag': '推 ', 'userid': 'clv', 'content': ': 為什麼 就跟當初口罩不夠用有人拿內褲當口罩一樣啊', 'timestamp': ' 05/08 14:34\n'}{'tag': '→ ', 'userid': 'clv', 'content': ': 怕死啊 沒有最好 只好勉強啦', 'timestamp': ' 05/08 14:34\n'}{'tag': '噓 ', 'userid': 'Dia149', 'content': ': 以前的我ok你先打呢', 'timestamp': ' 05/08 14:41\n'}{'tag': '→ ', 'userid': 'Dia149', 'content': ': 綠共真的很善變', 'timestamp': ' 05/08 14:41\n'}{'tag': '推 ', 'userid': 'radi035', 'content': ': 早在爆發前就先打了 不過小道消息月底莫德那會進來', 'timestamp': ' 05/08 14:44\n'}{'tag': '→ ', 'userid': 'radi035', 'content': ': 所以符合公費施打的人 可以忍忍 等莫德納', 'timestamp': ' 05/08 14:44\n'}Beta Was this translation helpful? Give feedback.
All reactions