derhuerst/dict-cc-cli

use protocol buffers to get a smaller data file

Open

#4 aperta il 8 mar 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (1 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (12 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor