Skip to content

Commit

Permalink
support predict plugin (rime#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored and graphemecluster committed Oct 26, 2023
1 parent b51f5dc commit 85d10c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ COPY / /librime
WORKDIR /librime/plugins
RUN git clone https://github.com/rime/librime-charcode charcode && \
git clone https://github.com/hchunhui/librime-lua lua && \
git clone https://github.com/rime/librime-predict predict && \
git clone https://github.com/lotem/librime-octagram octagram

WORKDIR /librime
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ Community:

Plugins
===
- [librime-charcode](https://github.com/rime/librime-charcode) Module that
- [librime-charcode](https://github.com/rime/librime-charcode) (Deprecated) Module that
deals with character encoding; depends on boost::locale and ICU libraries
- [librime-legacy](https://github.com/rime/librime-legacy) Legacy module with
- [librime-legacy](https://github.com/rime/librime-legacy) (Deprecated) Legacy module with
GPL-licensed code
- [librime-lua](https://github.com/hchunhui/librime-lua) Lua scripting
- [librime-octagram](https://github.com/lotem/librime-octagram) Language model
- [librime-predict](https://github.com/rime/librime-predict) Predict next word
- [librime-proto](https://github.com/lotem/librime-proto) IPC using CapnProto

Related works
Expand Down
2 changes: 1 addition & 1 deletion tools/rime_api_console.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ void print_menu(RimeMenu* menu) {
void print_context(RimeContext* context) {
if (context->composition.length > 0) {
print_composition(&context->composition);
print_menu(&context->menu);
} else {
printf("(not composing)\n");
}
print_menu(&context->menu);
}

void print(RimeSessionId session_id) {
Expand Down

0 comments on commit 85d10c7

Please sign in to comment.