Giter Site home page Giter Site logo

kengdic's Introduction

kengdic is a large Korean/English dictionary database created by Joe Speigle. It was originally hosted at ezkorean.com, and I have posted it here (https://github.com/garfieldnate/kengdic) because it is no longer available anywhere else. It is released under MPL 2.0.

  • kengdic.sql is a PostgreSQL database dump of a the Korean/English dictionary as of 2009. It assumes the existence of a modpgwebuser schema, as well as a korean_english_wordid_seq sequence. It contains one table, korean_english with 143,795 rows. There is no primary key, but indexes are created on doe, wordid, and word. This table contains the following information:

    • Korean/English spelling
    • Hanja spellings, comma-separated
    • English definition
    • part of speech
    • source of the entry
  • kengdic_2011.tsv is a tab-separated file containing a database dump of the same Korean/English dictionary, but instead of being a SQL file it is simply a tab-separated file containing all of the data. It contains 133,876 rows. As this is probably cleaner, newer, better data than kengdic.sql, it may not be worth cleaning up that file at all.

  • create_kengdic.sql creates the kengdic database and sources the data in kengdic_2011.tsv. To run it:

    • Make sure postgres is running on your machine and run this command in the terminal: psql < create_table.sql
      • You may need to provide a user with the -U switch, like so: psql -U username < create_table.sql
    • This should create a database called 'kengdic' with one table called 'korean_english'
    • Run 'psql kengdic' and make sure everything imported correctly: "SELECT COUNT(*) FROM korean_english;" should tell you there are 133,876 rows in the table.
  • ezcorean_6000.sql is a database dump of 6000 common Korean words, along with the definitions and hanja.

TODOs for each file:

  • kengdic.sql:

    • fix entries where the entries are HTML containing both hangeul and hanja in text body
    • normalize Hanja (have relation table and hanja table separate instead of comma-separating them)
    • find the difference between pos and posn
    • find which numbers indicate which part of speech
    • add comments for all columns and tables
    • replace 'see 6000' in the definitions with the definition from the 6000 list from ezkorean.com
    • add primary key (I'm pretty sure that would be good; there are already indices, though)
    • export to sqlite
  • kengdic_2011.tsv:

    • Do something about entries with no definition

Information may be incomplete, as we are still exploring and documenting the contents of this repository. Any contributions to information about this content would be much appreciated.

kengdic's People

Contributors

garfieldnate avatar bmcd avatar

Watchers

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