コード例 #1
0
ファイル: Helper.php プロジェクト: Garcy111/Garcy-Framework-2
 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
ファイル: Helper.php プロジェクト: maxakawizard/phpmorphy
 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;
 }