示例#1
0
 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;
 }
示例#2
0
 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;
 }