Difference between revisions of "Plattdüütsch and German/ambiguity resolution"

From LING073
Jump to: navigation, search
(→‎Level of Ambiguity)
(→‎Ambiguous words corrected)
Line 8: Line 8:
 
The first ambiguous data that we are working with is German 'Über' which corresponds to 'över' and 'öber'. to separate them we need to change them based on the gender of a preceding noun. with 'över' corresponding with a neuter and öber a masculine or feminine.  
 
The first ambiguous data that we are working with is German 'Über' which corresponds to 'över' and 'öber'. to separate them we need to change them based on the gender of a preceding noun. with 'över' corresponding with a neuter and öber a masculine or feminine.  
  
−
The next data that we will work with is the determiner 'de' which corresponds to 'die/der/den' in german, depending on case and gender.
+
<rule>
 +
    <match lemma="vor" tags="adj"/>
 +
    <match lemma="över" tags="n.*"><select lemma="über" tags="pr.*"/></match>
 +
  </rule>
 +
 
 +
 
 +
The next data that we will work with is the determiner 'de' which corresponds to 'die/der' in german, depending on case and gender.
 +
 
 +
 
 +
<!-- The rule selects "die" as the translation of "de" when it is followed by a feminine noun. -->
 +
  <rule>
 +
    <match lemma="de" tags="det.*">
 +
      <select lemma="die" tags="det.*"/>
 +
    </match>
 +
    <match tags="n.*.f"/>
 +
  </rule>
 +
 
 +
<!-- The rule selects "der" as the translation of "de" when it is followed by a masculine noun. -->
 +
  <rule>
 +
    <match lemma="de" tags="det.*">
 +
      <select lemma="der" tags="det.*"/>
 +
    </match>
 +
    <match tags="n.*.m"/>
 +
  </rule>
 +
 
  
 
[[Category:German]]
 
[[Category:German]]
 
[[Category:Plattdüütsch]]
 
[[Category:Plattdüütsch]]
 
[[Category:Sp25_AmbiguityResolution]]
 
[[Category:Sp25_AmbiguityResolution]]

Revision as of 16:30, 22 April 2025

Level of Ambiguity

593/443 =1.339.

Ambiguous words corrected

The first ambiguous data that we are working with is German 'Über' which corresponds to 'över' and 'öber'. to separate them we need to change them based on the gender of a preceding noun. with 'över' corresponding with a neuter and öber a masculine or feminine.

<rule>

   <match lemma="vor" tags="adj"/>
   <match lemma="över" tags="n.*"><select lemma="über" tags="pr.*"/></match>
 </rule>


The next data that we will work with is the determiner 'de' which corresponds to 'die/der' in german, depending on case and gender.


 <rule>
   <match lemma="de" tags="det.*">
     <select lemma="die" tags="det.*"/>
   </match>
   <match tags="n.*.f"/>
 </rule>
 <rule>
   <match lemma="de" tags="det.*">
     <select lemma="der" tags="det.*"/>
   </match>
   <match tags="n.*.m"/>
 </rule>