/**
  * @param array $dict
  */
 public function createIndex($dict = [])
 {
     // TODO 创建索引
     $bank = new Bank();
     $sentences = $dict;
     foreach ($sentences as $sentence) {
         $bank->deposit(new Coin($sentence));
     }
 }
 /**
  * 测试创建索引
  *
  * @return null
  */
 public function testIndex()
 {
     // TODO 测试拼音 的 储存
     // TODO 拼音的读取
     // TODO 更多的插件
     $this->comment('start index...');
     $bank = new Bank();
     $bank->robAll();
     $sentences = self::getData();
     foreach ($sentences as $sentence) {
         $bank->deposit(new Coin($sentence));
     }
     $this->assertTrue(true);
     return null;
 }