Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
assem-ch committed May 6, 2020
1 parent 30d4040 commit 664d394
Show file tree
Hide file tree
Showing 23 changed files with 631 additions and 1,502 deletions.
15 changes: 0 additions & 15 deletions COPYING

This file was deleted.

690 changes: 629 additions & 61 deletions README.rst

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/alfanous-import/Parser.py

This file was deleted.

Empty file removed src/alfanous-import/README.rst
Empty file.
5 changes: 0 additions & 5 deletions src/alfanous-import/Standardizer.py

This file was deleted.

75 changes: 0 additions & 75 deletions src/alfanous-import/alfanous-import.rst

This file was deleted.

11 changes: 0 additions & 11 deletions src/alfanous-import/setup.sh

This file was deleted.

17 changes: 0 additions & 17 deletions src/alfanous/Misc.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
# coding: utf-8

""" Misc functions """

#localization functions
#import gettext
#gettext.bindtextdomain( "fanous", "./locale" )
#gettext.textdomain( "fanous" )
#_ = gettext.gettext
#N_ = gettext.ngettext


##get location
#import locale
#LOC = locale.getdefaultlocale()[0]

##get platform
#import sys
#SYS = sys.platform

FILTER_DOUBLES = filter_doubles = lambda lst:list( set( lst ) )
LOCATE = lambda source, dist, itm: dist[source.index( itm )] \
Expand Down
2 changes: 1 addition & 1 deletion src/alfanous/Outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
from alfanous.Data import *
from alfanous.Romanization import transliterate
from alfanous.Misc import LOCATE, FIND, FILTER_DOUBLES
from alfanous.Constants import LANGS
from alfanous.constants import LANGS


STANDARD2UTHMANI = lambda x: std2uth_words[x] if std2uth_words.has_key( x ) else x
Expand Down
662 changes: 0 additions & 662 deletions src/alfanous/README.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/alfanous/TextProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from alfanous.Support.PyArabic.araby import strip_tashkeel, strip_tatweel,strip_shadda, normalize_spellerrors, normalize_hamza, normalize_lamalef, normalize_uthmani_symbols # , HARAKAT_pat,
from alfanous.Support.PyArabic.araby import FATHATAN, DAMMATAN, KASRATAN, FATHA, DAMMA, KASRA, SUKUN, SHADDA # *

from alfanous.Constants import INVERTEDSHAPING
from alfanous.constants import INVERTEDSHAPING
# from alfanous.dynamic_resources import stopwords_dyn ##should test existence before importing


Expand Down
59 changes: 0 additions & 59 deletions src/alfanous/alfanous.Support.PyArabic.rst

This file was deleted.

19 changes: 0 additions & 19 deletions src/alfanous/alfanous.Support.rst

This file was deleted.

67 changes: 0 additions & 67 deletions src/alfanous/alfanous.Support.whoosh.filedb.rst

This file was deleted.

51 changes: 0 additions & 51 deletions src/alfanous/alfanous.Support.whoosh.lang.rst

This file was deleted.

35 changes: 0 additions & 35 deletions src/alfanous/alfanous.Support.whoosh.qparser.rst

This file was deleted.

Loading

0 comments on commit 664d394

Please sign in to comment.