Language Converter
Finite-State Transducer implementation of MediaWiki LanguageConverter
|
An edge between states in a mutable FST. More...
Public Member Functions | |
__construct (State $from, int $id, string $upper, string $lower, State $to) | |
Create a new Edge. | |
Public Attributes | |
$from | |
$id | |
$upper | |
$lower | |
$to | |
An edge between states in a mutable FST.
Wikimedia\LangConv\Construct\Edge::__construct | ( | State | $from, |
int | $id, | ||
string | $upper, | ||
string | $lower, | ||
State | $to ) |
Create a new Edge.
State | $from | State this edge is coming from (and stored in) |
int | $id | Index of this edge in from State's edges array. |
string | $upper | Token on the upper side of this edge |
string | $lower | Token on the lower side of this edge |
State | $to | Destination state |