Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Computational Linguistics

Lecture 5

Dr. Dina Khattab


dina.khattab@cis.asu.edu.eg
REGULAR EXPRESSION (REGEX)
2
Draw a graph for FSA that represents the
following regular expressions:
a | b
b *
 (ab)+
 ab*c
 a(b*|a*)
 (a | b )*
 a+b*a 3
a
a a
0 1 2

b b

a 4
3
b

a+b*a 4

You might also like