BatchEngine

io.github.nicheapplab.tcodeengine.BatchEngine
class BatchEngine

Generates Japanese characters from key strokes defined by T-Code

BatchEngine provides batched conversion into Japanese. Prefix key strokes should be handled outside of the library. The other engine, io.github.nicheapplab.tcodeengine.InteractiveEngine will handle prefix key strokes and inflex specification.

scala> import io.github.nicheapplab.tcodeengine._
scala> val engine = new BatchEngine with QwertyLayout
scala> engine.convert("hgjdkdhgjdhgjgjd;gjdkd;gjdja;g")
val res0: String = "で、ので、では、を、のを、とを"

Alternatively, a predefined DvorakLayout can be specified.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def compositeLoop(remaining: List[(Int, Int)], acc: List[Char]): List[Char]
def convert(str: String): String
def mixedConvert(str: String): Array[String]
def mixedConvert(str: String, inflex: String): Array[String]