Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor command line tools #190

Closed
hiroshi-matsuda-rit opened this issue Sep 30, 2021 · 1 comment
Closed

Refactor command line tools #190

hiroshi-matsuda-rit opened this issue Sep 30, 2021 · 1 comment
Assignees

Comments

@hiroshi-matsuda-rit
Copy link
Contributor

コマンドラインツールのリファクタリング

現在の ginza/command_line.py は肥大化しているため機能を切り出してシンプル化する。

従来仕様の維持

  • entry_pointsで登録するconsole_scriptsはginzaとginzameのままとする
  • ginzaおよびginzameのコマンドライン引数名およびデフォルト値は極力従来のままとする
  • ただしコマンドを追加して機能を分割する場合は上記の限りではない

spacy-rayを利用した並列化

従来のコマンドラインのマルチプロセス処理は非効率な部分が多くあるため、spacy-rayを用いて効率化が可能であれば採用する。
https://github.com/explosion/spacy-ray
https://www.ray.io/

@hiroshi-matsuda-rit
Copy link
Contributor Author

Done in v5.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants