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

From Apertium
Jump to navigation Jump to search
Line 3: Line 3:
 
To run these tests, run the script <code>regression-tests.sh</code> from the <code>matxin-fo-en</code> language pair in Matxin 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 34: Line 39:
 
===V2 rule===
 
===V2 rule===
 
* {{test|fo|Í dag las eg bókina|Today I read the book}}
 
* {{test|fo|Í dag las eg bókina|Today I read the book}}
* {{test|fo|Í dag fáa vit svar|Today we get an answer}}
 

Revision as of 11:14, 1 December 2009

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

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

Adding nodes

  • (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

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

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

V2 rule

  • (fo) Í dag las eg bókina → Today I read the book