APIとmecabを使った遊び方一例だよ
% curl -s "https://mstdn.f72u.net/api/v1/timelines/public?limit=40" | jq -r '.[].content' |sed -e 's/<a.*<\/a>//g' | sed -e 's/<[^>]*>//g' | sed -e 's/:.*://g' | mecab -d /usr/local/lib/mecab/dic/mecab-ipadic-neologd | awk -F ',' '{print $1,$2}' | awk '{if($2=="名詞" && $3!="非自立") print $1}' | sort | uniq -c | sort -n | tail -n10
#theboss_tech
Conversation
Notices
-
:fu::hiragana_ru2::fu::hiragana_ru2: (frfr@mstdn.f72u.net)'s status on Sunday, 27-Jan-2019 23:57:10 JST :fu::hiragana_ru2::fu::hiragana_ru2: