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

From LING073
Jump to: navigation, search
(→‎Ambiguous words corrected)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Level of Ambiguity==
 
==Level of Ambiguity==
  
−
Need to do. Likely low due to nature of corpus. Biggest source of ambiguity will be the determiner 'de' which corresponds to the german masculine and feminine.  
+
 
 +
593/443 =1.339.
  
 
==Ambiguous words corrected==
 
==Ambiguous words corrected==
Line 7: 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.
 +
 
 +
For example: 'de Katt' is 'Die Katze' in German, but 'de Bauer' is 'der Bauer' in German.
 +
 
 +
<!-- 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:Plattdüütsch]]
 +
[[Category:Sp25_AmbiguityResolution]]

Latest revision as of 16:35, 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.

For example: 'de Katt' is 'Die Katze' in German, but 'de Bauer' is 'der Bauer' in German.

 <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>