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 Oct 26, 2023
1 parent 15b830e commit cde8c21
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
uses: ./.github/workflows/macos-build.yml
with:
build_variant: '-universal'
rime_plugins: hchunhui/librime-lua lotem/librime-octagram
rime_plugins: hchunhui/librime-lua lotem/librime-octagram rime/librime-predict

windows:
uses: ./.github/workflows/windows-build.yml
with:
rime_plugins: hchunhui/librime-lua lotem/librime-octagram
rime_plugins: hchunhui/librime-lua lotem/librime-octagram rime/librime-predict

release:
needs: [macos, windows]
Expand Down
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 @@ -66,10 +66,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 cde8c21

Please sign in to comment.