function getParadigmCollection($word, $annots) { if (!$this->gramtab_consts_included) { $this->includeGramTabConsts(); } $collection = new phpMorphy_Paradigm_Collection(); if (false !== $annots) { foreach ($this->decodeAnnot($annots, true) as $annot) { $collection->append(new phpMorphy_Paradigm_FsaBased($word, $annot, $this)); } } return $collection; }
function getParadigmCollection($word, $annots) { $collection = new phpMorphy_Paradigm_Collection(); if (false !== $annots) { foreach ($this->decodeAnnot($annots, true) as $annot) { $collection->append(new phpMorphy_Paradigm_FsaBased($word, $annot, $this)); } } return $collection; }