Giter Site home page Giter Site logo

wangzigeng2004 / dictionary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rdoeffinger/dictionary

0.0 0.0 0.0 99.93 MB

"QuickDic" offline Dictionary App for Android. Provided downloadable dictionaries are based on Wiktionaries but can also be created from other sources (see DictionaryPC). Remember to use --recursive when cloning! Fork of project that used to be hosted at code.google.com/p/quickdic-dictionary.

License: Apache License 2.0

Shell 0.86% HTML 2.33% Java 96.80%

dictionary's Introduction

QuickDic

An offline dictionary for Android.

Cloning

Make sure you use the --recursive option to clone, or otherwise make sure the Util submodule is correctly checked out.

If you want to generate dictionaries, clone the DictionaryPC repository as well. It needs to be at the same level as this one, not inside it.

Compiling

To compile the APK, just open this repository in Android Studio. You can also use Gradle directly. Note that compilation is only tested on Linux. It is possible to disable the smallicu/makesmallicu step if it causes issues, though help to debug any such issue would be welcome.

Generating dictionaries

An approximation of the steps for generating dictionaries:

  1. Go into the DictionaryPC repository
  2. Run data/downloadInputs.sh to get the data
  3. Run ./compile.sh (probably needs quite a few things to be installed or paths in it configured) Alternatively, download a release binary: https://github.com/rdoeffinger/DictionaryPC/releases
  4. Run ./WiktionarySplitter.sh
  5. Run ./generate_dictionaries.sh You might want to edit the settings at the start of the file so it does not generate all dictionaries, and edit its input files like EN-trans-dictlist.txt to add new dictionaries. For a more manual approach, the commands it runs are something like ./run.sh --lang1=ES --lang2=PT --lang1Stoplist=data/inputs/stoplists/es.txt \ --dictOut=data/outputs/ES-PT.quickdic \ --dictInfo="(EN)Wiktionary-based ES-PT dictionary." --input1=data/inputs/wikiSplit/en/EN.data \ --input1Name=enwikitionary --input1Format=EnTranslationToTranslation \ --input1LangPattern1=es --input1LangPattern2=pt

dictionary's People

Contributors

rdoeffinger avatar uwetrottmann avatar antonv6 avatar mueller-ma avatar yourealwaysbe avatar larjona avatar therhokar avatar heineken avatar kvnco avatar kteby avatar notsoimportant avatar sdoerner avatar naofum avatar obibon avatar

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.