Loading repository data…
Loading repository data…
kabikaj / repository
Jabalín is an application for generating verbs in Modern Standard Arabic. The application is implemented in python language version 3. The project includes a lexicon of 15.452 lemmas that can be used as the input of the system. The system generates all verbs as morphologically regular starting from the verbal root. Irregularities are considered phonological alterations affecting the superficial level of the form and as such they are treated in a later stage. The system classifies all verbs in only two conjugational classes. Jabalín has been developed in LLI-UAM, The Laboratorio de Lingüística Informática, Universidad Autónoma de Madrid.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
#==============================================================================================
#==============================================================================================
DESCRIPTION
The Jabalín verbal generator generates the full conjugation of a given lexicon of verb lemmas. The program is written in python 3.
The system includes a complete lexicon of Modern Standard Arabic and Classical Arabic verb lemmas named "lexicon_lemas_jabalin.txt" as the default input lexicon for the system.
If you want to generate the conjugation of a different input lexicon please read the the file JabalínLinguisticDocumentation.pdf to know the required format of input file. In this file you will also find information on the tagset used in the output file generated by the system.
The jabalín generator includes the following files:
JabalinGenerator.py
ID.py
PT.py
ED.py
vocalization.py
stem_adjustment.py
Inflec.py
phonotactics.py
utilities.py
lexicon_lemas_jabalin.txt
linguisticDocumentation.pdf
HOW TO RUN
Open the shell in the Jabalín directory and write the following in the command line, specifying the name of the output file:
On windows: >>> C:/Python32/python.exe JabalinGenerator.py lexicon_lemas_jabalin.txt name_output_file.txt
Note: check your exact version of python 3
On Linux and Mac: >>> python3 JabalinGenerator.py lexicon_lemas_jabalin.txt name_output_file.txt
After some minutes your output file will contain the full conjugation of the verbs incuded in the input file.
Note: To fully understand the information of each verbal entry please read the JabalínLinguisticDocumentation.pdf document.
DESCRIPTION
The file "DataExtractor.py" allows you to extract frequency data from the output lexicon of inflected forms. When you run the program a menu appears to allow you to select the information you want to extract.
The jabalín data extractor includes the following files:
DataExtractor.py
util_DataExtractor.py
lexicon_lemas_jabalin.txt
Important note: the program also needs a text file named "lexiconVerbs_jabalin.txt"
This file is the output of the generation system.
Be sure to name the file as it is indicated.
HOW TO RUN
Open the shell in the Jabalín directory and write the following in the command line:
On windows: >>> C:/Python32/python.exe DataExtractor.py On Linux and Mac: >>> python3 DataExtractor.py
Choose the option for the desired data
The results will be shown directly on the shell.