SQLiteBatchEngine

io.github.nicheapplab.tcodeengine.SQLiteBatchEngine
class SQLiteBatchEngine(jdbc_prefix: String, tcode_tbl_path: String, mazegaki_path: String, bushu_path: String) extends BatchEngine, SQLiteStrokes

Converts key strokes into Japanese characters by using dictionaries stored in SQLite database files. These files locates in the specified locations and are created from zip archivve file for the first time.

scala> import io.github.nicheapplab.tcodeengine._
scala> val (tcode_tbl_path, mazegaki_path, bushu_path) = ...
scala> val jdbc_prefix = "jdbc:sqlite"
scala> val engine = new SQLiteBatchEngine(jdbc_prefix, tcode_tbl_path, mazegaki_path, bushu_path) with QwertyLayout
scala> engine.convert("hgjdkdhgjdhgjgjd;gjdkd;gjdja;g")
val res0: String = "で、ので、では、を、のを、とを"

Attributes

Graph
Supertypes
trait Strokes
trait BatchEngine
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def convert(str: String): String

Attributes

Inherited from:
BatchEngine
def getChar(first: Int, second: Int): Char

Attributes

Inherited from:
SQLiteStrokes
def mixedConvert(str: String, inflex: String): Array[String]

Attributes

Inherited from:
BatchEngine
def mixedConvert(str: String): Array[String]

Attributes

Inherited from:
BatchEngine

Concrete fields