AI Module 3 Lecture 4
AI Module 3 Lecture 4
MODULE III
Understanding Natural Languages
B.Tech.(AI), IV
Artificial Intelligence (CSE 401)
3
4
• The transition from N1 to N2 will be made if
an article is the first input symbol.
• If successful, state N2 is entered.
• The transition from N2 to N3 can be made
if a noun is found next.
• If successful, state N3 is entered.
• The transition from N3 to N4 can be made
if an auxiliary is found and so on.
5
• Suppose consider a sentence “A boy is
eating a banana”.
• So if the sentence is parsed in the above
transition network then, first ‘A’ is an
article.
• So successful transition t o the node N1 to
N2. Then boy is a noun (so N2 to N3), “is” is
an auxiliary (N5 to N6) and finally “banana”
is a noun (N 6 to N7) is done successfully.
• So the above sentence is successfully
parsed in the transition network. 6
TYPES OF TRANSITION
NETWORK
7
Recursive Transition Networks (RTN)
8
• It permits arc labels to refer to other
networks and they in turn may refer back
to the referring network rather than just
permitting word categories.
• It is a modified version of transition
network.
• It allows arc labels that refer to other
networks rather than word category.
9
A recursive transition network can have 5 types of arcs (Allen’s, JM’s) like
5) POP: Can always be traversed and indicates that input string has
been accepted by the network. In RTN, one state is specified as a
start state. A string is accepted by an RTN if a POP arc is reached and
all the input has been consumed.
Was: VERB
Dark: ADJ
11
12
Augmented Transition Network
(ATN)
15
The structure of ATN
16