{"id":13823598,"url":"https://github.com/b00f/lilak","last_synced_at":"2026-02-16T23:34:26.162Z","repository":{"id":45741816,"uuid":"45549062","full_name":"b00f/lilak","owner":"b00f","description":"Persian Spell Checking Dictionary","archived":false,"fork":false,"pushed_at":"2022-09-04T04:19:46.000Z","size":952,"stargazers_count":160,"open_issues_count":10,"forks_count":11,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-10-19T17:39:11.888Z","etag":null,"topics":["dictionary","hunspell","lexicon","lilak","persian-language","persian-spell-checker","verbs"],"latest_commit_sha":null,"homepage":"http://lilak-project.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b00f.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-04T15:44:17.000Z","updated_at":"2025-10-11T05:58:38.000Z","dependencies_parsed_at":"2023-01-17T19:47:42.141Z","dependency_job_id":null,"html_url":"https://github.com/b00f/lilak","commit_stats":null,"previous_names":["m-o-s-t-a-f-a/lilak"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/b00f/lilak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b00f%2Flilak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b00f%2Flilak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b00f%2Flilak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b00f%2Flilak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b00f","download_url":"https://codeload.github.com/b00f/lilak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b00f%2Flilak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29524333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T21:45:09.491Z","status":"ssl_error","status_checked_at":"2026-02-16T21:44:58.452Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dictionary","hunspell","lexicon","lilak","persian-language","persian-spell-checker","verbs"],"created_at":"2024-08-04T09:00:37.825Z","updated_at":"2026-02-16T23:34:26.134Z","avatar_url":"https://github.com/b00f.png","language":"HTML","funding_links":["https://patreon.com/b00f"],"categories":["HTML"],"sub_categories":[],"readme":"# Lilak, Persian Spell Checking Dictionary\n  [![Build Status](https://travis-ci.com/b00f/lilak.svg?branch=master)](https://travis-ci.com/b00f/lilak)\n  [![Donate](https://img.shields.io/badge/support-patreon-F96854.svg?style=flat-square)](https://patreon.com/b00f)\n\n[Lilak](https://github.com/b00f/lilak) is an open source project for generating Persian dictionary for [hunspell](https://github.com/hunspell/hunspell) spell checker based on Persian Morphology.\n\nIn Persian language affixes can change the meaning of the word. Some suffixes attached to a word as short form of verbs. Part-of-speech plays an important role in Persian language. In some cases the pronunciation of the word can change the suffixes. Check the code for more information.\n\nLilak has a [lexicon](http://lilak-project.com) of Persian words with part-of-speech tags. Lilak builds a dictionary for hunspell to predict the best form of compound words based on morphological rules.\n\n## Content\n\n```text\nlilak\n  |-- build           : Build folder. Compiled dictionary goes here.\n  |\n  |-- src\n  |   |-- data\n  |   |   |-- lexicon       : Lexicon of Persian words with part-of-speech tags\n  |   |   |-- affixes       : Affix (prefix or suffix) rules\n  |   |   |-- dic_users     : List of words without POS tag.\n  |   |   \\-- verbs.htm     : List of Persian verbs (unstemmed)\n  |   |\n  |   |-- lilak.py    : Python script for building lilak dictionary\n  |   \\-- test.py     : Python script to test lilak accuracy\n  |\n  |-- test\n  |   |-- text1       : \"Farsi(Persian) is Sugar\", A short story by Mohammad-Ali Jamalzadeh\n  |   |-- text2       : \"A Hekayat\" By Saadi\n  |   |-- text3       : \"A Ghazal\" By Hafez\n  |   |-- text4       : \"Yazdgerd Kingdom\" By Ferdowsi\n  |   |-- text5       : \"A Ghazal\" By Muhammad Husayn Tabataba'i\n  |   |-- text6       : \"Have a Safe Trip\" A poem by Shafii Kadkani\n  |   |-- text7       : \"Se Tar\" A short story by Jalal Al-e-Ahmad\n  |   |-- text8       : \"End of Shahname\" By Mehdi Akhavan-Sales\n  |   |-- text9       : \"The Water\"s Footsteps\" By Sohrab Sepehri\n  |   |-- text10      : \"Nei Name\" By Rumi\n  |   \\-- verbs       : Some inflected verbs\n  |\n  |-- README.md       :\n  \\-- LICENCE         : License file\n```\n\n## Building Dictionary\n\nBefore using lilak please make sure you have install python 3.x.\n\nTo build the lilak dictionary, run lilak.py from `src` folder:\n\n```bash\nmake build\nmake test\n```\n\nYou can find the compiled dictionary at the `build` folder.\n\ncheck [result.log](./test/result.log) for test result.\n\n## How to contribute\n\nThe best way you can contribute on this project is collecting words with correct part-of-speech tags.\nPart-of-speech is important to build Lilak. It should classified in main types like: verb, noun, adjective, etc. Also some other tags will be useful. like tense of verb, singular or plural, etc.\nCheck the `src/data/lexicon` for more information\n\nPlease open an issue if you find any mistakes while using lilak.\n\n## Using Lilak\n\n- You can find compiled dictionaries [here](https://github.com/b00f/lilak/releases/).\n- Mozilla Firefox: Install lilak extension from here [here](https://addons.mozilla.org/en-US/firefox/addon/lilak-persian-dictionary/).\n- Google Chrome: Go to Settings, find Language and input settings, add Persian language and make sure you have enabled the spell checker option.\n\n## Supporting Lilak\nIf you like this project, please [donate](http://lilak-project.com/donate.php) or consider becoming a patron:\n\n[![Become a patron](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://patreon.com/b00f)\n\n## License\nLilak is published under Apache licence. You may freely use, reproduce, modify or distribute it. If you think lilak is useful please support it.\n\n## About the Name\n\n*lilac* in English came from French lilac \"shrub of genus Syringa with mauve flowers\"\nfrom Spanish lilac, from Arabic *lilak*, from Persian *lilak*, variant of nilak \"bluish\"\n\n## In Memory of Abolhassan Najafi\n\n[Abolhassan Najafi](https://en.wikipedia.org/wiki/Abolhassan_Najafi) was an associate member of Iran's Academy of Persian Language and Literature. His most famous books is \"Ghalat Nanevisim\" (Let’s not write incorrect).\n\n\n## Thanks\n\nSpecial thanks to\n\n- Dr. Hamid Farrroukh : [alefbaye2om](http://alefbaye2om.org/)\n- Dr. Hamid Hassani : [wikipedia](https://en.wikipedia.org/wiki/Hamid_Hassani)\n- Dr. Reza Moshksar : [github](https://github.com/reza1615)\n- 5j9 : [github](https://github.com/5j9)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb00f%2Flilak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb00f%2Flilak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb00f%2Flilak/lists"}