Example #1
0
 /**
  * Set Limelight on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$lib = (include 'tests/lib.php');
 }
 /**
  * Set static Limelight and Hepburn on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$hepburn = new HepburnModified();
 }
Example #3
0
 /**
  * Set static hepburn on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$nihon = new NihonShiki();
 }
Example #4
0
 /**
  * Set static tokenizer on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     $config = Config::getInstance();
     self::$mecab = $config->make('Limelight\\Mecab\\Mecab');
 }
 /**
  * Set static Limelight and Hepburn on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$hepburn = new HepburnTraditional();
 }
 /**
  * Set static Limelight and Kunrei on object.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$kunrei = new KunreiShiki();
 }