Difference between revisions of "Northern Sámi and Norwegian/bidix"

From Apertium
Jump to navigation Jump to search
Line 15: Line 15:
 
<e><p><l>divuhit<s n="V"/><s n="TV"/></l><r>reparere<s n="vblex"/><s n="pers"/></r></p><par n="caus__verb"/></e>
 
<e><p><l>divuhit<s n="V"/><s n="TV"/></l><r>reparere<s n="vblex"/><s n="pers"/></r></p><par n="caus__verb"/></e>
 
</pre>
 
</pre>
Here transfer will try to make a causative construction with this verb. Similarly, with
+
Here transfer will try to make a causative construction with this verb, by prepending "la" and putting the finite temps there while making the verb infinite.
  +
  +
Similarly, with
 
<pre>
 
<pre>
 
<e><p><l>viidánit<s n="V"/><s n="IV"/></l><r>spre<s n="vblex"/><s n="pers"/></r></p><par n="refl__verb"/></e>
 
<e><p><l>viidánit<s n="V"/><s n="IV"/></l><r>spre<s n="vblex"/><s n="pers"/></r></p><par n="refl__verb"/></e>
 
</pre>
 
</pre>
we get a reflexive (seg/meg/...) added by transfer on seeing the
+
we get a reflexive (seg/meg/...) appended by transfer on seeing the "refl" tag added by <code>refl__verb</code>.
  +
"refl" tag, and with
 
  +
With
  +
 
<pre>
 
<pre>
 
<e><p><l>suovganit<s n="V"/><s n="IV"/></l><r>slite<s n="vblex"/><s n="pers"/></r></p><par n="pass__verb"/></e>
 
<e><p><l>suovganit<s n="V"/><s n="IV"/></l><r>slite<s n="vblex"/><s n="pers"/></r></p><par n="pass__verb"/></e>
 
</pre>
 
</pre>
we get a "pass" tag and a passive construction, with a participle
+
we get a "pass" tag and a passive construction, with a participle (here: ''bli slitt''). However, with the passive, the predicate might also be an adjective, which we mark like this:
(here: "bli slitt"). However, with the passive, the predicate might
 
also be an adjective, which we mark like this:
 
 
<pre>
 
<pre>
 
<e><p><l>viessat<s n="V"/><s n="IV"/></l><r>trøtt<s n="adj"/><s n="pers"/></r></p><par n="pass__verb"/></e>
 
<e><p><l>viessat<s n="V"/><s n="IV"/></l><r>trøtt<s n="adj"/><s n="pers"/></r></p><par n="pass__verb"/></e>
 
</pre>
 
</pre>
  +
(other parts of speech for the passive predicates are currently TODO-marked in bidix)
It's up to transfer (mainly the chunker, t1x) to make sense of these
 
  +
tag combinations.
 
 
It's up to transfer (mainly the chunker, t1x) to make sense of and clean up these tag combinations.
  +
   
 
[[Category:Northern Sámi and Norwegian]]
 
[[Category:Northern Sámi and Norwegian]]

Revision as of 18:22, 10 June 2010

The apertium-sme-nob bidix makes heavy use of bidix pardefs. There are two main uses for these:

  • To change from sme PoS tags to nob PoS tags
  • To mark certain sme verbs as inherently passive/causative/reflexive
    • these markings again triggers certain transfer rules, most of them in the chunker (t1x)

The most complex part of the bidix is probably the verb section. A typical one looks like:

<e><p><l>vurket<s n="V"/><s n="TV"/></l><r>oppbevare<s n="vblex"/><s n="pers"/></r></p><par n="__verb"/></e>

where "pers" marks that the agent is typically animate, and __verb handles the changes in tags for person, number, temps. However, we can also have another pardef which does the same thing but also adds a causative tag "caus" which is picked up by transfer:

<e><p><l>divuhit<s n="V"/><s n="TV"/></l><r>reparere<s n="vblex"/><s n="pers"/></r></p><par n="caus__verb"/></e>

Here transfer will try to make a causative construction with this verb, by prepending "la" and putting the finite temps there while making the verb infinite.

Similarly, with

<e><p><l>viidánit<s n="V"/><s n="IV"/></l><r>spre<s n="vblex"/><s n="pers"/></r></p><par n="refl__verb"/></e>

we get a reflexive (seg/meg/...) appended by transfer on seeing the "refl" tag added by refl__verb.

With

<e><p><l>suovganit<s n="V"/><s n="IV"/></l><r>slite<s n="vblex"/><s n="pers"/></r></p><par n="pass__verb"/></e>

we get a "pass" tag and a passive construction, with a participle (here: bli slitt). However, with the passive, the predicate might also be an adjective, which we mark like this:

<e><p><l>viessat<s n="V"/><s n="IV"/></l><r>trøtt<s n="adj"/><s n="pers"/></r></p><par n="pass__verb"/></e>

(other parts of speech for the passive predicates are currently TODO-marked in bidix)

It's up to transfer (mainly the chunker, t1x) to make sense of and clean up these tag combinations.