1
1
mirror of git://anongit.freedesktop.org/libreoffice/dictionaries synced 2025-10-05 16:13:05 +02:00

Add Persian (fa-IR) dictionary

Change-Id: I906c924dfe346898f7f5c69d2c1a3e6ae9424651
Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/138891
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Aron Budea
2022-08-26 04:31:19 +02:00
committed by Andras Timar
parent d201d1180c
commit 1bee012fc5
11 changed files with 104356 additions and 0 deletions

21
Dictionary_fa.mk Normal file
View File

@@ -0,0 +1,21 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Dictionary_Dictionary,dict-fa,dictionaries/fa_IR))
$(eval $(call gb_Dictionary_add_root_files,dict-fa,\
dictionaries/fa_IR/fa-IR.aff \
dictionaries/fa_IR/fa-IR.dic \
dictionaries/fa_IR/LICENSE \
dictionaries/fa_IR/README_fa_IR.txt \
dictionaries/fa_IR/icon.png \
dictionaries/fa_IR/package-description.txt \
))
# vim: set noet sw=4 ts=4:

View File

@@ -36,6 +36,7 @@ $(eval $(call gb_Module_add_l10n_targets,dictionaries,\
Dictionary_eo \
Dictionary_es \
Dictionary_et \
Dictionary_fa \
Dictionary_fr \
Dictionary_gd \
Dictionary_gl \

15
fa_IR/LICENSE Normal file
View File

@@ -0,0 +1,15 @@
Lilak, Persian Spell Checking Dictionary
Copyright 2015
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="dictionaries.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description" manifest:full-path="package-description.txt"/>
</manifest:manifest>

26
fa_IR/README_fa_IR.txt Normal file
View File

@@ -0,0 +1,26 @@
Source
======
https://github.com/b00f/lilak
License
=======
Lilak, Persian Spell Checking Dictionary
Copyright 2015 Mostafa Sedaghat Joo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
README
======
Lilak is an open source project for generating Persian dictionary for hunspell spell checker based on Persian Morphology.
This dictionary is free and the source is available under Apache License Version 2.0.

22
fa_IR/description.xml Normal file
View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<platform value="all" />
<version value="3.3" />
<identifier value="Lilak.Persian.Hunspell.Dictionary.by.Mostafa.Sedaghat.Joo" />
<display-name>
<name lang="en">Lilak, Persian Spell Checking Dictionary</name>
<name lang="fa">لیلک، غلط‌ یاب فارسی</name>
</display-name>
<dependencies>
<OpenOffice.org-minimal-version value="3.4" d:name="OpenOffice.org 3.4" />
</dependencies>
<icon>
<default xlink:href="icon.png" />
</icon>
<publisher>
<name xlink:href="http://github.com/b00f/lilak" lang="en">Mostafa Sedaghat Joo</name>
</publisher>
</description>

19
fa_IR/dictionaries.xcu Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">
<node oor:name="ServiceManager">
<node oor:name="Dictionaries">
<node oor:name="HunSpellDic_fa_IR" oor:op="fuse">
<prop oor:name="Locations" oor:type="oor:string-list">
<value>%origin%/fa-IR.aff %origin%/fa-IR.dic</value>
</prop>
<prop oor:name="Format" oor:type="xs:string">
<value>DICT_SPELL</value>
</prop>
<prop oor:name="Locales" oor:type="oor:string-list">
<value>fa-IR</value>
</prop>
</node>
</node>
</node>
</oor:component-data>

217
fa_IR/fa-IR.aff Normal file
View File

@@ -0,0 +1,217 @@
##
## Lilak, Persian Spell Checking Dictionary
##
## Copyright 2015 Mostafa Sedaghat Joo
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
##
## For more information check:
## Lilak: https://github.com/b00f/lilak
## File Version 3.3, 2019-11-20
##
SET UTF-8
LANG fa_FA
FLAG long
TRY یاندمر‌هوبتسشلزگکفخپجآقچعحغصذطضژئظثءًؤأُةَِّٔ
KEY ضصثقفغعهخحجچپ|شسیبلاتنمکگ|ظطزرذدئو
#IGNORE ًٌٍَُِّـْ
NOSPLITSUGS
NOSUGGEST !!
COMPOUNDBEGIN UU
COMPOUNDEND WW
NEEDAFFIX AA
COMPOUNDFLAG CC
ONLYINCOMPOUND OO
COMPOUNDPERMITFLAG PP
COMPOUNDFORBIDFLAG FF
COMPOUNDMIN 1
## clitics
PFX pa N 1
PFX pa 0 بی‌/FFUU .
SFX sa N 6
SFX sa 0 م/FFWW .
SFX sa 0 ت/FFWW .
SFX sa 0 ش/FFWW .
SFX sa 0 مان/FFWW .
SFX sa 0 تان/FFWW .
SFX sa 0 شان/FFWW .
SFX sb N 6
SFX sb 0 یم/FFWW .
SFX sb 0 یت/FFWW .
SFX sb 0 یش/FFWW .
SFX sb 0 یمان/FFWW .
SFX sb 0 یتان/FFWW .
SFX sb 0 یشان/FFWW .
## with zwnj
SFX sc N 6
SFX sc 0 ‌ام/FFWW .
SFX sc 0 ‌ات/FFWW .
SFX sc 0 ‌اش/FFWW .
SFX sc 0 ‌مان/FFWW .
SFX sc 0 ‌تان/FFWW .
SFX sc 0 ‌شان/FFWW .
SFX sd N 3
SFX sd 0 ها/FFWW .
SFX sd 0 های/FFWW .
SFX sd 0 هایی/FFWW .
SFX se N 6
SFX se 0 هایم/FFWW .
SFX se 0 هایت/FFWW .
SFX se 0 هایش/FFWW .
SFX se 0 هایمان/FFWW .
SFX se 0 هایتان/FFWW .
SFX se 0 هایشان/FFWW .
SFX sf N 1
SFX sf 0 هاست/FFWW .
## with zwnj
SFX sg N 3
SFX sg 0 ها/FFWW .
SFX sg 0 ‌های/FFWW .
SFX sg 0 ‌هایی/FFWW .
## with zwnj
SFX sh N 6
SFX sh 0 ‌هایم/FFWW .
SFX sh 0 ‌هایت/FFWW .
SFX sh 0 ‌هایش/FFWW .
SFX sh 0 ‌هایمان/FFWW .
SFX sh 0 ‌هایتان/FFWW .
SFX sh 0 ‌هایشان/FFWW .
## with zwnj
SFX si N 1
SFX si 0 ‌هاست/FFWW .
SFX sj N 8
SFX sj 0 ان/sa .
SFX sj 0 انی/FFWW .
SFX sj 0 انم/FFWW .
SFX sj 0 انت/FFWW .
SFX sj 0 انش/FFWW .
SFX sj 0 انمان/FFWW .
SFX sj 0 انتان/FFWW .
SFX sj 0 انشان/FFWW .
SFX sk N 2
SFX sk 0 ‌ی/FFWW .
SFX sk 0 ٔ/FFWW .
SFX sl N 1
SFX sl 0 ی/FFWW .
## with zwnj
SFX sm N 1
SFX sm 0 ‌ای/FFWW .
SFX sn N 1
SFX sn 0 یی/FFWW .
SFX so N 6
SFX so 0 م/FFWW .
SFX so 0 ی/FFWW .
SFX so 0 ست/FFWW .
SFX so 0 یم/FFWW .
SFX so 0 ید/FFWW .
SFX so 0 ند/FFWW .
## with zwnj
SFX sp N 5
SFX sp 0 ‌ام/FFWW .
SFX sp 0 ‌ای/FFWW .
SFX sp 0 ‌ایم/FFWW .
SFX sp 0 ‌اید/FFWW .
SFX sp 0 ‌اند/FFWW .
SFX sq N 6
SFX sq 0 یم/FFWW .
SFX sq 0 یی/FFWW .
SFX sq 0 ست/FFWW .
SFX sq 0 ییم/FFWW .
SFX sq 0 یید/FFWW .
SFX sq 0 یند/FFWW .
SFX sr N 5
SFX sr 0 م/FFWW .
SFX sr 0 ی/FFWW .
SFX sr 0 یم/FFWW .
SFX sr 0 ید/FFWW .
SFX sr 0 ند/FFWW .
SFX st N 2
SFX st 0 تر/sdslso .
SFX st 0 ترین/sgso .
## with zwnj
SFX su N 2
SFX su 0 ‌تر/sdslso .
SFX su 0 ‌ترین/sgso .
## Ye With Kasre-Ezafe
SFX sv N 1
SFX sv 0 ی .
REP 9
REP ي ی
REP ئ ی
REP ك ک
REP ة ه
REP ة ت
REP ؤ و
REP أ ا
REP إ ا
REP _
MAP 13
MAP ضص
MAP طظ
MAP ضظ
MAP فق
MAP غع
MAP چخحج
MAP بیپ
MAP نثت
MAP کگ
MAP ژزر
MAP اآأإ
MAP دذ
MAP ءٔ

104025
fa_IR/fa-IR.dic Normal file

File diff suppressed because it is too large Load Diff

BIN
fa_IR/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,4 @@
Lilak, Persian Spell Checking Dictionary
Lilak is an open source project for generating Persian dictionary for hunspell spell checker based on Persian Morphology.
This dictionary is free and the source is available under Apache License Version 2.0.