Coder Social home page Coder Social logo

rime-opencc-latest's Introduction

rime-opencc-latest

Recipe: โ„ž sgalal/rime-opencc-latest

Customize rime input schemata to use the latest OpenCC dictionaries

For 32-bit version, see sgalal/rime-opencc-32bit-latest.

Why

The OpenCC shipped with rime installer is not the latest version. Using the latest version will improve the accuracy of OpenCC conversion.

How

This repository contains the latest version of OpenCC dictionaries. These files will be copied to the rime user directory by the plum configuration manager.

Usage

With plum installed:

$ bash rime-install sgalal/rime-opencc-latest

Without plum:

$ curl -fsSL https://git.io/rime-install | bash -s -- sgalal/rime-opencc-latest

Build Script

See CI Build.

rime-opencc-latest's People

Contributors

ayaka14732 avatar sgalal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rime-opencc-latest's Issues

Doesn't work on Linux Mint and Ubuntu

Hello, I have successfully used your rime-opencc packages on macOS and Windows (the 32-bit version since weasel is 32-bit), but this 64-bit version fails for me on:

Linux Mint 20.1
Cinnamon 4.8.6
Linux Kernel 5.4.0-73-generic

It fails for me on both ibus-rime and fcitx-rime.

IBus 1.5.22
fcitx 4.2.9.7

fcitx is 64- bit. I also tried the 32-bit rime-opencc, and it failed the same way visually, but I didn't check the 32-bit logs.

$ file /usr/bin/fcitx
/usr/bin/fcitx: ELF 64-bit LSB shared object, x86-64,...

I am installing your package with plum. If I don't use your package and just use the OpenCC shipped with RIME, simplified characters in rime-cantonese and luna_pinyin_simp works as expected.

When I have your package installed and redeploy RIME on ibus or fcitx, changing to simplified characters and then typing any character to the IME will crash ibus and fcitx.

I checked logs in my /tmp directory. There are no crash logs. When I restart ibus or fcitx and try to type simplified characters again, it doesn't crash anymore but it will only output traditional characters even though I have simplified selected.

I forgot if the ibus logs say anything. The fcitx logs in /tmp/rime.fcitx-rime.INFO say:

I0522 21:10:20.120846 18612 engine.cc:206] Oops, got a futile translation.
I0522 21:10:20.906191 18612 engine.cc:206] Oops, got a futile translation.
I0522 21:10:21.195035 18612 engine.cc:206] Oops, got a futile translation.
I0522 21:10:21.473274 18612 engine.cc:206] Oops, got a futile translation.
I0522 21:13:42.140594 18612 engine.cc:206] Oops, got a futile translation.

There is no /tmp/rime.fcitx-rime.ERROR file.

I see that the message comes from https://github.com/rime/librime/blob/rime-1.3.1/src/rime/engine.cc#L206. I'm not sure where the bug lies and how the projects work. Do you have any suggestions? Thanks.

EDIT:
I tested on Ubuntu and it fails as well. However the IME program doesn't crash, and I don't see it logging any problems such as the "Oops, got a futile translation.", thought I might not have looked closely enough. Ubuntu still outputs Traditional when using rime-opencc-latest and selecting Simplified characters.

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.