protected function initLearn()
 {
     if ($this->initialized) {
         return;
     }
     $this->state = new BlockState();
     $this->state->loadMatrix(ConfPath::stateMatrix($this->name));
     $this->state->loadText2id(ConfPath::stateTexts($this->name));
     $this->keywords = KeywordsTable::singleton();
     $this->keywords->loadTable(ConfPath::keywords());
     $this->filter = new IpcaImage();
     $this->filter->load_1Line1Element(ConfPath::keywordsFilter(), 0, 1);
     $this->ipca = Ipca::singleton();
     $this->ipca->load(3);
     $this->initialized = true;
 }
 function load()
 {
     $this->state->loadMatrix(ConfPath::stateMatrix($this->name));
     $this->state->loadText2id(ConfPath::stateTexts($this->name));
 }