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
- Self type
Members list
In this article