Git Product home page Git Product logo

ldoce5viewer's Introduction

LDOCE5 Viewer

image

The LDOCE5 Viewer is an alternative dictionary viewer for the Longman Dictionary of Contemporary English 5th Edition (LDOCE 5).

Website: http://hakidame.net/ldoce5viewer/

It runs on Linux, Mac OS X and Microsoft Windows.

This software is free and open source software licensed under the terms of GPLv3.

Prerequisites

  • Longman Dictionary of Contemporary English 5th Edition (DVD-ROM)
  • Python 2.7 or 2.6 (or 3.x)
  • Development tools for PyQt4
  • lxml
  • Whoosh 2.x

Installation

Windows

Simple download and execute the .exe file here.

Linux

If a package is yet to be available for your distro, you need to build it from source.

Available Packages

For Arch Linux, two packages ldoce5viewer and ldoce5viewer-git exist on AUR.

Prequisites for building from source

  • Python 2.7 or 2.6 (or 3.x)

  • Development tools for PyQt4

    • pyqt4-dev-tools (Ubuntu/Mint/Debian), pyqt4-dev-tools (Arch Linux)
  • lxml

    • python-lxml (Ubuntu/Mint/Debian), python-lxml (Arch Linux)
  • Whoosh 2.x

    • python-whoosh (Ubuntu/Mint/Debian), python-whoosh in AUR (Arch Linux)

    • If you are on Ubuntu 15+, the default python-whoosh to be installed is 2.7.0+, which may cause error with the application during index. Therefore,you have 2 options :

      • Use pip to install python whoosh 2.5.python-pip pip install whoosh==2.5.7

      • Install .deb file from here to grab the old version (2.5.7) of python-whoosh.

  • [On Linux] Python bindings for Gstreamer

    • python-gst0.10 (Ubuntu/Mint/Debian), gstreamer0.10-python (Arch Linux)
  • [On Linux] Gstreamer plugins for MP3 audio playback

    • gstreamer0.10-plugins-good & gstreamer0.10-plugins-ugly (Ubuntu/Mint/Debian), gstreamer0.10-good-plugins & gstreamer0.10-ugly-plugins (Arch Linux)

If you're using Ubuntu 15.x, you should install python-qt4-phonon to pronunce words and sentences correctly: - python-qt4-phonon

Installation

Linux

Packages

For Arch Linux, two packages ldoce5viewer and ldoce5viewer-git exist on AUR.

Manually

  1. Enter the following commands in the terminal:

    $ make build
    $ sudo make install
  2. Copy the 'ldoce5.data' directory from the LDOCE5 DVD-ROM to an arbitrary location in your HDD or SSD.

  3. Start the LDOCE5 Viewer.

  4. The application will ask you the location where you put 'ldoce5.data'.

Mac OS X

Available packages

Download and run your .app file here

Install manually From Source

Homebrew:

$ brew install pyqt
$ pip install lxml pyobjc-core pyobjc-framework-Cocoa whoosh py2app
$ # inside ldoce5viewer directory
$ sudo DISTUTILS_DEBUG=1 python setup.py py2app
$ open dist/LDOCE5\ Viewer.app/

Or if you are using MacPorts:

  • Install the following ports:
    • python27 (or python3x)
    • py27-pyqt4
    • py27-lxml
    • py27-whoosh
    • py27-pyobjc-cocoa
  • Run the LDOCE5 Viewer

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.