Sliding window based part-of-speech tagging is used to part-of-speech tag a text. A high percentage of words in a natural language are words which out of context can be assigned more than one part of speech. The percentage of these ambiguous words is typically around 30%, although it depends greatly on the language. Solving this problem is very important in many areas of natural language processing. For example in machine translation changing the part-of-speech of a word can dramatically change its translation. Sliding window based part-of-speech taggers are programs which assign a single part-of-speech to a given lexical form of a word, by looking at a fixed sized "window" of words around the word to be disambiguated. The two main advantages of this approach are:
It is possible to automatically train the tagger, getting rid of the need of manually tagging a corpus. The tagger can be implemented as a finite state automaton (Mealy machine)
Formal definition Let
Γ = { γ 1 , γ 2 , … , γ | Γ | } {\displaystyle \Gamma =\{\gamma _{1},\gamma _{2},\ldots ,\gamma _{|\Gamma |}\}}
be the set of grammatical tags of the application, that is, the set of all possible tags which may be assigned to a word, and let
W = { w 1 , w 2 , … } {\displaystyle W=\{w1,w2,\ldots \}}
be the vocabulary of the application. Let
T : W → P ( Γ ) {\displaystyle T:W\rightarrow P(\Gamma )}
be a function for morphological analysis which assigns each w {\displaystyle w} its set of possible tags, T ( w ) ⊆ Γ {\displaystyle T(w)\subseteq \Gamma } , that can be implemented by a full-form lexicon, or a morphological analyser. Let
Σ = { σ 1 , σ 2 , … , σ | Σ | } {\displaystyle \Sigma =\{\sigma _{1},\sigma _{2},\ldots ,\sigma _{|\Sigma |}\}}
be the set of word classes, that in general will be a partition of W {\displaystyle W} with the restriction that for each σ ∈ Σ {\displaystyle \sigma \in \Sigma } all of the words w , Σ , σ {\displaystyle w,\Sigma ,\sigma } will receive the same set of tags, that is, all of the words in each word class σ {\displaystyle \sigma } belong to the same ambiguity class. Normally, Σ {\displaystyle \Sigma } is constructed in a way that for high frequency words, each word class contains a single word, while for low frequency words, each word class corresponds to a single ambiguity class. This allows good performance for high frequency ambiguous words, and doesn't require too many parameters for the tagger. With these definitions it is possible to state problem in the following way: Given a text w [ 1 ] w [ 2 ] … w [ L ] ∈ W ∗ {\displaystyle w[1]w[2]\ldots w[L]\in W^{*}} each word w [ t ] {\displaystyle w[t]} is assigned a word class T ( w [ t ] ) ∈ Σ {\displaystyle T(w[t])\in \Sigma } (either by using the lexicon or morphological analyser) in order to get an ambiguously tagged text σ [ 1 ] σ [ 2 ] … σ [ L ] ∈ W ∗ {\displaystyle \sigma [1]\sigma [2]\ldots \sigma [L]\in W^{*}} . The job of the tagger is to get a tagged text γ [ 1 ] γ [ 2 ] … γ [ L ] {\displaystyle \gamma [1]\gamma [2]\ldots \gamma [L]} (with γ [ t ] ∈ T ( σ [ t ] ) {\displaystyle \gamma [t]\in T(\sigma [t])} ) as correct as possible. A statistical tagger looks for the most probable tag for an ambiguously tagged text σ [ 1 ] σ [ 2 ] … σ [ L ] {\displaystyle \sigma [1]\sigma [2]\ldots \sigma [L]} :
… excerpt ends here. Continue reading the full article.
