Coder Social home page Coder Social logo

macedonian-dictionary's Introduction

Macedonian dictionary scraping

The repository contains R-code and .tcv table. R-code is for data scraping. It forms table-type file macedonian.tcv based on data from http://makedonski.info.

R-code

The program has two parts. In the first part with Macedonian alphabet we form links leading to web-pages for each letter [link example http://makedonski.info/letter/к], then we extract words' menu and form links for each menu string [link example http://makedonski.info/letter/к/крштелен/кубира], from those links we extract lexemes. As the result of the firs part we form links for all lexemes, presented in the dictionary [link example http://makedonski.info/show/крштење]

In the second part we proceed to scraping. With links from the first part we extract vocabulary information about lexemes from each page.
As the result we get a table with lines for each dictionary entry with lexeme links in first column and other information in other columns. In cases of polysemantic word, every not-first meaning is separated with separator NEXT_MEANING. But the problem comes when there is a lack of a certain tag: all meanings in the cell move up

.tcv table

The dictionary is a table where lines are for dictionary entries and columns for articles' content. It has 54475 lines: first line for columns names, (=54474 dictionary entries) and 11 columns.

  • in the firs column there are links to the dictionary articles,
  • second column contains example of inflected form (tag flexion),
  • in the third — grammatical information (tag grammar),
  • in the fourth — definition(s) (tag definition),
  • in the fivth — translations to foreign languages (English, Turkish, Albanian and some others) (tag translation),
  • in the sixth — commentaries about usage (tag used),
  • in the seventh — example of usage (tag example),
  • in the eighth — connected links (tag semem_links),
  • in the ninth — examples of idioms and its usage (tag idiom),
  • in the tenth — the word's derivates (tag derivation),
  • in the eleventh — word (lexeme)

Authors

  • George Moroz
  • Ksenia Romanova

See also the list of contributors.

macedonian-dictionary's People

Contributors

kseniaherself avatar

Watchers

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