Skip to content

NicheAppLab/T-Code-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T-Code Engine

T-Code engine provides T-Code IME core functions.

Usage

Add dependency to your project.

libraryDependencies += "io.github.nicheapplab" %% "t-code-engine" % "0.4.3"

For maven or gradle, you might need to use t-code-engine_3 instead, due to Scala3 package naming policy.

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.

For Kotlin, try this:

import io.github.nicheapplab.tcodeengine.BatchEngine as TCodeEngine
import io.github.nicheapplab.t_code_engine.QwertyLayout

class QwertyEngine: TCodeEngine(), QwertyLayout
val engine = QwertyEngine()
engin.convert("hgjdkdhgjdhgjgjd;gjdkd;gjdja;g")

Alternatively, a predefined DvorakLayout can be specified.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages