Code Monkey home page Code Monkey logo

moviedict's Introduction

MovieDict. What do they call it?

International movie title database for iPhone

Screenshot

An app for travelers, language learners and bilingual couples who like to talk about their favourite films. Check out the homepage for a little blurb about the project.

How does it work?

The most reliable way to look up a movie’s title in a different languages is to find it on Wikipedia, then follow the links to translations of the article. This is a frustrating workflow on a smartphone, though, especially when the signal is weak. This (multi-)weekend project transforms a Wikipedia dump into a tiny SQLite file, and the MovieDict app for iOS then searches the database using Unicode-enabled full-text search.

Why not use IMDb?

IMDb does not support Chinese or Japanese characters (among others), and is not available offline (when traveling).

Building the database

  • Download and extract enwiki, zhwiki, enwiki langlinks to a folder that has roughly 100 GB of free space.
  • Import the langlinks table into MySQL: mysqladmin -uroot -p create wikidumps && mysql -Dwikidumps -uroot -p < .../enwiki-20141106-langlinks.sql (should take about an hour).
  • Then take a look at the Rakefile. There is a task that will run the full process, but manually running things step-by-step while reading the Ruby scripts is the recommended workflow.

License

This is a free app with no business model, and the source code is available under the MIT license. See the LICENSE file for details.

moviedict's People

Contributors

jlnr avatar

Watchers

James Cloos avatar  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.