git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
18080c6
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
structure
conjugation.html.php
foo
fenris
commited
18080c6
at 2016-04-24 18:00:07
conjugation.html.php
Blame
History
Raw
<?php global $configuration; include_once("source/logic/server/table.php"); include_once("source/logic/server/data.php"); include_once("source/logic/server/misc.php"); ?> <section class="section" id="grammar/conjugation"> <header>Verbs</header> <p>In Folksprak verbs are not conjugated for different <span class="grammarterm">personae</span> (participants), <span class="grammarterm">numeri</span> (number of actors) or <span class="grammarterm">genera</span> (grammatical genders).</p> <section class="subsection" id="conjugation/infinite_verbforms"> <header>Infinite Verbforms</header> <p>The <span class="grammarterm">infinitive</span> is formed by appending <span class="word lang_fs">-a</span> to the verb stem, e.g. <span class="word lang_fs">skriva</span> ~ <span class="word lang_en">to write</span>.</p> <p>The <span class="grammarterm">active participle</span> is formed by appending <span class="word lang_fs">-end</span> to the verb stem, e.g. <span class="word lang_fs">skrivend</span> ~ <span class="word lang_en">writing</span>.</p> <p>The <span class="grammarterm">passive participle</span> is formed by appending <span class="word lang_fs">-et</span> to the verb stem, e.g. <span class="word lang_fs">skrivet</span> ~ <span class="word lang_en">written</span>. If speakable the <span class="word lang_fs">e</span> in the ending can be omitted, e.g. <span class="word lang_fs">skrivt</span>.</p> </section> <section class="subsection" id="conjugation/tempora"> <header>Tempora and Modi</header> <p>The following table lists the timeforms found in Folksprak and how they are built in the indicative mode.</p> <!-- <table> <thead> <tr> <th>Name</th> <th>Building Scheme (indicative)</th> <th>Example</th> <th><?php echo($configuration["languagemap"][$configuration["target"]]); ?> Translation</th> </tr> </thead> <tbody> <tr> <td>Present</td> <td>[verb:stem]</td> <td><span class="sentence lang_fs">ek skriv</span></td> <td><span class="sentence lang_en">i write</span></td> </tr> <tr> <td>Perfect</td> <td>[flected <span class="word lang_fs">hav</span>] + [verb:passive participle]</td> <td><span class="sentence lang_fs">ek hav skrivt</span></td> <td><span class="sentence lang_en">i have written</span></td> </tr> <tr> <td>Future</td> <td>[flected <span class="word lang_fs">skal</span>/<span class="word lang_fs">vil</span>/<span class="word lang_fs">kom</span>] + [verb:infinitive]</td> <td><span class="sentence lang_fs">ek skal skriva</span></td> <td><span class="sentence lang_en">i will write</span></td> </tr> <tr> <td>Explicite Future</td> <td>[flected <span class="word lang_fs">verd</span>] + [verb:active participle]</td> <td><span class="sentence lang_fs">ek verd skrivend</span></td> <td><span class="sentence lang_en">i will write.</span> (literally: <span class="sentence lang_en">i become writing.</span>)</td> </tr> </tbody> </table> --> <?php $table = new class_table ( [ new class_column ( "Name", function ($row) { return ["name" => $row["name"], "remark" => $row["remark"]]; }, function ($value) { $output = $value["name"]; if ($value["remark"] != null) { $output .= (" " . "(" . $value["remark"] . ")"); } return $output; } ), new class_column ( "Description", function ($row) { return $row["description"]; } ), new class_column ( "Scheme", function ($row) { return $row["scheme"]; }, function ($value) { return format($value, ["word", "lang_fs"]); } ), new class_column ( "Example", function ($row) { global $configuration; return ["original" => $row["example"]["original"], "translated" => $row["example"]["translations"][$configuration["target"]]]; }, function ($value) { $output = ""; $output .= mark($value["original"], ["sentence", "lang_fs"]); $output .= " ~ "; $output .= implode ( ", ", array_map ( function ($word) { global $configuration; return mark($word, ["sentence", "lang_" . $configuration["target"]]); }, $value["translated"] ) ); return $output; } ), ], read_json("source/data/timeforms.json") ); $table->generate(); ?> <p>Since these forms are built with auxiliary verbs, they can be combined straight forward to form complex expressions. For example <span class="sentence lang_fs">ek skal hava skrivt.</span> means <span class="sentence lang_en">i will have written.</span> and <span class="sentence lang_fs">ek hav skalt skriva.</span> means sth. like <span class="sentence lang_en">i was going to write.</span>.</p> <p>The <span class="grammarterm">imperative</span> only exists in the present (with future meaning) for the 2nd person singular and plural. It is formed by using the bare stem of the verb, optionally followed by the personal pronoun (i.e. either <span class="word lang_fs">du</span> or <span class="word lang_fs">je</span>) in order to specify or emphasize the numerus. Examples: <span class="sentence lang_fs">skriv!</span>, <span class="sentence lang_fs">skriv, je!</span>.</p> <span class="todo">conjunctive</span> </section> </section>