| Home | Trees | Indices | Help |
|---|
|
|
A class version of the non-deterministic FSA recognizer.
Classes for recognizer_agenda and search_states are also defined here.
Author: Jean Mark Gawron
Contact: gawron@mail.sdsu.edu
|
|||
| FSA Classes | |||
|---|---|---|---|
|
nondet_fsa Class for non-deterministic fsa's, subclass of fsa that differs from it in allows state transition functions with multiple values for a single symbol as well as ε-transitions. |
|||
| Recognizer Classes | |||
|
nondet_fsa_recognizer Class for non_deterministic fsa recognizer. |
|||
| Helper Classes | |||
|
recognizer_agenda A list of search states.
|
|||
search_statesearch_states are what populate the Agenda,
determining a string position and machine state to resume
recognition from, for example, after backtracking.
|
|||
|
|||
| TransitionTable |
nd_table = The TransitionTable for ndfsa [no εs].
|
||
| TransitionTable |
nd_table_eps = The TransitionTable for ndfsa_eps [has
ε-transitions].
|
||
| TransitionTable |
nd_table2 = A more concise TransitionTable equivalent to nd_table,
leaving out all undefined symbols from the dictionary.
|
||
| tuple |
nd_finals = The tuple of final states for ndfsa and
ndfsa2.
|
||
| fsas | |||
|---|---|---|---|
| fsa |
ndfsa = {nondet_fThe nondet sheep language fsa (Jurafsky and Martin, Speech and Natural Language Processing, Fig 2.18) |
||
| fsa |
ndfsa2 = {nondet_fMore succinct fsa equivalent to ndfsa |
||
| fsa |
ndfsa_eps = {nondet_fThe nondet sheep language machine with ε transitions (Jurafsky and Martin, Speech and Natural Language Processing, Fig 2.19) |
||
| recognizers | |||
| nondet_fsa_recognizer |
nondet_R = [nondet_fsa_recognizfsa_recognizer for ndfsa |
||
| nondet_fsa_recognizer |
nondet_R2 = [nondet_fsa_recognizfsa_recognizer for ndfsa |
||
| nondet_fsa_recognizer |
nondet_R_eps = [nondet_fsa_recognizfsa_recognizer for ndfsa_eps |
||
|
|||
nd_tableThe TransitionTable forndfsa [no εs].
|
nd_table_epsThe TransitionTable forndfsa_eps [has
ε-transitions].
|
nd_table2A more concise TransitionTable equivalent tond_table,
leaving out all undefined symbols from the dictionary. Note that since
state 4 has no defined transitions, it is represented by the empty
dictionary.
|
ndfsaThe nondet sheep language fsa (Jurafsky and Martin, Speech and Natural Language Processing, Fig 2.18)
|
ndfsa2More succinct fsa equivalent to ndfsa
|
ndfsa_epsThe nondet sheep language machine with ε transitions (Jurafsky and Martin, Speech and Natural Language Processing, Fig 2.19)
|
nondet_Rfsa_recognizer for ndfsa
|
nondet_R2fsa_recognizer for ndfsa
|
nondet_R_epsfsa_recognizer for ndfsa_eps
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 4 22:00:33 2009 | http://epydoc.sourceforge.net |