Difference between revisions of "Code toolbox"
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Verb Paradigms== |
==Verb Paradigms== |
||
− | {| class="prettytable" |
||
− | |- |
||
− | | colspan="2" | |
||
− | No object |
||
− | |||
− | | colspan="3" | |
||
− | <center>sg.</center> |
||
− | |||
− | | colspan="3" | |
||
− | <center>pl.</center> |
||
+ | :{| class="wikitable" cellpadding="4" style="border: 1px solid black;" |
||
+ | |+ '''kick''' |
||
+ | ! Positive !! sg. !! pl. !! Negative !! sg. !! pl. |
||
|- |
|- |
||
+ | | '''1''' || || || '''1''' || || |
||
− | | colspan="2" | |
||
− | |||
− | |||
− | | |
||
− | 1st |
||
− | |||
− | | |
||
− | 2nd |
||
− | |||
− | | |
||
− | 3rd |
||
− | |||
− | | |
||
− | 1st |
||
− | |||
− | | |
||
− | 2nd |
||
− | |||
− | | |
||
− | 3rd |
||
− | |||
|- |
|- |
||
+ | | '''2''' || || || '''2''' || || |
||
− | | |
||
− | <div align="right">positive</div> |
||
− | |||
− | | |
||
− | <div align="right">default</div> |
||
− | |||
− | | |
||
− | falaam |
||
− | |||
− | | |
||
− | fala |
||
− | |||
− | | |
||
− | a fala |
||
− | |||
− | | |
||
− | i mbala |
||
− | |||
− | | |
||
− | nu mbala |
||
− | |||
− | | |
||
− | a mbala |
||
− | |||
|- |
|- |
||
+ | | '''3''' || || || '''3''' || || |
||
− | | |
||
− | <div align="right"></div> |
||
− | |||
− | | |
||
− | <div align="right">extracted</div> |
||
− | |||
− | | |
||
− | falum |
||
− | |||
− | | |
||
− | falo |
||
− | |||
− | | |
||
− | a falu |
||
− | |||
− | | |
||
− | i mbalu |
||
− | |||
− | | |
||
− | nu mbalu |
||
− | |||
− | | |
||
− | a mbalu |
||
− | |||
|- |
|- |
||
+ | | '''Infinitive''' || || |
||
− | | |
||
− | <div align="right"></div> |
||
− | |||
− | | |
||
− | <div align="right">conditional</div> |
||
− | |||
− | | |
||
− | falanga |
||
− | |||
− | | |
||
− | o falanga |
||
− | |||
− | | |
||
− | a falanga |
||
− | |||
− | | |
||
− | i mbalanga |
||
− | |||
− | | |
||
− | nu mbalanga |
||
− | |||
− | | |
||
− | a mbalanga |
||
− | |||
|- |
|- |
||
+ | | '''Prog. Part.''' || || |
||
− | | |
||
− | <div align="right"></div> |
||
− | |||
− | | |
||
− | <div align="right">relative</div> |
||
− | |||
− | | |
||
− | faluuma |
||
− | |||
− | | |
||
− | faloona |
||
− | |||
− | | |
||
− | te falna |
||
− | |||
− | | |
||
− | i mbalna |
||
− | |||
− | | |
||
− | nu mbalna |
||
− | |||
− | | |
||
− | de mbalna |
||
− | |||
|- |
|- |
||
+ | | '''Imperative''' || || |
||
− | | |
||
− | <div align="right">negative</div> |
||
− | |||
− | | |
||
− | <div align="right">default</div> |
||
− | |||
− | | |
||
− | faliim |
||
− | |||
− | | |
||
− | faliro |
||
− | |||
− | | |
||
− | falee(r) |
||
− | |||
− | | |
||
− | i mbalee(r) |
||
− | |||
− | | |
||
− | nu mbalee(r) |
||
− | |||
− | | |
||
− | mbalee(r) |
||
− | |||
|- |
|- |
||
− | | |
+ | |} |
− | <div align="right"></div> |
||
− | |||
− | | |
||
− | <div align="right">extracted</div> |
||
− | |||
− | | |
||
− | faleerum |
||
− | |||
− | | |
||
− | faleero |
||
− | |||
− | | |
||
− | a faleeru |
||
− | |||
− | | |
||
− | i mbaleeru |
||
− | |||
− | | |
||
− | nu mbaleeru |
||
− | |||
− | | |
||
− | a mbaleeru |
||
+ | {| style="border-collapse: collapse; border: 1px solid #000" |
||
|- |
|- |
||
+ | | style="border-style: solid; border-width: 1px"| |
||
− | | |
||
+ | Orange |
||
− | <div align="right"></div> |
||
+ | | style="border-style: solid; border-width: 1px"| |
||
− | |||
+ | Apple |
||
− | | |
||
− | <div align="right">conditional</div> |
||
− | |||
− | | |
||
− | falangee |
||
− | |||
− | | |
||
− | o falangee |
||
− | |||
− | | |
||
− | a falangee |
||
− | |||
− | | |
||
− | i mbalangee |
||
− | |||
− | | |
||
− | nu mbalangee |
||
− | |||
− | | |
||
− | a mbalangee |
||
− | |||
|- |
|- |
||
+ | | style="border-style: solid; border-width: 1px"| |
||
− | | |
||
+ | Bread |
||
− | <div align="right"></div> |
||
+ | | style="border-style: solid; border-width: 1px"| |
||
− | |||
+ | Pie |
||
− | | |
||
− | <div align="right">relative</div> |
||
− | |||
− | | |
||
− | faleeruuma |
||
− | |||
− | | |
||
− | faleeroona |
||
− | |||
− | | |
||
− | te faleerna |
||
− | |||
− | | |
||
− | i mbaleerna |
||
− | |||
− | | |
||
− | nu mbaleerna |
||
− | |||
− | | |
||
− | de mbaleerna |
||
− | |||
− | |- |
||
− | | colspan="2" | |
||
− | <div align="right">infinitive</div> |
||
− | |||
− | | colspan="3" | |
||
− | fal |
||
− | |||
− | | colspan="3" | |
||
− | mbal |
||
− | |||
− | |- |
||
− | | colspan="2" | |
||
− | <div align="right">prog. part.</div> |
||
− | |||
− | | colspan="3" | |
||
− | falaa |
||
− | |||
− | | colspan="3" | |
||
− | mbalaa |
||
− | |||
− | |- |
||
− | | colspan="2" | |
||
− | <div align="right">imperative</div> |
||
− | |||
− | | colspan="3" | |
||
− | fali |
||
− | |||
− | | colspan="3" | |
||
− | falyo |
||
− | |||
|} |
|} |
||
+ | {| style="border-collapse: collapse; border: 1px solid #000" |
||
− | |||
− | |||
− | |||
− | {| style="border-collapse: separate; |
||
− | border-spacing: 0; |
||
− | border: 1px solid #000; |
||
− | padding: 0" |
||
|- |
|- |
||
− | | style="border-style: solid; border-width: |
+ | | style="border-style: solid; border-width: 1px"| |
Orange |
Orange |
||
− | | style="border-style: solid; border-width: |
+ | | style="border-style: solid; border-width: 1px"| |
Apple |
Apple |
||
+ | | style="border-style: solid; border-width: 1px"| |
||
− | |- |
||
− | | style="border-style: solid; border-width: 0 1px 0 0"| |
||
Bread |
Bread |
||
− | | style="border-style: solid; border-width: |
+ | | style="border-style: solid; border-width: 1px"| |
Pie |
Pie |
||
|} |
|} |
||
+ | |||
{| class="wikitable" cellpadding="4" style="border: 1px solid black;" |
{| class="wikitable" cellpadding="4" style="border: 1px solid black;" |
||
Line 334: | Line 95: | ||
<gl id="ex1" fontsize=12> |
<gl id="ex1" fontsize=12> |
||
− | mexe |
+ | mexe waʄnaa foofi |
− | \gll me- |
+ | \gll me-xe waʄ-n-aa foofi |
− | + | 1s-COP boil-CAUS-PROG water |
|
\trans I am boiling water. (045) |
\trans I am boiling water. (045) |
||
</gl> |
</gl> |
Latest revision as of 20:02, 29 April 2013
Verb Paradigms
kick Positive sg. pl. Negative sg. pl. 1 1 2 2 3 3 Infinitive Prog. Part. Imperative
Orange |
Apple |
Bread |
Pie |
Orange |
Apple |
Bread |
Pie |
Gloss | Sereer | Gloss | Sereer |
---|---|---|---|
I cook | jawaam | we cook | injawa |
you cook | jawaa | you (pl) cook | nunjawa |
s/he cooks | ajawa | they cook | anjawa |
Template for the table:
Gloss | Sereer | Gloss | Sereer |
---|---|---|---|
I ... | -aam | we ... | i[mut]- -a |
you ... | -aa | you (pl) ... | nu[mut]- -a |
s/he ... | -a | they ... | a[mut]- -a |
To highlight individual cells in a paradigm, mimic the code here. For instance, let's say we want to highlight the fact that plural verb stems undergo consonant mutation, and we like blue. We paste the code style="background: blue; color: white" | (note the stem at the end) into the beginning of the cell:
Gloss | Sereer | Gloss | Sereer |
---|---|---|---|
I ... | -aam | we ... | i[mut]- -a |
you ... | -aa | you (pl) ... | nu[mut]- -a |
s/he ... | -a | they ... | a[mut]- -a |
Interlinear Glosses
Documentation for the glossing package is here:
http://wiki.migmaq.org/index.php?title=Wiki_gloss_extension
The template for interlinear glossing is below:
<gl id="ex1" fontsize=12> mexe waʄnaa foofi \gll me-xe waʄ-n-aa foofi 1s-COP boil-CAUS-PROG water \trans I am boiling water. (045) </gl>
The example below lacks an unparsed first line. Note that the position of \gll determines which line starts aligned glossing. \trans effectively ends this command.
<gl id="ex2" fontsize=12> \gll me- xe waʄ -na foofi' 1SG CONT boil CAUS water \trans I am boiling water. (045) </gl>
Now you can refer to example <glr id="ex1"/> like this. This creates a hyperlink!
(The method below should be avoided for the method above.)
To make an interlinear gloss, the code below is a start.
Unparsed content Unparsed content Unparsed content Unparsed content Unparsed content |
Morph 1 | Morph 2 | Morph 3 | Morph 4 | Morph 5 |
Gloss 1 | Gloss 2 | Gloss 3 | Gloss 4 | Gloss 5 |
Free translation Free translation Free translation Free translation Free translation
An example of usage:
mexe waʄna foofi'. |
me- | xe | waʄ | -na | foofi' |
1SG | CONT | boil | CAUS | water |
I am boiling water. (045)
Citations
I am working on a way of including a references template in our set of Mediawiki files. Faytak 18:31, 2 November 2012 (UTC)