20.07.2013 Views

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Stabler - Lx 185/209 2003<br />

2.3 Finite state recognizers<br />

(15) A subset <strong>of</strong> the c<strong>on</strong>text free grammars have rules that are <strong>on</strong>ly <strong>of</strong> the following forms, where word is a<br />

lexical item and p,r are categories:<br />

p :˜ [word,r].<br />

p :˜ [].<br />

These grammars “branch <strong>on</strong>ly <strong>on</strong> the right” – they are “right linear.”<br />

(16) Right linear grammars are finite state in the following sense:<br />

there is a finite bound k such that every sentence generated by a finite state grammar can be<br />

recognized or rejected with a sequence (“stack”) in the “workspace” <strong>of</strong> length no greater than<br />

k.<br />

(17) Right linear grammars can be regarded as presentati<strong>on</strong>s <strong>of</strong> finite state transiti<strong>on</strong> graphs, where the<br />

empty producti<strong>on</strong>s indicate the final states.<br />

For example, the following grammar generates {0, 1} ∗ :<br />

s :˜ [0,s].<br />

s :˜ [1,s].<br />

s :˜ [].<br />

Another example<br />

s :˜ [the,t].<br />

t :˜ [cat,u].<br />

u :˜ [is,v].<br />

v :˜ [<strong>on</strong>,w].<br />

w :˜ [the,x].<br />

x :˜ [mat,y].<br />

y :˜ [].<br />

the<br />

s t<br />

cat<br />

u<br />

is<br />

(18) These properties will be carefully established in standard texts <strong>on</strong> formal language theory and the theory<br />

<strong>of</strong> computatati<strong>on</strong> (Moll, Arbib, and Kfoury, 1988; Lewis and Papadimitriou, 1981; Hopcr<strong>of</strong>t and Ullman,<br />

1979; Salomaa, 1973), but the basic ideas here are simple.<br />

Finite state grammars like this are sometimes used to represent the set <strong>of</strong> lexical sequences that most<br />

closely fit with an acoustic input.<br />

These grammars are also used to model parts <strong>of</strong> OT ph<strong>on</strong>ology (Ellis<strong>on</strong>, 1994; Eisner, 1997; Frank and<br />

Satta, 1998).<br />

31<br />

v<br />

1<br />

0<br />

s<br />

<strong>on</strong><br />

w<br />

the<br />

x<br />

mat<br />

y

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!