derhuerst/dict-cc-cli

use protocol buffers to get a smaller data file

Open

#4 opened on Mar 8, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1 fork)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (12 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

For de -> en, the generated data file is currently 65m in size. We can easily reduce this without sacrificing a lot of speed by using protocol buffers.

  • write a .proto file
  • using pbf, generate en-/decoding code
  • generate a binary data file
  • read from the file

Contributor guide