Giter VIP home page Giter VIP logo

georgian-language-toolkit's Introduction

Georgian Language Toolkit

A place to put handy scripts for dealing with Georgian language.

Please include an update to the README with a description of your script in all pull requests.

Ruby

-string.rb - extends the ruby string library to add some additional functions for Georgian language -def latinize(map = LANG_MAP_TO_GEO) - converts a georgian string to latin characters

  • def georgianize(map = LANG_MAP_TO_ENG) - converts latin string to georgian characters
  • def get_language - returns 'ka' or 'en', whichever langauge predominates in the string
  • def is_georgian? - returns true if string is georgian characters
  • def is_latin? - returns true if string is latin characters
  • def georgian_morph(type = 'basic') - does some morphing on georgian word patterns, but needs development to be of use for anyone

Python/Django

  • glt.py - toolkit to deal with Georgian language
  • CHARMAP_GEO2LAT - mapping of Georgian characters to Latin characters
  • CHARMAP_LAT2GEO - mapping of Latin characters to Georgian characters
  • CHARMAP_UNI2LAT - mapping of various unicode characters to Latin characters
  • def to_georgian - convert a Latin string into the Georgian equivalent
  • def to_latin - convert a Georgian string to the Latin equivalent
  • def month_ka2en - convert a Georgian month name string to the English equivalent
  • def slughifi - replacement for Django's slugify which cannot deal nicely with unicode chars.
  • def lastname_first - converts given name so the lastname comes first (correct georgian declination)
  • def firstname_first - converts given name so the firstname comes first (correct georgian declination)
  • pid.py - locate Georgian personal ID numbers
  • def validate_personal_id - Checks a string for basic conformity to Georgia's personal ID number format
  • def extract_ids - Goes through a text file word-by-word looking for strings that validate as IDs.

georgian-language-toolkit's People

Contributors

ddohler avatar

Watchers

 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.