function __construct(phpMorphy_Fsa_Interface $fsa, $index) { $this->fsa = $fsa; $this->raw_transes = $fsa->readState($index); $this->transes = $fsa->unpackTranses($this->raw_transes); }