Giter VIP home page Giter VIP logo

autofurigana's Introduction

AutoFurigana

DESCRIPTION

AutoFurigana is a OpenOffice/LibreOffice macro to add furigana to Japanese texts written in Python.

INSTALLATION

  1. Install python packages tinysegmenter and pykakasi.

    sudo pip3 install tinysegmenter sudo pip3 install pykakasi

  2. Correct error in tinysegmenter concerning Python 3. Change

    from print ' | '.join(segmenter.tokenize(u"私の名前は中野です"))

    to print(' | '.join(segmenter.tokenize(u"私の名前は中野です")))

  3. Copy file AutoFurigana.py to folder

    ~/.config/libreoffice/4/user/Scripts/python/AutoFurigana.py

  4. Mark text segment to which furigana should be added.

  5. Execute macro "add_furigana_to_selection" in OpenOffice/LibreOffice.

REQUIREMENTS

AutoFurigana was only ever tested under Ubuntu Linux with Python 3. It requirs the python packages tinysegmenter and pykakasi to split Japanese text and generate readings for the words.

KNOWN PROBLEMS AND BUGS

LICENSE

AutoFurigana is released under the GNU General Public License v2 or newer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.