跳到主要內容

發表文章

目前顯示的是有「研究」標籤的文章

文字樹(Word Tree):讓服貿文本視覺化

從今年(2014)3月18日之後,標榜「太陽花」的學生運動攻佔了各個媒體的版面。說來慚愧,我並沒有在第一時間跟上這波運動,直到臉書上被服貿的文章瘋狂洗版後才察覺到。這兩三天,總統行政院長江宜樺和總統馬英九分別召開記者會,說明他們對服貿協議的官方立場。這項立場,自然是「拒絕」退回服貿的審查。 我們按照發表的時間先後來看,首先檢視江宜樺在行政院發表的聲明稿「 與學生對話拒退服貿,江宜樺在行政院發表聲明逐字稿 」。我拿的便是這份逐字稿,將裡頭的中文進行斷詞之後,以文字樹的方式將這份聲明稿呈現出來。

Concise 0.3.0 Release: with 'Dead End' Collocational Network Feature

As suggested in my previous article Collocation and Interactive Collocational Network , collocational networks are networks consisting of words that co-occur in a statistically significant way in a text.  In Concise 0.2x, we introduced an interactive way to explore the co-occurencetial relationship.  Now, with Concise 0.3.x, a 'dead-end' collocational network is featured.

Concise Feature: 表面式共現詞與文本式共現詞 Surface Cooccurrence and Textual Cooccurrence

Stefan Evert 在 Corpora and collocations 裡頭指出了三種詞語搭配(collocation)的計算方式,包括有表面式共現(surface cooccurrence)、文本式共現(textual cooccurrence)、以及句法式共現(syntax cooccurrence)這三種。現有的語料庫套裝軟體多具備第一種詞語搭配的計算,以一個節點詞,向前後延伸幾個單位的跨距,構成片段的文本。至於第二種和第三種共現詞的計算,則多半要使用相當客制化的程序來實現。說白了,要自己寫程式才能做到。

「農業」政策裡的文字配對(letter-pairs)分析

要釐清「農業」這回事一點都不簡單,也不斷困擾著我。「農業」這個概念太過抽象,幾乎涵蓋了各個方面。也因為這樣,一直以來,農業幾乎都用可以被測量的經濟指標來定義,作為一種特殊的產業來看待。說它特殊,就在於「農業」並不是單一產業,也很難說是多種產業的集合概念。農委會自己也說農業包含一、二、三級產業,幾乎什麼範圍都包了。但我們卻可以發現,一旦有什麼事件發生,政府互踢皮球的作法又開始劃清農業的界線,說這個不屬於農業、那個不屬於農委會管轄範圍的。那麼,「農業」到底是個什麼樣的概念?如果討論要涵蓋到之前提到的「農—文化3.0」,要讓農業回歸到文化層面的日常生活,又要怎麼樣去釐清「農業」這回事?說真的,我不知道!

Convert MI score to MI(k): Setting the cut-off threshold of collocation

Mutual Information or MI score is widely used as the statistical measure of collocation in linguistic studies.  The number of bits of "shared information" between two words can be calculated by observed co-occurrence ( O ) and expected co-occurrence ( E ). MI = log 2 (O/E) The MI score , then, is implemented as cut-off threshold for collocate selection.  I n practical applications, however, MI was found to have a tendency to assign inflated scores to low-frequency word pair with E << 1 ,  especially for data from large corpora.  Thus, even a single concurrence of two word types might result in a fairly high association score (see Evert's Extended manuscript of orpora and collocations ).  Multiplication with O is used to increase the influence of observed concurrence frequency compared to the expected, result in the formula log 2 (O k /E) with k >= 1  (the well known MI k family).

「被」XX化的農舍:蘇嘉全的農舍爭議新聞分析(文字、文本分析)

在光輝的十月,除了各種百年慶祝的新聞之外,爭議最大、讓人印象最深刻的新聞事件當屬蘇嘉全的農舍案。這個「農舍」事件牽扯出的,不單是政黨間的選舉角力,也不僅是豪宅與農舍的趨同與歧義,更意外地讓農業、農民的角色與認定置於一個搖擺、弔詭的模糊力場之中。當然,幾乎所有的新聞報導都將它放在政治版面,鮮少人會真正把焦點擺在農業問題上。但這則農舍案確實是個農業事件,並且是個相當後現代的農業事件。農舍案的報導跳躍在功能、法規、與主觀認定的內外之間,還夾雜了許多政黨操作在其中,加添了這則農舍案更加神祕的色彩。現在我則要運用一些文字分析的技巧,來呈現這波農舍爭議新聞的核心,並將討論的焦點放在這些「被」XX化的農舍上。

我的部落格圖像

昨天半夜在找尋 Gephi 的一些使用方法時,不經意搜尋到MostlyMaths裡頭一篇部落格文章 Using Gephi to visualize keywords and landing pages from Google Analytics ,用 Gephi 讓你的部落格以圖像化的方式呈現搜尋的關鍵字與到達頁面。當然,這得要搭配Google Analytics在後台蒐集的資料才行。

Dynamic Collocational Network of Plasticizer News 塑化劑新聞動態網絡

I've been working on visualizing collocational networks for a while.  As demonstrated earlier ( here ), a collocational network of Japan earthquake had been  visualized from simply news texts.  This time, the goal is to make collocational network a dynamic network.  That is, the network changes over time.