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

From Apertium
Jump to navigation Jump to search
 
(10 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>matxin-fo-en</code> language pair in Matxin SVN.
copy-pasted, todo
 
   
  +
Note: currently the matxin deformatter adds periods to everything, the wiki-test script tries to clean things up..
To run these tests, run the script <code>regression-tests.sh</code> from the <code>apertium-fo-en</code> language pair in SVN.
 
   
  +
See also [[Faroese and English/Pending tests]]
 
----
 
----
   
 
===Noun phrases===
 
===Noun phrases===
* {{test|fo|Orð|Word}}
+
* {{test|fo|Orð|Word.}}
* {{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 16: Line 22:
 
;Personal
 
;Personal
   
* {{test|fo|Eg eri|I am}}
+
* {{test|fo|Eg eri|I am.}}
* {{test|fo|Tú ert|You are}}
+
* {{test|fo|Tú ert|You are.}}
* {{test|fo|Hann er|He is}}
+
* {{test|fo|Hann er|He is.}}
* {{test|fo|Vit eru|We are}}
+
* {{test|fo|Vit eru|We are.}}
* {{test|fo|Tit eru|You are}}
+
* {{test|fo|Tit eru|You are.}}
* {{test|fo|Teir eru|They are}}
+
* {{test|fo|Teir eru|They are.}}
* {{test|fo|Tær eru|They are}}
+
* {{test|fo|Tær eru|They are.}}
 
 
;Demonstratives
 
 
* {{test|fo|Hetta er ein stórur bil og ein lítil bók.|This is a big car and a small book.}}
 
 
;Reflexives
 
 
* {{test|fo|Hon klæðir seg.|She washes herself.}}
 
* {{test|fo|Hann vaskar sær.|He washes himself.}}
 
 
;Interrogatives
 
 
* {{test|is|Hvað ert þú að gera?|}}
 
* {{test|is|Hvaða hundur?|Hvør hundur?}}
 
* {{test|is|Hver ert þú?|Hvør ert tú?}}
 
* {{test|is|Hver tók bókina?|Hvør tók bókina?}}
 
* {{test|is|Hvert ert þú að fara?|Hvagar ert tú at fara?}}
 
* {{test|is|Hvaðan kemur þú?|Hvaðan kemur þú?}}
 
* {{test|is|Hvers vegna hann?|Hví hann?}}
 
* {{test|fo|Hvat vilt tú?|What do you want?}}
 
 
 
===Adverbs===
 
===Adverbs===
 
 
;Interrogatives
 
;Interrogatives
   
* {{test|fo|Hví ikki?|Why not?}}
+
* {{test|fo|Hví?|Why?.}}
* {{test|is|Hví?|Hví?}}
 
* {{test|is|Hvar ert þú?|Hvør ert tú?}}
 
* {{test|is|Hvar keyptir þú bókina?|Hvar keypti tú bókina?}}
 
* {{test|is|Hvenær kemur þú?|Nær kemur tú?}}
 
* {{test|is|Hvernig hefur þú það?|Hvussu hevur tú tað?}}
 
 
===Verbs===
 
* {{test|fo|Eg lesi|I read}}
 
* {{test|fo|Eg las|I read}}
 
* {{test|fo|Tit lesa bókina|They read the book}}
 
* {{test|fo|Eg havi lisin bókina|I have read the book}}
 
* {{test|fo|Eg fái lisin bókina|I get to read the book}}
 
** or? sounds like "I managed to get it read"..
 
* {{test|fo|Hann fer í morgin|He goes tomorrow}}
 
* {{test|fo|Tey fara í vinnuna|}}
 
* {{test|fo|Tey fara ofta í vinnuna|}}
 
* {{test|fo|Tey fóru í vinnuna|}}
 
* {{test|fo|Hann fór í gjár|He goes tomorrow}}
 
* {{test|fo|Eg havi farin í vinnuna|}}
 
* {{test|fo|Vit manna fara í dag|We might go today}}
 
* {{test|fo|Eg sá gentuna.|I saw the girl.}}
 
* {{test|fo|Eg eti fisk|I eat fish}}
 
* {{test|fo|Eg át fisk|I ate fish}}
 
* {{test|fo|Eg skrivi|I write}}
 
* {{test|fo|Eg skrivaði|I wrote}}
 
* {{test|fo|Hann talar mikið|He speaks a lot}}
 
 
 
; Voice
 
 
* {{test|fo|Eg bakaði breyð|I baked bread}}
 
* {{test|fo|Breyðið var bakað|Bread was baked}}
 
 
 
; Icelandic subjunctive
 
 
* {{test|is|Þú læsir bókina er þú gætir|Tú last bókina er tú fekst}}
 
* {{test|is|Ef ég væri sterkari lemdi ég hann|Um eg var sterkari slekk eg hann}}
 
* {{test|is|Hann sagði að skipið færi á morgun|Hann segði at skipið fór í morgin}}
 
 
===Conjunctions===
 
 
;Co-ordinating
 
 
* {{test|fo|Tað er annaðhvørt eg ella hann.|It's either me or him.}}
 
 
;Relative
 
   
  +
;moving before the verb
* {{test|fo|Strákurinn sem ég talaði við var greindur.|TODO}}
 
 
* {{test|fo|Eg las aldri bókina|I never read the book.}}
   
 
===V2 rule===
 
===V2 rule===
* {{test|fo|Í dag fáa vit svar|Today we get an answer}}
+
* {{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}}
===General===
 
   
  +
[[Category:Regression_tests]]
* {{test|fo|Í upphavi skapti Gud himmal og jørð.|In the beginning God created the heavens and the earth.}}
 
* {{test|fo|Við førum í sund|}}
 
* {{test|fo| |Hesin lúsakjálkin hevur stolið mállæruni}}
 
* {{test|fo|Undrist ekki, bræður, þótt heimurinn hati yður.|}}
 

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