Top Banner
홍은기 AUTOMATA
13

Automata

Aug 08, 2015

Download

Science

EunGi Hong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Automata

홍은기

AUTOMATA

Page 2: Automata

1. What is an Automaton?

2. Fundamental Concepts

3. Finite-state Automaton

4. References

CONTENTS

Page 3: Automata

1. The automaton (pl. automata) is an abstract computing machine, which is a conceptual model of the fundamentals of computation.

2. Automaton, originally from a Greek word αὐτόματον, means "self-acting".

3. The automaton arose in the 1950s out of Turing's (1936) model of algorithmic computation, considered by many to be the foundation of modern computer science.

WHAT IS AN AUTOMATON?

Page 4: Automata

*Applications of automata

1. Text processing

2. Web browsing

3. Compiler

4. Operating system

5. Hardware design

6. Sequential logic circuits

7. etc.

WHAT IS AN AUTOMATON?

Page 5: Automata

<Recognition of a word 'then'>

WHAT IS AN AUTOMATON?

q0 q1 q2 q3

t h e

q4

n

Page 6: Automata

q0q1..q4 are states

't', 'h', 'e', 'n' are input alphabets

Blue-colored arcs are transitions between states

q0 is a start state

q4 is a final state

WHAT IS AN AUTOMATON?

q0 q1 q2 q3

t h e

q4

n

Page 7: Automata

If the automaton gets to the final state and there is no input left, it is said that the automaton accepts an input.

If the automaton never gets to the final state-it runs out of input or it gets some input that does not match an arc-it is said that the automaton rejects an input.

WHAT IS AN AUTOMATON?

q0 q1 q2 q3

t h e

q4

n

Page 8: Automata

<Recognition of regular expression /mee+~/>

WHAT IS AN AUTOMATON?

q0 q1 q2 q3

m e e

q4

~e

Page 9: Automata

<Recognition of English sentences>

WHAT IS AN AUTOMATON?

and

q0 q1

q2

q4

theman is

q5

here

q3

men are

Page 10: Automata

1. An alphabet is a set of symbols.

2. A string is a set of alphabets.

3. The set of all the strings accepted by an automaton is called the language recognized by the automaton.

4. A grammar is a formal counterpart of an automaton which is more focused on the aspect of the generation of a language.

5. The usefulness of an automaton for defining a language is that it can express an infinite set in a closed form.

FUNDAMENTAL CONCEPTS

Page 11: Automata

1. An alphabet is a set of symbols.

2. A string is a set of alphabets.

3. The set of all the strings accepted by an automaton is called the language recognized by the automaton.

4. A grammar is a formal counterpart of an automaton which is more focused on the aspect of the generation of a language.

5. The usefulness of an automaton for defining a language is that it can express an infinite set in a closed form.

FUNDAMENTAL CONCEPTS

L(m) = {mee~, meee~, meeee~, meeeee~….}

The language characterized by a model m

(The regular expression /mee+~/, in this case.)

Page 12: Automata

A finite-state automaton is defined by five parameters

A = (Q, ∑, q₀, F, δ)

Q = q₀ q₁q₂...qN-1: a finite set of N states.

∑ = a finite input alphabet of symbols.

q₀ = the start state, q₀ ∈ Q

F = the set of final states, F ⊆ Q

δ(q,i): the transition function between states. Given a state q ∈ Q and an input symbol i ∈ ∑, δ(q,i) returns a new state q′ ∈ Q. δ is thus a relation from Q × ∑ to Q.

FINITE-STATE AUTOMATON

Page 13: Automata

김삼묘, 유기영. (2004). 계산모델: 오토마타 및 형식언어. 이한출판사

Jurafsky, D. and Martin, J. H. (2009). Speech and language processing 2nd Edition. Pearson Education, Inc.

Partee et al. (1993). Mathematical methods in linguistics. Kluwer Academic Publishers

REFERENCES