Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.91 KB

readme.md

File metadata and controls

42 lines (26 loc) · 1.91 KB

Languator

Aims to help with English synonyms, derived words, autosuggestion and spelling easily and efficiently.

Demonstration

Features

  • Autosuggests words as you type.
  • Offers synonyms for every word you type.
  • Checks spelling.
  • Helps with irregular verbs.
  • Shows derived words.
  • Lists the prepositions for phrasal verbs.

But Whyyyy

I created the tool in May 2011 as a programming part of my bachelor's thesis.

And how?

  • Firstly, there was some data mining needed to do. I took wiktionary xml source and grabbed all the useful information I could and saved it to PostgreSQL database. Then I ran the parsing script again with wikipedia xml source to get the frequency of each word to be able to provide most relevant suggesting.

  • Secondly, I used JettyServer as a HTTP Server for exposing couple REST APIs to serve data from the database, Hunspell spell checker and WordNet lexical database.

    List of APIs:
    • /api/suggest - PostgreSQL database with datamined words
    • /api/synonyms - WordNet lexical database
    • /api/derivedwords - PostgreSQL database with datamined words
    • /api/misspelled - Hunspell spell checker
    • /api/irregularverbs - PostgreSQL database with contents grabbed from wiktionary irregular verbs
  • The frontend JavaScript tool was the last thing remaining to implement. I took advantage of jQuery framework and it's UI plugins.

Is it awesome?

Of course. Give it a try!

Marek Polcar, 2011, cilf.cz

The source code is licensed under New BSD License.