transducers jacob dison. what is a transducer? defined as a device that converts one form of energy...

20
Transducers Transducers Jacob Dison Jacob Dison

Upload: oscar-osborne

Post on 12-Jan-2016

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

TransducersTransducers

Jacob DisonJacob Dison

Page 2: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

What is a transducer? What is a transducer?

• Defined as a device that converts Defined as a device that converts one form of energy to another. one form of energy to another.

• Examples: Motors, Speakers, Examples: Motors, Speakers, Microphones, Antennas, Light Bulbs, Microphones, Antennas, Light Bulbs, Potentiometer, Gauges…Potentiometer, Gauges…

• Essentially Sensors and Actuators Essentially Sensors and Actuators

Page 3: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Finite-State Transducers Finite-State Transducers

• Two tapes, one for input and one for Two tapes, one for input and one for output.output.

• Converts a input into an output. Converts a input into an output.

• Mealy and Moore machines. Mealy and Moore machines.

Page 4: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Moore MachineMoore Machine

• Invented by Edward F. Moore (1925 -Invented by Edward F. Moore (1925 -2003)2003)

• Wrote Gedanken-experiments on Wrote Gedanken-experiments on sequential machines (1956)sequential machines (1956)

• Associates an output with each state Associates an output with each state of the machine.of the machine.

Page 5: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Moore Machine Formal Moore Machine Formal Definition Definition

• ((KK, Σ, , Σ, OO, δ, δ, D,, D, ss, , AA,),)

• K = StatesK = States

• ΣΣ = Input = Input

• O = OutputO = Output

• s = Initial States = Initial State

• A = Final StateA = Final State

• δδ = Transition Function = Transition Function

• D = Output FunctionD = Output Function

Page 6: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Moore NotationMoore Notation

Page 7: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Stoplight Example Stoplight Example

Page 8: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Mealy MachineMealy Machine

• Invented by George H. Mealy in 1955Invented by George H. Mealy in 1955

• Associates outputs with transitions. Associates outputs with transitions.

Page 9: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Mealy Machine Formal Mealy Machine Formal Definition Definition

• ((KK, Σ, , Σ, OO, , ss, , AA, δ), δ)

• K = StatesK = States

• ΣΣ = Input = Input

• O = OutputO = Output

• s = Initial States = Initial State

• A = Final StateA = Final State

• δδ = Transition Function = Transition Function

Page 10: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Mealy Notation Mealy Notation

Page 11: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Barcodes!Barcodes!

Page 12: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Parity Bit Generator Parity Bit Generator

Page 13: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Bidirectional Transducers Bidirectional Transducers

• Works in both directionsWorks in both directions

• Example: Soundex System Example: Soundex System

• Input: KaylorInput: Kaylor

• Output: K460 Output: K460

• Kahler, Kaler, Kaylor, Keeler, Kellar, Kahler, Kaler, Kaylor, Keeler, Kellar, Kelleher, Keller, Kelliher, Kilroe, Kilroy, Kelleher, Keller, Kelliher, Kilroe, Kilroy, Koehler, Kohler, Koller, and Kyler.Koehler, Kohler, Koller, and Kyler.

Page 14: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Weighted Transducers Weighted Transducers

• In addition to inputs and outputs, In addition to inputs and outputs, associates a weight, which can be a associates a weight, which can be a number of things including time, number of things including time, probability, distance… etc. probability, distance… etc.

Page 15: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Directions Directions

Page 16: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Hidden Markov ModelsHidden Markov Models

• Nondeterministic Finite State Nondeterministic Finite State Transducer Transducer

• Machine is hidden, only outputs can Machine is hidden, only outputs can be observed. be observed.

Page 17: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

HMMHMM

Page 18: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

Questions?Questions?

Page 19: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

References References

• Elaine Rich. Automata, Elaine Rich. Automata, Computability and Computability and Complexity: Theory and Applications.Complexity: Theory and Applications. Prentice Prentice Hall. 2008. 96-98.Hall. 2008. 96-98.

• Emmanuel Roche, Yves Schabes. “Deterministic Emmanuel Roche, Yves Schabes. “Deterministic part-of-speech tagging with finite-state part-of-speech tagging with finite-state transducerstransducers..”” Computational Linguistics Computational Linguistics, , 21(2):227-253, June 1995.21(2):227-253, June 1995.

• Cyril Allauzen, Mehryar Mohri. “Cyril Allauzen, Mehryar Mohri. “pp-Subsequentiable -Subsequentiable Transducers.” Transducers.” AT&T Labs – ResearchAT&T Labs – Research

• Mohri, Mehryar “Weighted Finite-State Transducer Mohri, Mehryar “Weighted Finite-State Transducer Algorithms An Overview” Algorithms An Overview” AT&T Labs – ResearchAT&T Labs – Research

Page 20: Transducers Jacob Dison. What is a transducer? Defined as a device that converts one form of energy to another. Defined as a device that converts one

References References

• Pradel, Michael. “Finite-State Pradel, Michael. “Finite-State Transducers.” Transducers.” Seminar on Natural Seminar on Natural Language Processing. Language Processing. July 6, 2007. July 6, 2007.

• Hsu, Chun-Nan., Chang, Chien-Chi. Finite-Hsu, Chun-Nan., Chang, Chien-Chi. Finite-State Transducers for Semi-Structured State Transducers for Semi-Structured Text Mining. Text Mining. Institute of Information Institute of Information ScienceScience

• Wagner, F. “StateWORKS: Moore or Mealy Wagner, F. “StateWORKS: Moore or Mealy model?.” model?.” StateWORKS.com. StateWORKS.com. April, 2005. April, 2005.