A few additions and fixes in the Basque grammar, specifically

*    Verb morphology (missing forms & bug fixes)
*    Reflexives: VP and A2 "sees herself", "married to myself" work now properly.
*    Add Agr to AP
*    A few lexical changes + other small fixes

* Make adjectives depend on agreement; Fix reflexives

* fix typo and remove commented out line

* small fixes and additions

* fix linVP: use the same functions as mkClause

* Add new forms to zaio and dio

* Fix bug in chooseAuxPol

* fix some bugs in synthetic verbs

* Add some simple tests for the Basque grammar

* Update README.md

* formatting

* Fix the RE in the grep

* fixes/additions to tests

* small fixes

* change beautiful_A

* use linCN in UttCN
This commit is contained in:
Inari Listenmaa
2017-10-04 14:50:41 +02:00
committed by GitHub
parent 76d6749797
commit aece969d33
17 changed files with 213 additions and 124 deletions
+26
View File
@@ -0,0 +1,26 @@
# Simple tests
## Morphology of synthetic verbs
Some tests found in `ukanDu.gfs`, `ukanZaio.gfs` and `ukanDio.gfs`. I test the forms against Apertium morphological analyser, you can use your favourite Basque morphological analyser.
In this directory I run it like this:
```
gf --run < ukanDio.gfs > /tmp/Dio.txt
```
And in the directory with Apertium, I run this:
```
cat /tmp/Dio.txt | lt-proc -w eus.automorf.bin | egrep -o "\*([a-zñ]*)\>" | sort -u
*didagu$
...
*zatzaie$
*zintzaizkizuekete$
```
The output is forms that the GF grammar generates but the Apertium analyser doesn't recognise. Some of them are due to overgeneration: forms like "I+me", "you+you" don't exist, you should use reflexive instead, which takes 3rd person object agreement and a special pronoun and all that stuff. So *didagu* is wrong in the sense that it doesn't exist, but there is no other form that would be more correct. For that reason, I decided to keep these forms and not replace them with an empty string or `nonExist`.
If an application grammarian needs to say "I see myself", they can just use `ReflVP` in `VerbEus`.
Some of the non-existing forms are genuine mistakes, like *zatzaie*, which should be *zatza**zki**e* instead. Then you just go to `AditzTrinkoak.gf` and fix the relevant functions.