Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Japanese Kana Kanji conversion input method library

License

NotificationsYou must be signed in to change notification settings

ueno/libkkc

Repository files navigation

Build StatusCoverage Status

What's this?

libkkc provides a converter from Kana-string toKana-Kanji-mixed-string. It was named after kkc.el in GNU Emacs, asimple Kana Kanji converter, while libkkc tries to convert sentencesin a bit more complex way using N-gram language models.

Install

  1. compile and installmarisa-trie

  2. compile and install

$ ./autogen.sh$ make$ make install

Documentation

Test

$ kkcType kana sentence in the following form:SENTENCE [N-BEST [SEGMENT-BOUNDARY...]]>> わたしのなまえはなかのです0: <わたし/わたし><の/の><名前/なまえ><は/は><中野/なかの><で/で><す/す># get 3 matches instead of 1>> わたしのなまえはなかのです 30: <わたし/わたし><の/の><名前/なまえ><は/は><中野/なかの><で/で><す/す>1: <私/わたし><の/の><名前/なまえ><は/は><中野/なかの><で/で><す/す>2: <わたし/わたし><の/の><名前/なまえ><は/は><中野/なかの><デス/です># enlarge the second segment (の -> のな)>> わたしのなまえはなかのです 1 3 50: <わたし/わたし><のな/のな><前/まえ><は/は><中野/なかの><で/で><す/す># shrink the fourth segment (なかの -> なか)>> わたしのなまえはなかのです 1 3 4 7 8 100: <わたし/わたし><の/の><名前/なまえ><は/は><中/なか><の/の><で/で><す/す>

License

GPLv3+Copyright (C) 2011-2014 Daiki Ueno <ueno@gnu.org>Copyright (C) 2011-2014 Red Hat, Inc.This file is free software; as a special exception the author givesunlimited permission to copy and/or distribute it, with or withoutmodifications, as long as this notice is preserved.This file is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY, to the extent permitted by law; without even theimplied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

About

Japanese Kana Kanji conversion input method library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors11


[8]ページ先頭

©2009-2025 Movatter.jp