Jump to content

Wikifunctions:Human languages/Swedish

From Wikifunctions

NLG fragments

se Wikifunctions:NLG_functions.

Universal

These universal NLG functions have at least one test in Swedish which pass.

Language selector
One composition to rule them all

Non-universal

This table is based on User:Dnshitobu/Dagbani_Fragments. In the Data column, the QID in bold can be used to derive the other QID(s) through the PID.

# Patterns Examples English (Q1860) functions Swedish (Q9027) functions Data
English (Q1860) Swedish (Q9027) English (Q1860) Swedish (Q9027) Low helper(s) High helper(s) NLG sentence Low helper(s) High helper(s) NLG sentence Wikidata QID(s) PID
1A <X> is an <Y>. <X> är en/ett <Y>. Lion is an animal. Lejon är ett djur. an or a? (English) (Z21739) English indef noun phrase (Z21734) English article-less instantiating sentence (Z26088) correct Swedish indefinite article (Z30349) Swedish indef noun phrase with adjective (Z30364) Swedish article-less instantiating sentence (Z26671) lion (Q140), animal (Q729) instance of (P31)
1B A <X> is an <Y>. En/ett <X> är en/ett <Y>. A lion is an animal. Ett lejon är ett djur. an or a? (English) (Z21739) TODO (would simplify NLG function) subject is a kind of, English sentence (Z23410) ✅ (TODO use low and high helpers) correct Swedish indefinite article (Z30349) ✅, best singular swedish representation via P5137 (Z30426) Swedish indefinite noun phrase, QID (Z30424) Swedish article-ful instant sentence (monolingual) (Z38178) lion (Q140), animal (Q729) instance of (P31)
2 The <X> is the <Y>. <X> är <Y>-an. The Sun is the star. Solen är stjärnan. Z Z Z Z Z Z Sun (Q525), star (Q523) instance of (P31)
3 <X> has <C> <Y>s. <X> har <C> <Y>-er. A year has 12 months. Ett år har 12 månader. Z Z Z correct Swedish indefinite article (Z30349) best Swedish plural rep. via P5137 (Z30380) ✅, Z Z year (Q577), month (Q5151)
4 <X> has no <Y>s. <X> har inga <Y>-er. The Moon has no oceans. Månen har inga oceaner. Z Z Z Z Z Z Moon (Q405), ocean (Q9430)
5 <X> is in <Y>. <X> är i <Y>. Tamale is in Ghana. Tamale är i Ghana. Z Z Z Z Z Z Tamale (Q217040), Ghana (Q117) country (P17)