Difference between revisions of "Faroese and English/Regression tests"

From Apertium
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCD}}
{{TOCD}}


To run these tests, run the script <code>regression-tests.sh</code> from the <code>apertium-fo-en</code> language pair in SVN.
To run these tests, run the script <code>regression-tests.sh</code> from the <code>matxin-fo-en</code> language pair in Matxin SVN.


Note: currently the matxin deformatter adds periods to everything. So we have them in here for now so we at least can test...
Note: currently the matxin deformatter adds periods to everything, the wiki-test script tries to clean things up..


See also [[Faroese and English/Pending tests]]
See also [[Faroese and English/Pending tests]]
Line 12: Line 12:
* {{test|fo|Hundur|Dog.}}
* {{test|fo|Hundur|Dog.}}
* {{test|fo|Stórur hundur|Big dog.}}
* {{test|fo|Stórur hundur|Big dog.}}

===Adding nodes===
* {{test|fo|Í dag fáa vit svar|Today we get ~a reply}}
* {{test|fo|Í dag fáa vit eitt svar|Today we get ~a reply}}
* {{test|fo|Í dag fáa vit svarið|Today we get the reply}}


===Pronouns===
===Pronouns===
Line 31: Line 36:
;moving before the verb
;moving before the verb
* {{test|fo|Eg las aldri bókina|I never read the book.}}
* {{test|fo|Eg las aldri bókina|I never read the book.}}

===V2 rule===
* {{test|fo|Í dag las eg bókina|Today I read the book}}
* {{test|fo|Í dag fleyg ein stórur bilur av vegnum|Today ~a big car flew off the road}}

[[Category:Regression_tests]]

Latest revision as of 23:45, 16 July 2021

To run these tests, run the script regression-tests.sh from the matxin-fo-en language pair in Matxin SVN.

Note: currently the matxin deformatter adds periods to everything, the wiki-test script tries to clean things up..

See also Faroese and English/Pending tests


Noun phrases[edit]

  • (fo) Orð → Word.
  • (fo) Hundur → Dog.
  • (fo) Stórur hundur → Big dog.

Adding nodes[edit]

  • (fo) Í dag fáa vit svar → Today we get ~a reply
  • (fo) Í dag fáa vit eitt svar → Today we get ~a reply
  • (fo) Í dag fáa vit svarið → Today we get the reply

Pronouns[edit]

Personal
  • (fo) Eg eri → I am.
  • (fo) Tú ert → You are.
  • (fo) Hann er → He is.
  • (fo) Vit eru → We are.
  • (fo) Tit eru → You are.
  • (fo) Teir eru → They are.
  • (fo) Tær eru → They are.

Adverbs[edit]

Interrogatives
  • (fo) Hví? → Why?.
moving before the verb
  • (fo) Eg las aldri bókina → I never read the book.

V2 rule[edit]

  • (fo) Í dag las eg bókina → Today I read the book
  • (fo) Í dag fleyg ein stórur bilur av vegnum → Today ~a big car flew off the road