Giter VIP home page Giter VIP logo

cl-skkserv's Introduction

cl-skkserv's People

Contributors

asciian avatar tani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cl-skkserv's Issues

Build-time socket connections?

It looks like this project tries to make a build-time connection to openlab.ring.gr.jp - why is that? Is it required? Yesterday the connection was refused, so the build failed.

Google APIとの通信不良

Windows 11 の MSYS2 上にインストールした Roswell にて ros install cl-skkserv で導入したのですが、Google APIと連携させようとすると「WARNING:
CL-SKKSERV/GOOGLE:WARN: http://www.google.com/transliterate is not active.」というエラーメッセージが表示されます。
※純 Linux 環境である Ubuntu, Debian 等では問題なくGoogle APIと連携出来ることを確認しました。

現在は 下記リンク先の google-ime-skk-py を設定ファイルへ (defvar dict-google (make-instance 'proxy-dictionary :address "localhost" :port 55000 :encoding :eucjp)) と記述して連携させてしのいでいます。

(https://github.com/tani/cl-skkserv/issues/new)[https://github.com/chaploud/google-ime-skk-py]

プルリクエストが出せたら良かったのですが、通信プロセスについて知識に乏しいので一度ご確認いただけないでしょうか。

Windows 11 への MSYS2、cl-skkserv のインストール方法

  1. 本家 MSYS2 よりインストーラーをダウンロードしてインストール >> (MSYS2 - Software Distribution and Building Platform for Windows)[https://www.msys2.org/]
  2. MSYS2 インストール完了後 pacman -Syu を実行してアップデート
  3. MSYS2 にて pacman -S mingw-w64-x86_64-roswell を実行して Roswell をインストール。Roswell のインストール完了後は cl-skkserv の公式な流れで導入できます

下記のようなコマンドで実行出来ます。

ros C:\Users\ユーザー名\.roswell\lisp\quicklisp\dists\quicklisp\software\cl-skkserv-20231021-git\roswell\skkserv.ros start --address 127.0.0.1 --port 1178 --no-daemon

また、ros build C:\Users\ユーザー名.roswell\lisp\quicklisp\dists\quicklisp\software\cl-skkserv-20231021-git\roswell\skkserv.ros でビルドを実行後は 生成された skkserv.exe ファイルを環境パスの通った場所に配置することで skkserv start --address 127.0.0.1 --port 1178 --no-daemon で実行出来ます。

※ご存知の通り、Windows では --no-daemon オプションを付与せずに起動すると 「The function DAEMON:DAEMONIZE is undefined.」エラーが発生します。

THe tests assume the current directory

The tests assume that that the current directory is the system directory when they use relative pathname to access the dictionary. That is not correct assumption,.

The best way to fix is to use asdf/system:system-relative-pathname. For example, change the definition of *lisp-dictionary* in tests/skk.lisp to :

(defparameter \*lisp-dictionary\* 
     (make-instance 
         'skk-lisp-dictionary
          :pathname (asdf/system:system-relative-pathname 
                              "cl-skkserv/tests"  "data/SKK-JISYO.L" )))

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.