🇬🇪 ქართული დამარცვლა

Georgian Language Hyphenation Algorithm

v2.2.7 NEW

17+ New Functions | HTML-Aware | Mobile-Ready

🎯 Interactive Demo
✨ New in v2.2.7
🧪 Algorithm
📦 Platforms
📖 About

🎯 Interactive Demo

📝 შეიყვანეთ ტექსტი
📊 სტატისტიკა
0 სიტყვები
0 მარცვლები
0 საშუალო
0% წარმატება

✨ New in v2.2.7

17+ new utility functions added to Python and JavaScript packages!

🌐

HTML-Aware Hyphenation

Automatically preserves <code>, <pre>, <script> tags while hyphenating content. Perfect for blogs and documentation.

🔢

Count Syllables

New countSyllables() function returns the number of syllables in any Georgian word instantly.

Text Validation

isGeorgian() checks if text contains only Georgian characters. Perfect for form validation.

⛓️

Method Chaining

All configuration methods now support fluent API chaining for cleaner code.

📚

Dictionary Management

Add, remove, export custom exceptions. Full control over the hyphenation dictionary.

Batch Processing

hyphenateWords() processes multiple words at once for better performance.

🎛️

Configurable Margins

Adjust left/right minimum syllable lengths with setLeftMin() and setRightMin().

🔧

Cluster Control

Add or remove harmonic clusters to customize the algorithm for your needs.

📦 Browser Extensions Also Updated!

✅ Fixed Facebook Hyphenation

All posts now fully hyphenated with persistent updates

✅ Smart Justify Fix

Only Georgian text gets justified, not English

🆕 Meta Platform Detection

Special handling for Facebook, Instagram, Threads

⚡ Better Performance

Optimized DOM traversal and memory management

🧪 How It Works

1️⃣ Vowel Detection

Identifies Georgian vowels (ა, ე, ი, ო, უ) and calculates phonological distance between them.

2️⃣ Harmonic Clusters

Recognizes 70+ Georgian consonant clusters (ბრ, გრ, კრ, ტრ, წვ, etc.) that must stay together.

3️⃣ Gemination

Splits double consonants (კკ → კ­კ, ტტ → ტ­ტ) according to Georgian phonology.

4️⃣ Anti-Orphan

Ensures minimum 2 characters on each side to prevent single-letter syllables.

5️⃣ Dictionary Lookup

Checks 148 exception words first for irregular cases and tech terms.

6️⃣ Soft Hyphens

Inserts invisible U+00AD characters that only appear when line breaks.

📐 Syllabification Rules

V-V: Split between vowels → გა-ა-ნა-ლი-ზა
V-C-V: Split after first vowel → მა-მა
V-CC-V: Split between consonants → ბარ-ბა-რე
V-XY-V: Keep harmonic clusters → ას-ტრო-ნო-მი-ა

📦 Available Platforms

🐍 Python (v2.2.7)

pip install georgian-hyphenation

PyPI Package →

✅ Python 3.7+ | ✅ 17+ New Functions | ✅ Type Hints | ✅ Zero Dependencies

📦 JavaScript/Node.js (v2.2.7)

npm install georgian-hyphenation

NPM Package →

✅ Node 14+ | ✅ ESM & CommonJS | ✅ 17+ New Functions | ✅ Browser Compatible

🦊 Firefox Extension (v2.2.7)

ავტომატური დამარცვლა ყველა ქართულ ვებსაიტზე

Install from Firefox Add-ons →

✅ Auto-hyphenation | ✅ Smart Justify | ✅ Meta Platform Support | ✅ Real-time Stats

🌐 Chrome Extension (v2.2.7)

Same features as Firefox, manual installation

Download from GitHub →

✅ Manifest v3 | ✅ Facebook Support | ✅ Dynamic Content | ✅ Memory Optimized

📝 Microsoft Word Add-in (v2.2.6)

Professional document hyphenation with error detection

Installation Guide →

✅ Soft Hyphens | ✅ Progress Tracking | ✅ Activity Journal | ✅ Theme Support

🔌 WordPress Plugin (v2.2.6)

სრული Elementor მხარდაჭერა და Auto Justify

✅ Elementor Support | ✅ Custom Selectors | ✅ Dictionary Support | ✅ Real-time Preview

📖 About

🎓 Academic Foundation

Georgian Hyphenation არის აკადემიურად დასაბუთებული ალგორითმი, რომელიც ეფუძნება ქართული ენის ფონოლოგიურ კვლევებს და მარცვლის სტრუქტურის წესებს. პროექტი მიზნად ისახავს ქართული ტექსტის პროფესიონალურ ტიპოგრაფიას, ციფრულ გამოცემებსა და თანამედროვე ვებ სტანდარტებთან ინტეგრაციას.

High Performance

~1000 words/second processing speed with O(1) cluster lookups using Set data structure.

🎯

98%+ Accuracy

Validated on 10,000+ Georgian words with continuous improvements.

💾

Lightweight

~12KB JavaScript, ~100KB with dictionary. Zero dependencies.

🔓

Open Source

MIT License. Contributions welcome on GitHub.

📧 Contact & Contributions

📜 License: MIT License - Open Source
🌟 Contributions: Pull Requests welcome! Help improve Georgian typography.