Esempio n. 1
0
 function __construct($posesFile, $grammemsFile, $ancodesFile, $flexiasFile, $prefixesFile, $lemmasFile, $isWriteHeader = true)
 {
     parent::__construct();
     $this->poses_file = (string) $posesFile;
     $this->grammems_file = (string) $grammemsFile;
     $this->ancodes_file = (string) $ancodesFile;
     $this->flexias_file = (string) $flexiasFile;
     $this->prefixes_file = (string) $prefixesFile;
     $this->lemmas_file = (string) $lemmasFile;
     $this->is_write_header = (bool) $isWriteHeader;
 }
Esempio n. 2
0
 function __construct($outPath)
 {
     parent::__construct();
     $this->path = $outPath;
 }
Esempio n. 3
0
 public function write(phpMorphy_Dict_Source_SourceInterface $source)
 {
     $result = $this->object->write($source);
     return $result === $this->object ? $this : $result;
 }