Finite State Automata and Transducers Flashcards

1
Q

Describe a Finite State Automata

A

A different way to describe regular expressions

An FSA has:

  • A finite set of states
  • A finite input alphabet
  • One start state
  • A set of final states
  • Transitions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The Uses of a Finite State Automata

A

Use to:

  • Generate a string
  • Test a string (look at letters on the tape) and accept or reject - if the branch doesn’t end in a final state, the string is rejected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How a Finite State Automata Works

A
  • Start in the start state, S0
  • The current letter is the first letter on the tape, X
  • If the current state has a transition for the letter X to state S1, then new current state is S1, new current letter is the next letter on the tape
  • Else, if no transition from the current state for letter X, reject
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Formal Language

A

The collection of strings accepted by an FSA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Non-Deterministic Finite State Automaton

A

There can be more than one transition for a given letter

If there is some way to get to the final state, then accept

Equivalent to a Finite State Automaton

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Morphological Parsing

A

Analyze and generate text

Create plurals, prefixes, verb endings, etc.

Map one string (lexical: cat +n +pl) to another (surface: cats) - use Finite State Transducer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Finite State Transducer

A

An FSA that reads form one tape and writes to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly