Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MorphoAra #390

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

yuosef46
Copy link
Contributor

unit test for regular verbs form III v3:

-- مُسَافَرَاَة
AllAraAbs: GerundNP (UseV travel_V)
AllAra: مُسَافَرَة

running unittest.py reslut:

# Testing file: unittest-example.gftest

Test 1 (line 2..): 2 examples
[Error at line 3] The result of line 3 (AllAra):
    مُسَافَرَة
is not among the results of line 2 (AllAraAbs):
    مُسَافَرَاَة

Found 1 error in 1 test!

@inariksit inariksit linked an issue Jan 25, 2022 that may be closed by this pull request
@inariksit
Copy link
Member

Could I trouble you to test this with a few more verbs? I know there are no other Form III verbs in Lexicon, but you could add them in AllAraAbs (and linearise in AllAra) for testing purposes. Like this:

--# -path=.:../abstract:../common:prelude

abstract AllAraAbs = Lang, Extend ** {
  fun
    someTestVerb : V ;
    anotherTestVerb : V ;
     }

and corresponding lins in AllAra.

The reason I'm asking: I was googling a bit, and found this page https://quizlet.com/204282015/arabic-masdar-rules-flash-cards/ which says

Form 3 المفاعلة Rule
Form III verbs and masdar have a distinctive alif. The verb يسافر does not use the regular masdar pattern. it is a rare exception for this form.

And that verb (s-f-r) is exactly the one in your unit test, so that makes me wonder whether removing the alif from the general constructor is the right thing to do.

It would be great to get more examples, preferably from all types here https://en.wiktionary.org/wiki/Category:Arabic_form-III_verbs (like sound, hollow, weak, geminate). If you are busy/prefer to do other things, I can also prepare the test suite and would appreciate if you could review it!

@inariksit inariksit marked this pull request as draft August 21, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arabic Grammar Verb Form III
2 participants