Dictionary

From CCIL
Revision as of 04:05, 17 May 2017 by Atanas.ilchev (Talk | contribs) (Setup)

Jump to: navigation, search

Goal

The goal of this tutorial is to create a simple dictionary - a database with words from a specific language(s). It will be created in a very simple manner - we supply some text to the pipeline (in PDF, TXT or any other popular format), which parses it and insert the words in a unique manner to a database.


What we have to do?

  1. Parse text which comes in an arbitrary format
  2. Insert all tokens words from it, which satisfy the 'word' criteria in a database with no duplications

Setup

Obviously, we will need to setup a context. It has a very simple structure, for the purpose of the tutorial we will name it "dictionary" :

context
\- apps
   \- dictionary
      |- languages
      |  \- en
      |     \- source.pdf
      \- context.properties

You can find source.pdf attached to this page. It is just an ordinary text downloaded from the Internet.

Parsing the text

TBA

Insert into database

TBA

Further steps

TBA