RomanjiConverter

class RomanjiConverter(cache: ConversionCache, apiClient: GoogleIMEClient, logger: Logger, debugMode: Boolean = false)

Constructors

Link copied to clipboard
constructor(cache: ConversionCache, apiClient: GoogleIMEClient, logger: Logger, debugMode: Boolean = false)

Functions

Link copied to clipboard
suspend fun convert(input: String): String?

Converts the given romaji input to Japanese using the API client. Utilizes a cache to store and retrieve previous conversion results.