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

From Apertium
Jump to navigation Jump to search
 
(17 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|Orðini|The word}}
* {{test|fo|Hundur|Dog.}}
* {{test|fo|Stórur hundur|Big dog.}}


===Adding nodes===

* {{test|fo|Hundur|Dog}}
* {{test|fo|Í dag fáa vit svar|Today we get ~a reply}}
* {{test|fo|Hundurin|The dog}}
* {{test|fo|Í dag fáa vit eitt svar|Today we get ~a reply}}
* {{test|fo|Stórur hundur|Big dog}}
* {{test|fo|Í dag fáa vit svarið|Today we get the reply}}
* {{test|fo|Stóri hundurin|The big dog}}

;Genitive

* {{test|fo|Her eru húsini hjá einum ríkum manni.|Here is the house of a rich man.}}

;Possessive

* {{test|fo|Bilurin hjá mær|My car}}
* {{test|fo|Bilurin hjá henni|Her car}}
* {{test|fo|Dóttir mín|My daughter}}
* {{test|fo|Mína bók|My book}}
* {{test|fo|Mítt blað|My newspaper}}
* {{test|fo|Tykkara bók|Our book}}
* {{test|fo|Tykkara blað|Our newspaper}}
* {{test|fo|Bók hansara|Her book}}
* {{test|fo|Hansara bók|Her book}}
* {{test|fo|Hennara bilur|Her car}}
* {{test|fo|Húsini hjá mær|My house}}
* {{test|fo|Húsið hjá mær|My house}}
* {{test|fo|Hon tók hattin hjá henni|She took her hat}}
* {{test|fo|Hetta er bilurin hjá henni|That is her car}}
* {{test|fo|Eyguni í honum|His eyes}}
* {{test|fo|Mamma meg|My mum}}
* {{test|fo|Mamma gentuna|The girl's mum}}

===Adjectives===

* {{test|fo|Himmalin er bláur.|The sky is blue.}}


===Pronouns===
===Pronouns===
Line 49: 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.}}


;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|is|Hvort vilt þú?|Hvat vilt tú?}}

===Adverbs===
===Adverbs===

;Interrogatives
;Interrogatives


* {{test|is|Af hverju ekki?|Hví ikki?}}
* {{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|}}
* {{test|fo|Eg havi lisin bókina|I have read the book}}
* {{test|fo|Eg fái lisin bókina|}}
* {{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|}}
* {{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ð|}}


; 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|is|Það er annaðhvort ég eða hann.|Tað er annaðhvørt eg ella hann.}}

;Relative


;moving before the verb
* {{test|fo|Strákurinn sem ég talaði við var greindur.|}}
* {{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