<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wikis.swarthmore.edu/ling073/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tjones5</id>
		<title>LING073 - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wikis.swarthmore.edu/ling073/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tjones5"/>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/Special:Contributions/Tjones5"/>
		<updated>2026-10-25T05:05:55Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5449</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5449"/>
				<updated>2017-05-12T07:58:26Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* obj */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 34&lt;br /&gt;
| 353&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 8&lt;br /&gt;
| 74&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 93.75%&lt;br /&gt;
| 88.12%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 48.72%&lt;br /&gt;
| 28.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 71.25%&lt;br /&gt;
| 65.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 35.90%&lt;br /&gt;
| 23.08%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
==aux==&lt;br /&gt;
*An auxiliary is a defined as a &amp;quot;function word associated with a verbal predicate that expresses categories such as tense, mood, aspect, voice or evidentiality&amp;quot; ([http://universaldependencies.org/u/dep/aux_.html]). In Warlpiri, auxiliaries are used in every sentence, and they carry suffixes that signify tense and the number/person of subjects and objects.&lt;br /&gt;
*Yani &amp;#039;&amp;#039;karna&amp;#039;&amp;#039; ngajulu (&amp;quot;I&amp;#039;m going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + I) + I&lt;br /&gt;
*Yani &amp;#039;&amp;#039;kanpa&amp;#039;&amp;#039; nyuntulu (&amp;quot;You&amp;#039;re going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + you) + you&lt;br /&gt;
==nsubj==&lt;br /&gt;
*A nominal subject is a &amp;quot;nominal which is the syntactic subject and the proto-agent of a clause&amp;quot; ([http://universaldependencies.org/u/dep/nsubj_.html]). In Warlpiri, the subject is often but not always included as its own word -- for example, pronouns are often omitted.&lt;br /&gt;
*Yani karna &amp;#039;&amp;#039;ngajulu&amp;#039;&amp;#039; (&amp;quot;I&amp;#039;m going&amp;quot;):&lt;br /&gt;
  go + (present + I) + &amp;#039;&amp;#039;nsubj&amp;#039;&amp;#039; (I)&lt;br /&gt;
*Yani ka (&amp;quot;He/she/it&amp;#039;s going&amp;quot;):&lt;br /&gt;
  go + present&lt;br /&gt;
==obj==&lt;br /&gt;
*An object of a verb is usually &amp;quot;the noun phrase that denotes the entity acted upon or which undergoes a change of state or motion (the proto-patient)&amp;quot; ([http://universaldependencies.org/u/dep/obj_.html]). In Warlpiri, this noun is typically in the absolutive case when a transitive verb is used.&lt;br /&gt;
*Nyanyi kanpa &amp;#039;&amp;#039;wawirri&amp;#039;&amp;#039; (&amp;quot;You can see a kangaroo&amp;quot;):&lt;br /&gt;
  see + (present + you) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; (kangaroo)&lt;br /&gt;
*Nyanyi kangku wawirrirli &amp;#039;&amp;#039;nyuntulu&amp;#039;&amp;#039; (&amp;quot;The kangaroo can see you&amp;quot;):&lt;br /&gt;
  see + (present + you) + kangaroo (ergative) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; (you)&lt;br /&gt;
&lt;br /&gt;
==iobj==&lt;br /&gt;
*An indirect object of a verb is &amp;quot;any nominal phrase that is a core argument of the verb but is not its subject or (direct) object&amp;quot; ([http://universaldependencies.org/u/dep/iobj_.html]). In Warlpiri, the dative case is used.&lt;br /&gt;
*Nangala-rlu rla yungu pipa &amp;#039;&amp;#039;Jangala-ku&amp;#039;&amp;#039;. (&amp;quot;Nangala gave the book to Jangala&amp;quot;).&lt;br /&gt;
 Nangala + (dative subj3sg) + give + book + &amp;#039;&amp;#039;iobj&amp;#039;&amp;#039; (Jangala).&lt;br /&gt;
*Karnta-patu-rlu-lu-jana &amp;#039;&amp;#039;kurdu-kurdu&amp;#039;&amp;#039; miyi yinyi. (&amp;quot;The women gave the food to the children&amp;quot;)&lt;br /&gt;
 women + (past + subj3pl obj3pl) + &amp;#039;&amp;#039;iobj&amp;#039;&amp;#039; (children) + food + give&lt;br /&gt;
&lt;br /&gt;
==obl==&lt;br /&gt;
*&amp;quot;The obl relation is used for a nominal (noun, pronoun, noun phrase) functioning as a non-core (oblique) argument or adjunct&amp;quot; ([http://universaldependencies.org/u/dep/obl_.html]). In Warlpiri, the ergative case is used when an instrument is being used to perform a task. The allative case is used when an action is being performed into another object.&lt;br /&gt;
*Jakamarra-rlu ka Jupurrula luwarni &amp;#039;&amp;#039;karli-kirlirli&amp;#039;&amp;#039; (&amp;quot;Jakamarra is hitting Jupurrula with a boomerang&amp;quot;).&lt;br /&gt;
 Jakamarra + pres + Jupurrula + hit + &amp;#039;&amp;#039;obl&amp;#039;&amp;#039; (boomerang + ergative)&lt;br /&gt;
*Wakati ka-rnalu lurlurl-pi-nyi &amp;#039;&amp;#039;parraja-kurra&amp;#039;&amp;#039; ngurlu. (&amp;quot;We shake the seeds of the pigweed into a coolamon.&amp;quot;)&lt;br /&gt;
 pigweed + present (subj1plexcl) + shake + &amp;#039;&amp;#039;obl&amp;#039;&amp;#039; (coolamon + allative) + seeds&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5448</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5448"/>
				<updated>2017-05-12T07:57:20Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Dependency Relations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 34&lt;br /&gt;
| 353&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 8&lt;br /&gt;
| 74&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 93.75%&lt;br /&gt;
| 88.12%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 48.72%&lt;br /&gt;
| 28.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 71.25%&lt;br /&gt;
| 65.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 35.90%&lt;br /&gt;
| 23.08%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
==aux==&lt;br /&gt;
*An auxiliary is a defined as a &amp;quot;function word associated with a verbal predicate that expresses categories such as tense, mood, aspect, voice or evidentiality&amp;quot; ([http://universaldependencies.org/u/dep/aux_.html]). In Warlpiri, auxiliaries are used in every sentence, and they carry suffixes that signify tense and the number/person of subjects and objects.&lt;br /&gt;
*Yani &amp;#039;&amp;#039;karna&amp;#039;&amp;#039; ngajulu (&amp;quot;I&amp;#039;m going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + I) + I&lt;br /&gt;
*Yani &amp;#039;&amp;#039;kanpa&amp;#039;&amp;#039; nyuntulu (&amp;quot;You&amp;#039;re going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + you) + you&lt;br /&gt;
==nsubj==&lt;br /&gt;
*A nominal subject is a &amp;quot;nominal which is the syntactic subject and the proto-agent of a clause&amp;quot; ([http://universaldependencies.org/u/dep/nsubj_.html]). In Warlpiri, the subject is often but not always included as its own word -- for example, pronouns are often omitted.&lt;br /&gt;
*Yani karna &amp;#039;&amp;#039;ngajulu&amp;#039;&amp;#039; (&amp;quot;I&amp;#039;m going&amp;quot;):&lt;br /&gt;
  go + (present + I) + &amp;#039;&amp;#039;nsubj&amp;#039;&amp;#039; (I)&lt;br /&gt;
*Yani ka (&amp;quot;He/she/it&amp;#039;s going&amp;quot;):&lt;br /&gt;
  go + present&lt;br /&gt;
==obj==&lt;br /&gt;
*An object of a verb is usually &amp;quot;the noun phrase that denotes the entity acted upon or which undergoes a change of state or motion (the proto-patient)&amp;quot; ([http://universaldependencies.org/u/dep/obj_.html]). In Warlpiri, this noun is typically in the absolutive case when a transitive verb is used.&lt;br /&gt;
*Nyanyi kanpa &amp;#039;&amp;#039;wawirri&amp;#039;&amp;#039; (&amp;quot;You can see a kangaroo):&lt;br /&gt;
  see + (present + you) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; (kangaroo)&lt;br /&gt;
*Nyanyi kangku wawirrirli &amp;#039;&amp;#039;nyuntulu&amp;#039;&amp;#039; (&amp;quot;The kangaroo can see you&amp;quot;):&lt;br /&gt;
  see + (present + you) + kangaroo (ergative) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; (you)&lt;br /&gt;
==iobj==&lt;br /&gt;
*An indirect object of a verb is &amp;quot;any nominal phrase that is a core argument of the verb but is not its subject or (direct) object&amp;quot; ([http://universaldependencies.org/u/dep/iobj_.html]). In Warlpiri, the dative case is used.&lt;br /&gt;
*Nangala-rlu rla yungu pipa &amp;#039;&amp;#039;Jangala-ku&amp;#039;&amp;#039;. (&amp;quot;Nangala gave the book to Jangala&amp;quot;).&lt;br /&gt;
 Nangala + (dative subj3sg) + give + book + &amp;#039;&amp;#039;iobj&amp;#039;&amp;#039; (Jangala).&lt;br /&gt;
*Karnta-patu-rlu-lu-jana &amp;#039;&amp;#039;kurdu-kurdu&amp;#039;&amp;#039; miyi yinyi. (&amp;quot;The women gave the food to the children&amp;quot;)&lt;br /&gt;
 women + (past + subj3pl obj3pl) + &amp;#039;&amp;#039;iobj&amp;#039;&amp;#039; (children) + food + give&lt;br /&gt;
&lt;br /&gt;
==obl==&lt;br /&gt;
*&amp;quot;The obl relation is used for a nominal (noun, pronoun, noun phrase) functioning as a non-core (oblique) argument or adjunct&amp;quot; ([http://universaldependencies.org/u/dep/obl_.html]). In Warlpiri, the ergative case is used when an instrument is being used to perform a task. The allative case is used when an action is being performed into another object.&lt;br /&gt;
*Jakamarra-rlu ka Jupurrula luwarni &amp;#039;&amp;#039;karli-kirlirli&amp;#039;&amp;#039; (&amp;quot;Jakamarra is hitting Jupurrula with a boomerang&amp;quot;).&lt;br /&gt;
 Jakamarra + pres + Jupurrula + hit + &amp;#039;&amp;#039;obl&amp;#039;&amp;#039; (boomerang + ergative)&lt;br /&gt;
*Wakati ka-rnalu lurlurl-pi-nyi &amp;#039;&amp;#039;parraja-kurra&amp;#039;&amp;#039; ngurlu. (&amp;quot;We shake the seeds of the pigweed into a coolamon.&amp;quot;)&lt;br /&gt;
 pigweed + present (subj1plexcl) + shake + &amp;#039;&amp;#039;obl&amp;#039;&amp;#039; (coolamon + allative) + seeds&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5447</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5447"/>
				<updated>2017-05-12T07:41:44Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Dependency Relations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 34&lt;br /&gt;
| 353&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 8&lt;br /&gt;
| 74&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 93.75%&lt;br /&gt;
| 88.12%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 48.72%&lt;br /&gt;
| 28.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 71.25%&lt;br /&gt;
| 65.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 35.90%&lt;br /&gt;
| 23.08%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
==aux==&lt;br /&gt;
*An auxiliary is a defined as a &amp;quot;function word associated with a verbal predicate that expresses categories such as tense, mood, aspect, voice or evidentiality&amp;quot; ([http://universaldependencies.org/u/dep/aux_.html]). In Warlpiri, auxiliaries are used in every sentence, and they carry suffixes that signify tense and the number/person of subjects and objects.&lt;br /&gt;
*Yani &amp;#039;&amp;#039;karna&amp;#039;&amp;#039; ngajulu (&amp;quot;I&amp;#039;m going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + I) + I&lt;br /&gt;
*Yani &amp;#039;&amp;#039;kanpa&amp;#039;&amp;#039; nyuntulu (&amp;quot;You&amp;#039;re going&amp;quot;) is glossed as:&lt;br /&gt;
  go + &amp;#039;&amp;#039;aux&amp;#039;&amp;#039; (present + you) + you&lt;br /&gt;
==nsubj==&lt;br /&gt;
*A nominal subject is a &amp;quot;nominal which is the syntactic subject and the proto-agent of a clause&amp;quot; ([http://universaldependencies.org/u/dep/nsubj_.html]). In Warlpiri, the subject is often but not always included as its own word -- for example, pronouns are often omitted.&lt;br /&gt;
*Yani karna &amp;#039;&amp;#039;ngajulu&amp;#039;&amp;#039; (&amp;quot;I&amp;#039;m going&amp;quot;):&lt;br /&gt;
  go + (present + I) + &amp;#039;&amp;#039;nsubj&amp;#039;&amp;#039; (I)&lt;br /&gt;
*Yani ka (&amp;quot;He/she/it&amp;#039;s going&amp;quot;):&lt;br /&gt;
  go + present&lt;br /&gt;
==obj==&lt;br /&gt;
*An object of a verb is usually &amp;quot;the noun phrase that denotes the entity acted upon or which undergoes a change of state or motion (the proto-patient)&amp;quot; ([http://universaldependencies.org/u/dep/obj_.html]). In Warlpiri, this noun is typically in the absolutive case when a transitive verb is used.&lt;br /&gt;
*Nyanyi kanpa &amp;#039;&amp;#039;wawirri&amp;#039;&amp;#039; (&amp;quot;You can see a kangaroo):&lt;br /&gt;
  see + (present + you) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; (kangaroo)&lt;br /&gt;
*Nyanyi kangku wawirrirli &amp;#039;&amp;#039;nyuntulu&amp;#039;&amp;#039; (&amp;quot;The kangaroo can see you&amp;quot;):&lt;br /&gt;
  see + (present + you) + kangaroo (ergative) + &amp;#039;&amp;#039;obj&amp;#039;&amp;#039;(you)&lt;br /&gt;
==iobj==&lt;br /&gt;
&lt;br /&gt;
==obl==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5446</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5446"/>
				<updated>2017-05-12T07:11:49Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 34&lt;br /&gt;
| 353&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 8&lt;br /&gt;
| 74&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 93.75%&lt;br /&gt;
| 88.12%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 48.72%&lt;br /&gt;
| 28.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 71.25%&lt;br /&gt;
| 65.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 35.90%&lt;br /&gt;
| 23.08%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5440</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5440"/>
				<updated>2017-05-12T01:16:55Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 33&lt;br /&gt;
| 158&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 23&lt;br /&gt;
| 103&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 91.14%&lt;br /&gt;
| 78.48%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 60.19%&lt;br /&gt;
| 47.57%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 60.13%&lt;br /&gt;
| 50.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 33.01%&lt;br /&gt;
| 26.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5439</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5439"/>
				<updated>2017-05-12T01:16:20Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Evaluation=&lt;br /&gt;
==Corpora==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Information&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Number of sentences&lt;br /&gt;
|Number of forms&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 33&lt;br /&gt;
| 158&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 23&lt;br /&gt;
| 103&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Withmorph==&lt;br /&gt;
Here are the results from using &amp;lt;code&amp;gt;wbp.withmorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 91.14%&lt;br /&gt;
| 78.48%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 60.19%&lt;br /&gt;
| 47.57%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nomorph==&lt;br /&gt;
Here are the results from using &amp;lt;code&amp;gt;wbp.nomorph.udpipe&amp;lt;/code&amp;gt; on the two conllu files:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Results&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|UAS&lt;br /&gt;
|LAS&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 60.13%&lt;br /&gt;
| 50.00%&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;wbp.annotated2.ud.conllu&amp;lt;/code&amp;gt;&lt;br /&gt;
| 33.01%&lt;br /&gt;
| 26.21%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Dependency Relations=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_UD]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri&amp;diff=5438</id>
		<title>Warlpiri</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri&amp;diff=5438"/>
				<updated>2017-05-12T01:14:07Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Developed Resources ==&lt;br /&gt;
*Keyboard layout wiki page: [https://wikis.swarthmore.edu/ling073/Warlpiri/Keyboard]&lt;br /&gt;
*Keyboard layout repository: [https://github.swarthmore.edu/tjones5/ling073-wbp-keyboard]&lt;br /&gt;
*Repository containing corpus of Warlpiri and English [https://github.swarthmore.edu/tjones5/ling073-wbp-corpus]&lt;br /&gt;
*Grammar documentation page: [https://wikis.swarthmore.edu/ling073/Warlpiri/Grammar]&lt;br /&gt;
*Morphological Transducer Code: [https://github.swarthmore.edu/tjones5/ling073-wbp]&lt;br /&gt;
*Morphological Transducer Documentation: [https://wikis.swarthmore.edu/ling073/Warlpiri/Transducer]&lt;br /&gt;
*Morphological Disambiguator: [https://wikis.swarthmore.edu/ling073/Warlpiri/Disambiguation]&lt;br /&gt;
*Resources for machine translation between Guarani and Warlpiri [https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri]&lt;br /&gt;
*Dependency syntax: [https://wikis.swarthmore.edu/ling073/Warlpiri/Universal_Dependencies]&lt;br /&gt;
*Link to final project: [https://wikis.swarthmore.edu/ling073/User:Tjones5/Final_project]&lt;br /&gt;
&lt;br /&gt;
== External Resources ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kinds of resources:&lt;br /&gt;
*computational resources (spell checkers, orthography converters, speech recognition software),&lt;br /&gt;
*dictionaries/phrasebooks/glossaries (multilingual and monolingual, online and paper),&lt;br /&gt;
*grammatical descriptions (theoretical and pædagogical),&lt;br /&gt;
*scientific works (papers, books, websites), and&lt;br /&gt;
*corpora (any collection of authentic text, linguistically annotated or not)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Computational Resources===&lt;br /&gt;
*Kirrkirr is computer software allowing for transformation of lexical databases to provide information languages target at indigenous languages, created by Kevin Jansz, Christopher Manning, and Nitin Indurkhya. [https://web.archive.org/web/20090521110425/http://www-nlp.stanford.edu/kirrkirr] It&amp;#039;s available for download on Linux. The specifics of the authors&amp;#039; work on Warlpiri is detailed here: [https://web.archive.org/web/20090506054726/http://www.sultry.arts.usyd.edu.au/SULTRY/warlpiri.html]&lt;br /&gt;
*Christopher Horsethief has developed a Warlpiri Font Keyboard available on iOS devices. Available for purchase. [https://appadvice.com/app/warlpiri-font-keyboard/962527420]&lt;br /&gt;
===Dictionaries/Phrasebooks===&lt;br /&gt;
*The AuSIL (Australian Society for Indigenous Languages) has an interactive Warlpiri-English dictionary [http://ausil.org/Dictionary/Warlpiri/lexicon/index.htm] that includes a Warlpiri lexicon and English to Warlpiri translations. It appears to be free to download, yet download is not available on the current server. &lt;br /&gt;
*The Glosbe Dictionary contains 55 phrases translated in English and Warlpiri. The phrases contain usage examples, and anyone can edit their translations [https://glosbe.com/en/wbp/]. Note about licenses: &amp;quot;Some of data we present is licensed with CC-BY-SA, some is FDL, some comes with custom license. Data source is always indicated next to data if it is needed due to the license.&amp;quot; [https://glosbe.com/about] There is also a free API that can be used [https://glosbe.com/a-api].&lt;br /&gt;
*A list of Warlpiri words, including English translations: [http://catalogue.aiatsis.gov.au/client/en_AU/external/search/detailnonmodal/ent:$002f$002fSD_ILS$002f0$002fSD_ILS:401933/ada?qu=warlpiri&amp;amp;te=ILS] No license necessary.&lt;br /&gt;
*A concise and comprehensive edition of the Warlpiri dictionaries used to build KirrKirr for Warlpiri: [https://web.archive.org/web/20090506054726/http://www.sultry.arts.usyd.edu.au/SULTRY/warlpiri.html] Available for free download.&lt;br /&gt;
===Grammatical Descriptions===&lt;br /&gt;
*The Omniglot encyclopedia includes a short grammatical description of Warlpiri: [http://www.omniglot.com/writing/warlpiri.htm] No license necessary.&lt;br /&gt;
*The AuSIL has a description of Warlpiri, including its sounds and abbreviations:[http://ausil.org/Dictionary/Warlpiri/aboutwarlpiri.htm] No license necessary.&lt;br /&gt;
*&amp;#039;&amp;#039;Syntax - Theory and and Analysis&amp;#039;&amp;#039; (Kiss, 2015) includes a chapter about the grammatical structures of Walpiri [https://books.google.com/books?id=HABfCAAAQBAJ&amp;amp;pg=PA1677&amp;amp;lpg=PA1677&amp;amp;dq=steve+swartz+warlpiri+bible&amp;amp;source=bl&amp;amp;ots=fFrQBJrOAJ&amp;amp;sig=TGGWn3GfUpGRA60w3OLzDq_Yaak&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ved=0ahUKEwjMn_Gp69jRAhWBeyYKHY0aBE0Q6AEIPDAI#v=onepage&amp;amp;q=steve%20swartz%20warlpiri%20bible&amp;amp;f=false]&lt;br /&gt;
*&amp;#039;&amp;#039;Edinburgh Handbook of Evaluative Morphology&amp;#039;&amp;#039; (Bowler, 2015) [https://books.google.com/books?id=nDckDQAAQBAJ&amp;amp;pg=PA438&amp;amp;lpg=PA438&amp;amp;dq=nominal+warlpiri&amp;amp;source=bl&amp;amp;ots=4vQ5MdRO8z&amp;amp;sig=K3POmlFL24SSi_gCy3cR6rMwEqo&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ved=0ahUKEwiH9b-GwP7RAhVkslQKHWqQBKUQ6AEIOzAF#v=onepage&amp;amp;q=nominal%20warlpiri&amp;amp;f=false] All rights reserved. Available for viewing on Google Scholar.&lt;br /&gt;
===Scientific Works===&lt;br /&gt;
*The AuSIL also contains links to four papers by Stephen Swartz (1982), regarding Warlpiri clauses, propositional particles, verb roots, and verbal clauses, in photocopied PDF form [http://ausil.org/Dictionary/Warlpiri/aboutwarlpiri.htm] No license is necessary to download it.&lt;br /&gt;
*Jane Simpson is a researcher at the Australian National University who has published many papers on Warlpiri, including her PhD thesis &amp;quot;Aspects of Warlpiri Morphology and Syntax&amp;quot; [https://dspace.mit.edu/handle/1721.1/15468] No license is necessary to download it.&lt;br /&gt;
*Jane Simpson&amp;#039;s book &amp;#039;&amp;#039;Warlpiri Morpho-Syntax&amp;#039;&amp;#039; (1991) is available in McCabe: [https://catalog.tricolib.brynmawr.edu/find/Record/.b2064178]&lt;br /&gt;
===Corpora===&lt;br /&gt;
*Sample paragraph of Warlpiri from Omniglot Encyclopedia, including the English translation. Copyrighted, but usable as long as reference is given and it&amp;#039;s not used commercially. [http://www.omniglot.com/writing/warlpiri.htm]&lt;br /&gt;
*New testament in Warlpiri, available in other translations including English. All rights reserved, © Wycliffe Bible Translators, Inc. [https://www.bible.com/bible/1355/jhn.1]&lt;br /&gt;
*A series of short stories by AIATSIS Australian Indigenous Languages Collection Informants. Open access, available for download: [http://catalogue.aiatsis.gov.au/client/en_AU/external/search/detailnonmodal/ent:$002f$002fSD_ILS$002f0$002fSD_ILS:400826/ada?qu=warlpiri&amp;amp;te=ILS]&lt;br /&gt;
===Other===&lt;br /&gt;
*David Nash has compiled a list of Warlpiri references, dictionaries, and literature: [http://www.anu.edu.au/linguistics/nash/aust/wlp/wlp-lx-ref.html]&lt;br /&gt;
*A 4-minute news program &amp;#039;&amp;#039;Indigenous Language News Radio&amp;#039;&amp;#039;, available online in audio form: [http://www.abc.net.au/news/indigenous/]&lt;br /&gt;
*Midterm overview notes: https://wikis.swarthmore.edu/ling073/Warlpiri/Midterm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:warlpiri]]&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_ResourceDocumentation]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5437</id>
		<title>Warlpiri/Universal Dependencies</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Warlpiri/Universal_Dependencies&amp;diff=5437"/>
				<updated>2017-05-12T01:13:55Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: Created page with &amp;quot;Placeholder for UD&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder for UD&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5382</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5382"/>
				<updated>2017-05-11T00:40:41Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.com/tkjones117/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Number of stems: ~340&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5370</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5370"/>
				<updated>2017-05-10T23:58:16Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Number of stems: ~340&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5369</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5369"/>
				<updated>2017-05-10T23:52:55Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Final Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Number of stems: ~340&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5368</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5368"/>
				<updated>2017-05-10T23:52:31Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Final Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
# stems: ~340&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5367</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5367"/>
				<updated>2017-05-10T23:50:54Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5366</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5366"/>
				<updated>2017-05-10T23:50:38Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/8cd682e70a81378184b6a90f381f16e6d130459c&lt;br /&gt;
.lexc:&lt;br /&gt;
**added a few more stems&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5365</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5365"/>
				<updated>2017-05-10T23:46:27Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Final Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.48%&lt;br /&gt;
&lt;br /&gt;
Against new_corpus.txt:&lt;br /&gt;
*Precision: 84.21053%&lt;br /&gt;
*Recall: 32.98969%&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5317</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5317"/>
				<updated>2017-05-10T07:18:38Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Final Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
 TODO&lt;br /&gt;
 -precision/recall against annotated corpus&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5316</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5316"/>
				<updated>2017-05-10T07:16:16Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to Disambiguation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/6edc1d225ba43f369468448b83d009616a9c6c41&lt;br /&gt;
&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
 TODO&lt;br /&gt;
 -precision/recall against annotated corpus&lt;br /&gt;
 -Author file, etc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5315</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5315"/>
				<updated>2017-05-10T07:14:25Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to Disambiguation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
*Ambiguity before disambiguation: 	                ~1.41077302631578947368&lt;br /&gt;
*Ambiguity after disambiguation (Pre-final project): 	~1.35831766917293233083&lt;br /&gt;
*Ambiguity after disambiguation (Final):                ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
 TODO&lt;br /&gt;
 -precision/recall against annotated corpus&lt;br /&gt;
 -Author file, etc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5314</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5314"/>
				<updated>2017-05-10T07:13:48Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
*Initial ambiguity:&lt;br /&gt;
**Ambiguity before disambiguation: 	        ~1.41077302631578947368&lt;br /&gt;
**Ambiguity after disambiguation (Initial): 	~1.35831766917293233083&lt;br /&gt;
**Ambiguity after disambiguation (Final):       ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
 TODO&lt;br /&gt;
 -precision/recall against annotated corpus&lt;br /&gt;
 -Author file, etc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5313</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5313"/>
				<updated>2017-05-10T07:11:52Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to Disambiguation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-evaluate coverage, precision/recall against annotated corpus&lt;br /&gt;
-remember author, etc&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
*Initial ambiguity:&lt;br /&gt;
**Ambiguity before disambiguation: 	        ~1.41077302631578947368&lt;br /&gt;
**Ambiguity after disambiguation (Initial): 	~1.35831766917293233083&lt;br /&gt;
**Ambiguity after disambiguation (Final):       ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
 REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
 SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
 REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
 # If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
 REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5312</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5312"/>
				<updated>2017-05-10T07:11:14Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-evaluate coverage, precision/recall against annotated corpus&lt;br /&gt;
-remember author, etc&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
*Initial ambiguity:&lt;br /&gt;
**Ambiguity before disambiguation: 	        ~1.41077302631578947368&lt;br /&gt;
**Ambiguity after disambiguation (Initial): 	~1.35831766917293233083&lt;br /&gt;
**Ambiguity after disambiguation (Final):       ~1.34727443609022556391&lt;br /&gt;
&lt;br /&gt;
# If there is a transitive verb two words to the left, I don&amp;#039;t take a subject.&lt;br /&gt;
REMOVE (n sg prf) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
# If there is a transitive verb two words to the left, I&amp;#039;m in the absolutive case.&lt;br /&gt;
SELECT (n sg abs) IF (-2 Vtv) ;&lt;br /&gt;
&lt;br /&gt;
# If there is an intransitive verb two words to the left, I&amp;#039;m the subject.&lt;br /&gt;
SELECT (n sg abs) IF (-2 Viv) ;&lt;br /&gt;
&lt;br /&gt;
# If there is an auxiliary to the right or left, I cannot be a numeral.&lt;br /&gt;
REMOVE (num) IF ((1 Aux) OR (-1 Aux)) ;&lt;br /&gt;
&lt;br /&gt;
# If there is an auxiliary to the left, I cannot be an auxiliary.&lt;br /&gt;
REMOVE (vaux) IF (-1 Aux) ;&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5297</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5297"/>
				<updated>2017-05-10T05:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
Final coverage: 61.33%&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-evaluate coverage, precision/recall against annotated corpus&lt;br /&gt;
-remember author, etc&lt;br /&gt;
&lt;br /&gt;
==Improvements Made to Disambiguation==&lt;br /&gt;
*Initial ambiguity:&lt;br /&gt;
**Ambiguity before disambiguation: 	~1.41077302631578947368&lt;br /&gt;
**Ambiguity after disambiguation: 	~1.35831766917293233083&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5296</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5296"/>
				<updated>2017-05-10T05:15:49Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/2857cffb76e0014b8ea90b21f40e4cc957ae280f&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added &amp;quot;yungu&amp;quot; as a variation of the auxiliary &amp;quot;yunga&amp;quot;&lt;br /&gt;
**added more optional dashes in the auxiliary suffixes&lt;br /&gt;
**added ability to append another object suffixes to auxiliary verb&lt;br /&gt;
**added auxiliary suffixes to adverbs&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-evaluate coverage, precision/recall against annotated corpus&lt;br /&gt;
-remember author, etc&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5293</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5293"/>
				<updated>2017-05-10T04:40:22Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-evaluate coverage, precision/recall against annotated corpus&lt;br /&gt;
-remember author, etc&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5292</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5292"/>
				<updated>2017-05-10T04:37:31Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
-add more verb stems&lt;br /&gt;
-remember files&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5273</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5273"/>
				<updated>2017-05-10T02:49:59Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: nyina = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5272</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5272"/>
				<updated>2017-05-10T02:48:37Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5271</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5271"/>
				<updated>2017-05-10T02:48:22Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5270</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5270"/>
				<updated>2017-05-10T02:48:00Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5269</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5269"/>
				<updated>2017-05-10T02:47:47Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5268</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5268"/>
				<updated>2017-05-10T02:47:31Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;--&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5267</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5267"/>
				<updated>2017-05-10T02:47:03Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5266</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5266"/>
				<updated>2017-05-10T02:46:32Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5265</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5265"/>
				<updated>2017-05-10T02:45:58Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
Commit: next commit&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5264</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5264"/>
				<updated>2017-05-10T02:38:23Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: next commit https://github.swarthmore.edu/tjones5/ling073-wbp/commit/f8841c64db1c248815bc5c5a3ce4a23b8d30f641&lt;br /&gt;
*.lexc:&lt;br /&gt;
**added present verb analysis (ex: piyani = present form of &amp;quot;to be&amp;quot;, not piyanimi)&lt;br /&gt;
**added verb tense and suffix analysis (apparently sometimes verbs can object suffixes; previously I thought it was only auxiliaries that could do this)&lt;br /&gt;
**added &amp;quot;kirra&amp;quot; as another possible allative object ending&lt;br /&gt;
**added clitic analysis and several clitics -- something needs to be changed so that they increase coverage&lt;br /&gt;
**added 6 noun stems, ~55 verb stems, 3 adverb stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**eliminated bi-directionality of some rules&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5153</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5153"/>
				<updated>2017-05-09T00:01:19Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Improvements Made to the Transducer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
*.lexc:&lt;br /&gt;
**optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
**improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
**added several noun stems&lt;br /&gt;
*.twol:&lt;br /&gt;
**added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: next commit?&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5152</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5152"/>
				<updated>2017-05-09T00:00:48Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Improvements Made to the Transducer==&lt;br /&gt;
Final version:&lt;br /&gt;
https://github.swarthmore.edu/tjones5/ling073-wbp&lt;br /&gt;
&lt;br /&gt;
Commit: https://github.swarthmore.edu/tjones5/ling073-wbp/commit/125bb63f33f5f50caf682b746b972c549b4da7a0&lt;br /&gt;
.lexc:&lt;br /&gt;
*optional dashes throughout (verb suffixes, pronouns)&lt;br /&gt;
*improved organization of pronoun analysis: separation of 1st person from 2nd/3rd person&lt;br /&gt;
*added several noun stems&lt;br /&gt;
&lt;br /&gt;
.twol:&lt;br /&gt;
*added %{U%} archiphoneme to appear in suffixes on nouns in dative case&lt;br /&gt;
&lt;br /&gt;
Commit: next commit?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5142</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5142"/>
				<updated>2017-05-08T02:21:26Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
Initial Eval:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18481&lt;br /&gt;
**Coverage: 49.67%&lt;br /&gt;
&lt;br /&gt;
Checkpoint at presentation:&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Guarani_and_Warlpiri&amp;diff=5137</id>
		<title>Guarani and Warlpiri</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Guarani_and_Warlpiri&amp;diff=5137"/>
				<updated>2017-05-08T01:42:48Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* gug → wbp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Resources for machine translation between [https://wikis.swarthmore.edu/ling073/Guarani Guarani] and [https://wikis.swarthmore.edu/ling073/Warlpiri Warlpiri]&lt;br /&gt;
&lt;br /&gt;
==Corpora==&lt;br /&gt;
*[https://www.bible.com/bible/1355/rev.1 Warlpiri Bible]&lt;br /&gt;
&lt;br /&gt;
*[https://www.bible.com/bible/66/rev.1 Guarani Bible]&lt;br /&gt;
&lt;br /&gt;
*[https://www.bible.com/bible/111/rev.1 English Bible]&lt;br /&gt;
&lt;br /&gt;
*[http://unicode.org/udhr/d/udhr_gug.txt Universal Declaration of Human Rights in Guarani]&lt;br /&gt;
&lt;br /&gt;
==Developed Resources==&lt;br /&gt;
*[https://github.swarthmore.edu/tjones5/ling073-gug-wbp-corpus Corpus Repository]&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Contrastive_Grammar Contrastive Grammar]&lt;br /&gt;
*[https://github.swarthmore.edu/tjones5/ling073-gug-wbp Guarani to Warlpiri analyzer repository]&lt;br /&gt;
**This repo will hold the fully functioning rule-based machine translation system.&lt;br /&gt;
*[https://github.swarthmore.edu/cpillsb1/ling073-wbp-gug Warlpiri to Guarani analyzer repository]&lt;br /&gt;
**This repo will not be developed further.&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Lexical_selection Lexical selection Wiki page]&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Structural_transfer Structural transfer Wiki page]&lt;br /&gt;
&lt;br /&gt;
==Lexical Selection==&lt;br /&gt;
* See Lexical Selection page linked above for more detail&lt;br /&gt;
&lt;br /&gt;
* (gug) ahy&amp;#039;o → (wbp) ngukarna &amp;quot;throat&amp;quot;; lirra &amp;quot;voice&amp;quot;&lt;br /&gt;
* (gug) ha&amp;#039;anga → (wbp) japirdimi &amp;quot;threaten&amp;quot;; walaparrirni &amp;quot;imitate&amp;quot;&lt;br /&gt;
* (gug) ajúra → (wbp) japirdimi &amp;quot;collar&amp;quot;; waninja &amp;quot;neck&amp;quot;&lt;br /&gt;
* (wbp) rdaka → (gug) avatisoka &amp;quot;hand&amp;quot;; po &amp;quot;five&amp;quot;&lt;br /&gt;
* (wbp) kirdirrpa → (gug) itakua &amp;quot;cave&amp;quot;; ka&amp;#039;irãi &amp;quot;jail&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Initial Evaluation==&lt;br /&gt;
===wbp → gug evaluation===&lt;br /&gt;
====Results when running on tests====&lt;br /&gt;
*Total number of words: 14&lt;br /&gt;
*Total number of unknown words: 4&lt;br /&gt;
*Percentage of unknown words: 28.57%&lt;br /&gt;
*Percentage of stems translated correctly: 71.43%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 78.57%&lt;br /&gt;
*PER = 78.57%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
====Results when running on sentences (corpus) ====&lt;br /&gt;
*Total number of words: 58&lt;br /&gt;
*Total number of unknown words: 68&lt;br /&gt;
*Percentage of unknown words: 84.45%&lt;br /&gt;
*Percentage of stems translate correctly: 15.52%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 22.41%&lt;br /&gt;
*PER = 22.41%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===gug → wbp evaluation===&lt;br /&gt;
====Results when running on tests====&lt;br /&gt;
*Total number of words: 13&lt;br /&gt;
*Total number of unknown words: 0&lt;br /&gt;
*Percentage of unknown words: 0%&lt;br /&gt;
*Percentage of stems translated correctly: 100% &lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 92.86%&lt;br /&gt;
*PER = 92.86%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 92.86%&lt;br /&gt;
*PER = 92.86%&lt;br /&gt;
&lt;br /&gt;
====Results when running on sentences (corpus) ====&lt;br /&gt;
*Total number of words: 66&lt;br /&gt;
*Total number of unknown words: 60&lt;br /&gt;
*Percentage of unknown words: 90.9%&lt;br /&gt;
*Percentage of stems translated correctly: 9.09%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 0.0%&lt;br /&gt;
*PER = 0.0%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
&lt;br /&gt;
===gug → wbp and wbp → gug===&lt;br /&gt;
====100 more stems====&lt;br /&gt;
Added 100 more stems (mostly nouns, verbs, and adjectives) to the bilingual and monolingual dictionaries.&lt;br /&gt;
&lt;br /&gt;
===gug → wbp===&lt;br /&gt;
&lt;br /&gt;
====6 new lexical selection rules====&lt;br /&gt;
* (gug) akã → (wbp) jurru &amp;quot;head&amp;quot;; payarrpa &amp;quot;hill&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;jurru&amp;quot; (Eng: head) as the translation of &amp;quot;akã&amp;quot; when it is preceded by &amp;quot;ha&amp;#039;e&amp;quot; (Eng: his/her). Otherwise, select &amp;quot;payarrpa&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) asu → (wbp) jampu &amp;quot;left&amp;quot;; jampu-karra &amp;quot;left-handed&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;jampu-karra&amp;quot; (Eng: left-handed) as the translation of &amp;quot;asu&amp;quot; when it is followed by person words such as &amp;quot;ava&amp;quot; (Eng: person) or &amp;quot;kuña&amp;quot; (Eng: woman) or &amp;quot;mitã&amp;quot; (Eng: child). Otherwise, select &amp;quot;jampu&amp;quot; (Eng: left) as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) henyhẽ → (wbp) jaka-ngalya &amp;quot;full&amp;quot;; ngayarrka &amp;quot;pregnant&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;ngayarrka&amp;quot; (Eng: pregnant) as the translation of &amp;quot;henyhẽ&amp;quot; when it is followed/preceded by &amp;quot;kuña&amp;quot; (Eng: woman) or other words describing female people. Otherwise, select &amp;quot;jaka-ngalya&amp;quot; (Eng: full) as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) mongúi → (wbp) kijirni &amp;quot;to throw&amp;quot;; pata-karrimi &amp;quot;to fall&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;kijirni&amp;quot; (Eng: to throw) as the translation of &amp;quot;mopẽ&amp;quot; when it is followed by &amp;quot;ita&amp;quot; (Eng: rock) or &amp;quot;apu&amp;#039;a&amp;quot; (Eng: ball). Otherwise, select &amp;quot;pata-karrimi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) moha&amp;#039;anga → (wbp) pantirni &amp;quot;to draw&amp;quot;; jarntirni &amp;quot;to carve&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;pantirni&amp;quot; (Eng: to draw) as the translation of &amp;quot;moha&amp;#039;anga&amp;quot; when it is followed by &amp;quot;ha&amp;#039;anga&amp;quot; (Eng: drawing). Otherwise, select &amp;quot;jarntirni&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) mbogyapy → (wbp) pipa-kurra-mani &amp;quot;to write&amp;quot;; nyinanja-wantimi &amp;quot;to sit down&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;pipa-kurra-mani&amp;quot; (Eng: to write) as the translation of &amp;quot;mbogyapy&amp;quot; when it is followed by &amp;quot;aranduka&amp;quot; (Eng: book). Otherwise, select &amp;quot;nyinanja-wantimi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
====6 additions to the morphology====&lt;br /&gt;
*Added numeral analysis:&lt;br /&gt;
**Several number words in Warlpiri also have meanings as nouns (e.g. rdaka can mean &amp;quot;hand&amp;quot; or &amp;quot;five&amp;quot;)&lt;br /&gt;
**the -pala ending distinguishes them as number words, but it is not always necessary&lt;br /&gt;
**&amp;quot;rdaka-pala&amp;quot;: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
**&amp;quot;rdaka&amp;quot;: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added adverb analysis:&lt;br /&gt;
**&amp;quot;nyurruwiyi: ^nyurruwiyi/nyurruwiyi&amp;lt;adv&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added elative/source case for verb auxiliaries :&lt;br /&gt;
**&amp;quot;kajangka&amp;quot;: ^kajangka/ka&amp;lt;vaux&amp;gt;&amp;lt;src&amp;gt;&amp;lt;subj3sg&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added inceptive aspect for verbs:&lt;br /&gt;
**&amp;quot;pakarnunjunu&amp;quot;: ^pakarnunjunu/pakarni&amp;lt;v&amp;gt;&amp;lt;tv&amp;gt;&amp;lt;past&amp;gt;&amp;lt;inc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added possessive marker &amp;quot;nyanu&amp;quot; for nouns:&lt;br /&gt;
**&amp;quot;kaja-nyanu-rlu&amp;quot;: ^kaja-nyanu-rlu/kaja&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;poss&amp;gt;&amp;lt;erg&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added the topicalizing particle grammatical marker for nouns. -ja is used to mark known information or to indicate the topic, although sometimes it has no function.&lt;br /&gt;
**echo &amp;quot;kurdukuju&amp;quot;: ^kurdukuju/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;dat&amp;gt;&amp;lt;top&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
-----------------------------------&lt;br /&gt;
*Improved pronomial analysis:&lt;br /&gt;
**Before: &amp;quot;&amp;lt;ngaju&amp;gt;&amp;quot;&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p3 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p3 du&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 du&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 pl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 du excl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 du incl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 pl excl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 pl incl&lt;br /&gt;
*After: &lt;br /&gt;
**&amp;quot;&amp;lt;ngaju&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Clitics&lt;br /&gt;
** (wbp) -yijala   cl. also, too, likewise.&lt;br /&gt;
** (wbp) -nyayirni   Variant: -nyarrirni. cl. very, really -&amp;gt; (gug) adverb: asy&lt;br /&gt;
&lt;br /&gt;
*Conjunction??&lt;br /&gt;
**ngula   cj. 1. that, which, who. Syn: kuja. 2.he, she, it, they, them. Referring back to something in previous context.&lt;br /&gt;
&lt;br /&gt;
*Cs?&lt;br /&gt;
** -jangka   cs. 1. from. 2. because. Syn: -ngurlu~-ngirli, -warnu.&lt;br /&gt;
&lt;br /&gt;
*Reflexive?&lt;br /&gt;
**nyanungu   pn.&lt;br /&gt;
&lt;br /&gt;
*ngana - who&lt;br /&gt;
&lt;br /&gt;
*yangka   nm. aforementioned one, same one mentioned before.&lt;br /&gt;
*Numbers&lt;br /&gt;
*-juku   cl. still, yet. Syn: -kirli.&lt;br /&gt;
*-pinki   ns. such-like, things pertaining to.&lt;br /&gt;
*-kari   ns. another, other.&lt;br /&gt;
*nyurru   av. already, short time ago.&lt;br /&gt;
*-wiyi (first)&lt;br /&gt;
*-wana   ns. along, alongside, beside.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
====4 new disambiguation rules====&lt;br /&gt;
*Number vs Noun (e.g. rdaka = hand or five), has the number marker -pala&lt;br /&gt;
*Manu = cnjcoo vs v tv past?&lt;br /&gt;
*Kuja = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who.&lt;br /&gt;
**Kuja = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who.&lt;br /&gt;
**Ngula = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who. Find by searching AUX:COMP in new dictionary&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===wbp → gug===&lt;br /&gt;
====6 new lexical selection rules====&lt;br /&gt;
* (wbp) nyurltu-nyurltu → (gug) apañuãi &amp;quot;confusing, garbled&amp;quot;; apokytã &amp;quot;tangled&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;apokytã&amp;quot; if &amp;quot;nyurltu-nyurltu&amp;quot; is followed by the Warlpiri word &amp;quot;marnilpa&amp;quot; (hair). In other cases, select &amp;quot;apañuãi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) warlu → (gug) tini &amp;quot;hot&amp;quot;; aku &amp;quot;angry&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;aku&amp;quot; if &amp;quot;warlu&amp;quot; is followed by the Warlpiri word &amp;quot;miparrpa&amp;quot; (face) or &amp;quot;yapa&amp;quot; (person). In other cases, select &amp;quot;tini&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) yajarni → (gug) henoi &amp;quot;fetch/invite (someone)&amp;quot;; kakuaa &amp;quot;grow (a plant)&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;kakuaa&amp;quot; if &amp;quot;yajarni&amp;quot; is followed by the Warlpiri word &amp;quot;watiya&amp;quot; (plant). In other cases, select &amp;quot;henoi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) paarr-paarr-jankami → (gug) hapy &amp;quot;to burn, singe (hair or fur)&amp;quot;; jahéi &amp;quot;to hurt&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;hapy&amp;quot; if &amp;quot;paarr-paarr-jankami&amp;quot; is followed by the Warlpiri word &amp;quot;marnilpa&amp;quot; (hair). In other cases, select &amp;quot;jahéi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) pajirni → (gug) su&amp;#039;u &amp;quot;to bite&amp;quot;; hupi &amp;quot;to pick/gather&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;hupi&amp;quot; if &amp;quot;pajirni&amp;quot; is followed by the Warlpiri word &amp;quot;mangarri&amp;quot; (fruit). In other cases, select &amp;quot;su&amp;#039;u&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) pakarli → (gug) kuatia &amp;quot;headdress&amp;quot;; kuatia &amp;quot;paper&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;kuatia&amp;quot; if &amp;quot;pakarli&amp;quot; is preceded by the Warlpiri word &amp;quot;yangkarni&amp;quot; (to wear). In other cases, select &amp;quot;kuatia&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====4 new twol rules====&lt;br /&gt;
*Nasal harmony on dative suffix -pe:&lt;br /&gt;
**-pe now properly changes to -me when before a nasal vowel.&lt;br /&gt;
**Ex: havõ (soap). Suffix is regularly -pe, but now becomes -me&lt;br /&gt;
  echo &amp;quot;havõme&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^havõme/havõ&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;dat&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Nasal harmony on accusative suffix -ve:&lt;br /&gt;
**-ve now properly changes to -me on accusative forms of pronouns&lt;br /&gt;
**Ex: peẽ (second person plural pronoun). Suffix is regularly -ve, but now becomes -me&lt;br /&gt;
  echo &amp;quot;peẽme&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^peẽme/peẽ&amp;lt;prn&amp;gt;&amp;lt;pers&amp;gt;&amp;lt;p2&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;acc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Stress on accusative forms of pronouns:&lt;br /&gt;
**The e at the end of pronouns should be stressed (é) when followed by the acc suffix -ve&lt;br /&gt;
**Ex: che (first person singular pronoun). With suffix -ve, becomes chéve&lt;br /&gt;
  echo &amp;quot;chéve&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^chéve/che&amp;lt;prn&amp;gt;&amp;lt;pers&amp;gt;&amp;lt;p1&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;acc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Nasal harmony on reflexive prefix je- :&lt;br /&gt;
**je- now properly changes to -ñe when before a nasal.&lt;br /&gt;
**Ex: ñeñapytĩ (“to tie”). &lt;br /&gt;
  echo &amp;quot;oñeñapytĩ&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^oñeñapytĩ/ñapytĩ&amp;lt;v&amp;gt;&amp;lt;tv&amp;gt;&amp;lt;ar&amp;gt;&amp;lt;pres&amp;gt;&amp;lt;p3&amp;gt;&amp;lt;sp&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;&amp;lt;/nowiki&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Tests results===&lt;br /&gt;
&lt;br /&gt;
====gug====&lt;br /&gt;
*Precision and recall:&lt;br /&gt;
**Results:&lt;br /&gt;
  precisionRecall ../corpus/ling073-gug-corpus/ling073-gug-corpus/gug.annotated.basic.txt ../bootstrap/ling073-gug/corpus.out.txt&lt;br /&gt;
  Totals: 89 tp, 87 fp, 0 tn, 19 fn&lt;br /&gt;
  Precision: 82.40741%&lt;br /&gt;
  Recall: 50.56818%&lt;br /&gt;
&lt;br /&gt;
*Coverage over large corpus:&lt;br /&gt;
**Results:&lt;br /&gt;
  aq-covtest ~/Source/corpus/ling073-gug-corpus/ling073-gug-corpus/gug.corpus.large.txt gug.automorf.bin&lt;br /&gt;
  Number of tokenised words in the corpus: 522284&lt;br /&gt;
  Coverage: 28.96%&lt;br /&gt;
&lt;br /&gt;
*Number of stems in transducer: ~270 (didn&amp;#039;t count by hand)&lt;br /&gt;
&lt;br /&gt;
====wbp====&lt;br /&gt;
*Precision and recall:&lt;br /&gt;
**Results:&lt;br /&gt;
  precisionRecall ../ling073-wbp-corpus/wbp.annotated.basic.txt corpus.out.txt &lt;br /&gt;
Totals: 199 tp, 5 fp, 0 tn, 6 fn&lt;br /&gt;
Precision: 97.54902%&lt;br /&gt;
Recall: 97.07317%&lt;br /&gt;
&lt;br /&gt;
*Coverage over large corpus:&lt;br /&gt;
**Results:&lt;br /&gt;
 aq-covtest ../ling073-wbp-corpus/wbp.corpus.large.txt wbp.automorf.bin&lt;br /&gt;
Number of tokenised words in the corpus: 18427&lt;br /&gt;
Coverage: 51.26%&lt;br /&gt;
&lt;br /&gt;
*Number of stems in transducer: ~250&lt;br /&gt;
&lt;br /&gt;
====wbp → gug====&lt;br /&gt;
*WER and PER&lt;br /&gt;
  Number of words in reference: 76&lt;br /&gt;
  Number of words in test: 69&lt;br /&gt;
  Number of unknown words (marked with a star) in test: 45&lt;br /&gt;
  Percentage of unknown words: 65.22 %&lt;br /&gt;
  Word error rate (WER): 100.00 %&lt;br /&gt;
  Position-independent word error rate (PER): 94.74 %&lt;br /&gt;
*Proportion of stems translate correctly in longer: 31/71 = 40.8%&lt;br /&gt;
&lt;br /&gt;
Unsure... Need wbp.longer.txt to test in longer and large&lt;br /&gt;
&lt;br /&gt;
====gug → wbp====&lt;br /&gt;
*WER and PER over gug.longer.txt&lt;br /&gt;
  Number of words in reference: 72&lt;br /&gt;
  Number of words in test: 81&lt;br /&gt;
  Number of unknown words (marked with a star) in test: 44&lt;br /&gt;
  Percentage of unknown words: 54.32 %&lt;br /&gt;
  Word error rate (WER): 112.50.00 %&lt;br /&gt;
  Position-independent word error rate (PER): 108.33 %&lt;br /&gt;
*Proportion of stems translate correctly in longer: (81-44 / 81) = 37/81 = 45.7%&lt;br /&gt;
*Trimmed coverage and number of tokens in longer and large corpora&lt;br /&gt;
 aq-covtest ../ling073-gug-wbp-corpus/gug.longer.txt gug-wbp.automorf.bin&lt;br /&gt;
 **Number of tokenised words in the longer corpus: 97&lt;br /&gt;
 **Coverage: 50.52%&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 aq-covtest ../ling073-gug-wbp-corpus/gug.corpus.large.txt gug-wbp.automorf.bin&lt;br /&gt;
 **Number of tokenised words in the large corpus: 501127&lt;br /&gt;
 **Coverage: 24.74%&lt;br /&gt;
&lt;br /&gt;
[[Category:Sp17_TranslationPairs]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5071</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5071"/>
				<updated>2017-05-05T06:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Presentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5070</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5070"/>
				<updated>2017-05-05T06:07:06Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Current Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5069</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5069"/>
				<updated>2017-05-05T05:57:55Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri stories, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
*Next to implement: perhaps reduplication?&lt;br /&gt;
 echo &amp;quot;kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;kurdu-kurdu&amp;quot; | apertium -d . wbp-morph: ^kurdu/kurdu&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RBMT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5068</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5068"/>
				<updated>2017-05-05T05:45:49Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
===Current Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5066</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5066"/>
				<updated>2017-05-05T05:44:53Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Description of the problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. wolves&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-wolf + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;wolves&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5064</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5064"/>
				<updated>2017-05-05T05:44:03Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. foxes&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-fox + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;foxes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*pirli (a noun with just 2 vowels) has different endings than warlkurru (which has more than two vowels)&lt;br /&gt;
**however when suffixes such as -jarra are added, pirli gets the endings of nouns with &amp;gt;2 vowels: pirli-ngku → pirli-jarra-rlu &lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
|&amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || style=&amp;quot;background-color: teal;&amp;quot; | -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- *adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
 echo &amp;quot;rdaka&amp;quot; | apertium -d . wbp-morph: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;rdaka-pala&amp;quot; | apertium -d . wbp-morph: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Trying to write the following disambiguation rule: # If there is a noun to the right or left, I cannot be a numeral-like noun.&lt;br /&gt;
*Examples of numeral-like nouns, sometimes distinguished by adding the number marker -pala.&lt;br /&gt;
**mirdi = &amp;quot;four&amp;quot; or &amp;quot;elbow&amp;quot;&lt;br /&gt;
**rdaka = &amp;quot;five&amp;quot; or &amp;quot;hand&amp;quot;&lt;br /&gt;
**wirlki = &amp;quot;seven&amp;quot; or &amp;quot;boomerang&amp;quot;&lt;br /&gt;
**narntirnki = &amp;quot;nine&amp;quot; or &amp;quot;curled&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Need to write scraper to test on a larger corpus (current corpus is ~13,000 words)&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5061</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5061"/>
				<updated>2017-05-05T05:23:15Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. foxes&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-fox + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;foxes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
*Other work?&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
**Noun_Number 2v&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: teal;&amp;quot;| ergative&lt;br /&gt;
| &amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
***wati-ngku&lt;br /&gt;
***wati-jarra-rlu&lt;br /&gt;
**adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
**Numerals are one thing to deal with&lt;br /&gt;
*Need to write scraper to test on a larger corpus&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5060</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5060"/>
				<updated>2017-05-05T05:20:51Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Approaches */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. foxes&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-fox + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;foxes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
*Other work?&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
&lt;br /&gt;
*Pronouns (optional dash not included in table):&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Meaning !! Word !! Form&lt;br /&gt;
|-&lt;br /&gt;
! I, me&lt;br /&gt;
|  ngaju(lu) || {{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngaju}}&amp;lt;br /&amp;gt;{{morphTest|ngaju{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|sg}}|ngajulu}}&lt;br /&gt;
|-&lt;br /&gt;
! you&lt;br /&gt;
|  nyuntu(lu) || {{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntu}} &amp;lt;br /&amp;gt;{{morphTest|nyuntu{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|sg}}|nyuntulu}}&lt;br /&gt;
|-&lt;br /&gt;
! he/she/it; to him/her/it&lt;br /&gt;
|  nyanungu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|sg}}|nyanungu}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me)&lt;br /&gt;
|  ngali(jarra) || {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngali}} &amp;lt;br /&amp;gt; {{morphTest|ngali{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|incl}}|ngalijarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (him/her/it &amp;amp; me)&lt;br /&gt;
|  ngajarra || {{morphTest|ngajarra{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|du}}{{tag|excl}}|ngajarra}}&lt;br /&gt;
|-&lt;br /&gt;
! we (you &amp;amp; me &amp;amp; other(s))&lt;br /&gt;
|  ngalipa || {{morphTest|ngalipa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|incl}}|ngalipa}}&lt;br /&gt;
|-&lt;br /&gt;
! we (them &amp;amp; me)&lt;br /&gt;
|  nganimpa || {{morphTest|nganimpa{{tag|prn}}{{tag|pers}}{{tag|p1}}{{tag|pl}}{{tag|excl}}|nganimpa}}&lt;br /&gt;
|-&lt;br /&gt;
! you (both/two)&lt;br /&gt;
|  nyumpala || {{morphTest|nyumpala{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|du}}|nyumpala}}&lt;br /&gt;
|-&lt;br /&gt;
! you (more than 2)&lt;br /&gt;
|  nyurrarla || {{morphTest|nyurrarla{{tag|prn}}{{tag|pers}}{{tag|p2}}{{tag|pl}}|nyurrarla}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (both/two)&lt;br /&gt;
|  nyanungu-jarra || {{morphTest|nyanungu-jarra{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|du}}|nyanungu-jarra}}&lt;br /&gt;
|-&lt;br /&gt;
! they/them (more than 2)&lt;br /&gt;
|  nyanungu-rra/nyanungu-patu || {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-rra}} &amp;lt;br /&amp;gt; {{morphTest|nyanungu{{tag|prn}}{{tag|pers}}{{tag|p3}}{{tag|pl}}|nyanungu-patu}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
**Noun_Number 2v&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! case name !! ~meaning !! tag !! possible forms !! pirli &amp;quot;rock&amp;quot; (2 vowels) !! warlkurru (&amp;gt;2 vowels) &amp;quot;axe&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! absolutive&lt;br /&gt;
| subject of intransitive verbs and object of transitive verbs || {{tag|abs}} || — || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|abs}}|pirli}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|abs}}|warlkurru}}&lt;br /&gt;
|-&lt;br /&gt;
! dative&lt;br /&gt;
| &amp;quot;to&amp;quot; || {{tag|dat}} || -ku || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|dat}}|pirli-ku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|dat}}|warlkurru-ku}}&lt;br /&gt;
|-&lt;br /&gt;
! ergative&lt;br /&gt;
| &amp;quot;agent of a transitive verb&amp;quot; || {{tag|erg}} || -ngku, -rlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|erg}}|pirli-ngku}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|erg}}|warlkurru-rlu}}&lt;br /&gt;
|-&lt;br /&gt;
! allative&lt;br /&gt;
| &amp;quot;onto&amp;quot; || {{tag|all}} || -kurra || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|all}}|pirli-kurra}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|all}}|warlkurru-kurra}}&lt;br /&gt;
|-&lt;br /&gt;
! comitative&lt;br /&gt;
| &amp;quot;with&amp;quot; || {{tag|com}} || -ngkajinta, -rlajinta || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|com}}|pirli-ngkajinta}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|com}}|warlkurru-rlajinta}}&lt;br /&gt;
|-&lt;br /&gt;
! elative&lt;br /&gt;
| &amp;quot;out of&amp;quot; || {{tag|ela}} || -ngurlu || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|ela}}|pirli-ngurlu}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|ela}}|warlkurru-ngurlu}}&lt;br /&gt;
|-&lt;br /&gt;
! locative&lt;br /&gt;
| &amp;quot;at, in on&amp;quot; || {{tag|loc}} || -ngka, -rla || {{morphTest|pirli{{tag|n}}{{tag|sg}}{{tag|loc}}|pirli-ngka}} || {{morphTest|warlkurru{{tag|n}}{{tag|sg}}{{tag|loc}}|warlkurru-rla}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
***wati-ngku&lt;br /&gt;
***wati-jarra-rlu&lt;br /&gt;
**adding (optional) dashes between everything; selecting only one analysis by using ! Dir/LR&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
**Numerals are one thing to deal with&lt;br /&gt;
*Need to write scraper to test on a larger corpus&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=Guarani_and_Warlpiri&amp;diff=5059</id>
		<title>Guarani and Warlpiri</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=Guarani_and_Warlpiri&amp;diff=5059"/>
				<updated>2017-05-05T05:00:44Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* wbp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Resources for machine translation between [https://wikis.swarthmore.edu/ling073/Guarani Guarani] and [https://wikis.swarthmore.edu/ling073/Warlpiri Warlpiri]&lt;br /&gt;
&lt;br /&gt;
==Corpora==&lt;br /&gt;
*[https://www.bible.com/bible/1355/rev.1 Warlpiri Bible]&lt;br /&gt;
&lt;br /&gt;
*[https://www.bible.com/bible/66/rev.1 Guarani Bible]&lt;br /&gt;
&lt;br /&gt;
*[https://www.bible.com/bible/111/rev.1 English Bible]&lt;br /&gt;
&lt;br /&gt;
*[http://unicode.org/udhr/d/udhr_gug.txt Universal Declaration of Human Rights in Guarani]&lt;br /&gt;
&lt;br /&gt;
==Developed Resources==&lt;br /&gt;
*[https://github.swarthmore.edu/tjones5/ling073-gug-wbp-corpus Corpus Repository]&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Contrastive_Grammar Contrastive Grammar]&lt;br /&gt;
*[https://github.swarthmore.edu/tjones5/ling073-gug-wbp Guarani to Warlpiri analyzer repository]&lt;br /&gt;
**This repo will hold the fully functioning rule-based machine translation system.&lt;br /&gt;
*[https://github.swarthmore.edu/cpillsb1/ling073-wbp-gug Warlpiri to Guarani analyzer repository]&lt;br /&gt;
**This repo will not be developed further.&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Lexical_selection Lexical selection Wiki page]&lt;br /&gt;
*[https://wikis.swarthmore.edu/ling073/Guarani_and_Warlpiri/Structural_transfer Structural transfer Wiki page]&lt;br /&gt;
&lt;br /&gt;
==Lexical Selection==&lt;br /&gt;
* See Lexical Selection page linked above for more detail&lt;br /&gt;
&lt;br /&gt;
* (gug) ahy&amp;#039;o → (wbp) ngukarna &amp;quot;throat&amp;quot;; lirra &amp;quot;voice&amp;quot;&lt;br /&gt;
* (gug) ha&amp;#039;anga → (wbp) japirdimi &amp;quot;threaten&amp;quot;; walaparrirni &amp;quot;imitate&amp;quot;&lt;br /&gt;
* (gug) ajúra → (wbp) japirdimi &amp;quot;collar&amp;quot;; waninja &amp;quot;neck&amp;quot;&lt;br /&gt;
* (wbp) rdaka → (gug) avatisoka &amp;quot;hand&amp;quot;; po &amp;quot;five&amp;quot;&lt;br /&gt;
* (wbp) kirdirrpa → (gug) itakua &amp;quot;cave&amp;quot;; ka&amp;#039;irãi &amp;quot;jail&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Initial Evaluation==&lt;br /&gt;
===wbp → gug evaluation===&lt;br /&gt;
====Results when running on tests====&lt;br /&gt;
*Total number of words: 14&lt;br /&gt;
*Total number of unknown words: 4&lt;br /&gt;
*Percentage of unknown words: 28.57%&lt;br /&gt;
*Percentage of stems translated correctly: 71.43%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 78.57%&lt;br /&gt;
*PER = 78.57%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
====Results when running on sentences (corpus) ====&lt;br /&gt;
*Total number of words: 58&lt;br /&gt;
*Total number of unknown words: 68&lt;br /&gt;
*Percentage of unknown words: 84.45%&lt;br /&gt;
*Percentage of stems translate correctly: 15.52%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 22.41%&lt;br /&gt;
*PER = 22.41%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===gug → wbp evaluation===&lt;br /&gt;
====Results when running on tests====&lt;br /&gt;
*Total number of words: 13&lt;br /&gt;
*Total number of unknown words: 0&lt;br /&gt;
*Percentage of unknown words: 0%&lt;br /&gt;
*Percentage of stems translated correctly: 100% &lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 92.86%&lt;br /&gt;
*PER = 92.86%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 92.86%&lt;br /&gt;
*PER = 92.86%&lt;br /&gt;
&lt;br /&gt;
====Results when running on sentences (corpus) ====&lt;br /&gt;
*Total number of words: 66&lt;br /&gt;
*Total number of unknown words: 60&lt;br /&gt;
*Percentage of unknown words: 90.9%&lt;br /&gt;
*Percentage of stems translated correctly: 9.09%&lt;br /&gt;
&lt;br /&gt;
When removing unknown words:&lt;br /&gt;
*WER = 0.0%&lt;br /&gt;
*PER = 0.0%&lt;br /&gt;
When unknown words are not removed:&lt;br /&gt;
*WER = 100%&lt;br /&gt;
*PER = 100%&lt;br /&gt;
&lt;br /&gt;
==Final Evaluation==&lt;br /&gt;
&lt;br /&gt;
===gug → wbp and wbp → gug===&lt;br /&gt;
====100 more stems====&lt;br /&gt;
Added 100 more stems (mostly nouns, verbs, and adjectives) to the bilingual and monolingual dictionaries.&lt;br /&gt;
&lt;br /&gt;
===gug → wbp===&lt;br /&gt;
&lt;br /&gt;
====6 new lexical selection rules====&lt;br /&gt;
* (gug) akã → (wbp) jurru &amp;quot;head&amp;quot;; payarrpa &amp;quot;hill&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;jurru&amp;quot; (Eng: head) as the translation of &amp;quot;akã&amp;quot; when it is preceded by &amp;quot;ha&amp;#039;e&amp;quot; (Eng: his/her). Otherwise, select &amp;quot;payarrpa&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) asu → (wbp) jampu &amp;quot;left&amp;quot;; jampu-karra &amp;quot;left-handed&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;jampu-karra&amp;quot; (Eng: left-handed) as the translation of &amp;quot;asu&amp;quot; when it is followed by person words such as &amp;quot;ava&amp;quot; (Eng: person) or &amp;quot;kuña&amp;quot; (Eng: woman) or &amp;quot;mitã&amp;quot; (Eng: child). Otherwise, select &amp;quot;jampu&amp;quot; (Eng: left) as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) henyhẽ → (wbp) jaka-ngalya &amp;quot;full&amp;quot;; ngayarrka &amp;quot;pregnant&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;ngayarrka&amp;quot; (Eng: pregnant) as the translation of &amp;quot;henyhẽ&amp;quot; when it is followed/preceded by &amp;quot;kuña&amp;quot; (Eng: woman) or other words describing female people. Otherwise, select &amp;quot;jaka-ngalya&amp;quot; (Eng: full) as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) mongúi → (wbp) kijirni &amp;quot;to throw&amp;quot;; pata-karrimi &amp;quot;to fall&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;kijirni&amp;quot; (Eng: to throw) as the translation of &amp;quot;mopẽ&amp;quot; when it is followed by &amp;quot;ita&amp;quot; (Eng: rock) or &amp;quot;apu&amp;#039;a&amp;quot; (Eng: ball). Otherwise, select &amp;quot;pata-karrimi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) moha&amp;#039;anga → (wbp) pantirni &amp;quot;to draw&amp;quot;; jarntirni &amp;quot;to carve&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;pantirni&amp;quot; (Eng: to draw) as the translation of &amp;quot;moha&amp;#039;anga&amp;quot; when it is followed by &amp;quot;ha&amp;#039;anga&amp;quot; (Eng: drawing). Otherwise, select &amp;quot;jarntirni&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (gug) mbogyapy → (wbp) pipa-kurra-mani &amp;quot;to write&amp;quot;; nyinanja-wantimi &amp;quot;to sit down&amp;quot;&lt;br /&gt;
** Rule: Select &amp;quot;pipa-kurra-mani&amp;quot; (Eng: to write) as the translation of &amp;quot;mbogyapy&amp;quot; when it is followed by &amp;quot;aranduka&amp;quot; (Eng: book). Otherwise, select &amp;quot;nyinanja-wantimi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
====6 additions to the morphology====&lt;br /&gt;
*Added numeral analysis:&lt;br /&gt;
**Several number words in Warlpiri also have meanings as nouns (e.g. rdaka can mean &amp;quot;hand&amp;quot; or &amp;quot;five&amp;quot;)&lt;br /&gt;
**the -pala ending distinguishes them as number words, but it is not always necessary&lt;br /&gt;
**&amp;quot;rdaka-pala&amp;quot;: ^rdaka-pala/rdaka&amp;lt;num&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
**&amp;quot;rdaka&amp;quot;: ^rdaka/rdaka&amp;lt;num&amp;gt;/rdaka&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;abs&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added adverb analysis:&lt;br /&gt;
**&amp;quot;nyurruwiyi: ^nyurruwiyi/nyurruwiyi&amp;lt;adv&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added elative/source case for verb auxiliaries :&lt;br /&gt;
**&amp;quot;kajangka&amp;quot;: ^kajangka/ka&amp;lt;vaux&amp;gt;&amp;lt;src&amp;gt;&amp;lt;subj3sg&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added inceptive aspect for verbs:&lt;br /&gt;
**&amp;quot;pakarnunjunu&amp;quot;: ^pakarnunjunu/pakarni&amp;lt;v&amp;gt;&amp;lt;tv&amp;gt;&amp;lt;past&amp;gt;&amp;lt;inc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added possessive marker &amp;quot;nyanu&amp;quot; for nouns:&lt;br /&gt;
**&amp;quot;kaja-nyanu-rlu&amp;quot;: ^kaja-nyanu-rlu/kaja&amp;lt;n&amp;gt;&amp;lt;pl&amp;gt;&amp;lt;poss&amp;gt;&amp;lt;erg&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Added the topicalizing particle grammatical marker for nouns. -ja is used to mark known information or to indicate the topic, although sometimes it has no function.&lt;br /&gt;
**echo &amp;quot;kurdukuju&amp;quot;: ^kurdukuju/kurdu&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;dat&amp;gt;&amp;lt;top&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
-----------------------------------&lt;br /&gt;
*Improved pronomial analysis:&lt;br /&gt;
**Before: &amp;quot;&amp;lt;ngaju&amp;gt;&amp;quot;&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p3 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p3 du&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 du&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p2 pl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 sg&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 du excl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 du incl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 pl excl&lt;br /&gt;
***&amp;quot;ngaju&amp;quot; prn pers p1 pl incl&lt;br /&gt;
*After: &lt;br /&gt;
**&amp;quot;&amp;lt;ngaju&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Clitics&lt;br /&gt;
** (wbp) -yijala   cl. also, too, likewise.&lt;br /&gt;
** (wbp) -nyayirni   Variant: -nyarrirni. cl. very, really -&amp;gt; (gug) adverb: asy&lt;br /&gt;
&lt;br /&gt;
*Conjunction??&lt;br /&gt;
**ngula   cj. 1. that, which, who. Syn: kuja. 2.he, she, it, they, them. Referring back to something in previous context.&lt;br /&gt;
&lt;br /&gt;
*Cs?&lt;br /&gt;
** -jangka   cs. 1. from. 2. because. Syn: -ngurlu~-ngirli, -warnu.&lt;br /&gt;
&lt;br /&gt;
*Reflexive?&lt;br /&gt;
**nyanungu   pn.&lt;br /&gt;
&lt;br /&gt;
*ngana - who&lt;br /&gt;
&lt;br /&gt;
*yangka   nm. aforementioned one, same one mentioned before.&lt;br /&gt;
*Numbers&lt;br /&gt;
*-juku   cl. still, yet. Syn: -kirli.&lt;br /&gt;
*-pinki   ns. such-like, things pertaining to.&lt;br /&gt;
*-kari   ns. another, other.&lt;br /&gt;
*nyurru   av. already, short time ago.&lt;br /&gt;
*-wiyi (first)&lt;br /&gt;
*-wana   ns. along, alongside, beside.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
====4 new disambiguation rules====&lt;br /&gt;
*Number vs Noun (e.g. rdaka = hand or five), has the number marker -pala&lt;br /&gt;
*Manu = cnjcoo vs v tv past?&lt;br /&gt;
*Kuja = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who.&lt;br /&gt;
**Kuja = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who.&lt;br /&gt;
**Ngula = &amp;quot;ka&amp;quot; vaux rel subj3sg OR kuja = kuja   cj. relative pronoun, what, which, that, who. Find by searching AUX:COMP in new dictionary&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===wbp → gug===&lt;br /&gt;
====6 new lexical selection rules====&lt;br /&gt;
* (wbp) nyurltu-nyurltu → (gug) apañuãi &amp;quot;confusing, garbled&amp;quot;; apokytã &amp;quot;tangled&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;apokytã&amp;quot; if &amp;quot;nyurltu-nyurltu&amp;quot; is followed by the Warlpiri word &amp;quot;marnilpa&amp;quot; (hair). In other cases, select &amp;quot;apañuãi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) warlu → (gug) tini &amp;quot;hot&amp;quot;; aku &amp;quot;angry&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;aku&amp;quot; if &amp;quot;warlu&amp;quot; is followed by the Warlpiri word &amp;quot;miparrpa&amp;quot; (face) or &amp;quot;yapa&amp;quot; (person). In other cases, select &amp;quot;tini&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) yajarni → (gug) henoi &amp;quot;fetch/invite (someone)&amp;quot;; kakuaa &amp;quot;grow (a plant)&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;kakuaa&amp;quot; if &amp;quot;yajarni&amp;quot; is followed by the Warlpiri word &amp;quot;watiya&amp;quot; (plant). In other cases, select &amp;quot;henoi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) paarr-paarr-jankami → (gug) hapy &amp;quot;to burn, singe (hair or fur)&amp;quot;; jahéi &amp;quot;to hurt&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;hapy&amp;quot; if &amp;quot;paarr-paarr-jankami&amp;quot; is followed by the Warlpiri word &amp;quot;marnilpa&amp;quot; (hair). In other cases, select &amp;quot;jahéi&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) pajirni → (gug) su&amp;#039;u &amp;quot;to bite&amp;quot;; hupi &amp;quot;to pick/gather&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;hupi&amp;quot; if &amp;quot;pajirni&amp;quot; is followed by the Warlpiri word &amp;quot;mangarri&amp;quot; (fruit). In other cases, select &amp;quot;su&amp;#039;u&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
* (wbp) pakarli → (gug) kuatia &amp;quot;headdress&amp;quot;; kuatia &amp;quot;paper&amp;quot;&lt;br /&gt;
** Rule: select &amp;quot;kuatia&amp;quot; if &amp;quot;pakarli&amp;quot; is preceded by the Warlpiri word &amp;quot;yangkarni&amp;quot; (to wear). In other cases, select &amp;quot;kuatia&amp;quot; as the default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====4 new twol rules====&lt;br /&gt;
*Nasal harmony on dative suffix -pe:&lt;br /&gt;
**-pe now properly changes to -me when before a nasal vowel.&lt;br /&gt;
**Ex: havõ (soap). Suffix is regularly -pe, but now becomes -me&lt;br /&gt;
  echo &amp;quot;havõme&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^havõme/havõ&amp;lt;n&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;dat&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Nasal harmony on accusative suffix -ve:&lt;br /&gt;
**-ve now properly changes to -me on accusative forms of pronouns&lt;br /&gt;
**Ex: peẽ (second person plural pronoun). Suffix is regularly -ve, but now becomes -me&lt;br /&gt;
  echo &amp;quot;peẽme&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^peẽme/peẽ&amp;lt;prn&amp;gt;&amp;lt;pers&amp;gt;&amp;lt;p2&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;acc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Stress on accusative forms of pronouns:&lt;br /&gt;
**The e at the end of pronouns should be stressed (é) when followed by the acc suffix -ve&lt;br /&gt;
**Ex: che (first person singular pronoun). With suffix -ve, becomes chéve&lt;br /&gt;
  echo &amp;quot;chéve&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^chéve/che&amp;lt;prn&amp;gt;&amp;lt;pers&amp;gt;&amp;lt;p1&amp;gt;&amp;lt;sg&amp;gt;&amp;lt;acc&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
*Nasal harmony on reflexive prefix je- :&lt;br /&gt;
**je- now properly changes to -ñe when before a nasal.&lt;br /&gt;
**Ex: ñeñapytĩ (“to tie”). &lt;br /&gt;
  echo &amp;quot;oñeñapytĩ&amp;quot; | apertium -d . gug-morph&lt;br /&gt;
  ^oñeñapytĩ/ñapytĩ&amp;lt;v&amp;gt;&amp;lt;tv&amp;gt;&amp;lt;ar&amp;gt;&amp;lt;pres&amp;gt;&amp;lt;p3&amp;gt;&amp;lt;sp&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;&amp;lt;/nowiki&amp;gt;$^./.&amp;lt;sent&amp;gt;$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Tests results===&lt;br /&gt;
&lt;br /&gt;
====gug====&lt;br /&gt;
*Precision and recall:&lt;br /&gt;
**Results:&lt;br /&gt;
  precisionRecall ../corpus/ling073-gug-corpus/ling073-gug-corpus/gug.annotated.basic.txt ../bootstrap/ling073-gug/corpus.out.txt&lt;br /&gt;
  Totals: 89 tp, 87 fp, 0 tn, 19 fn&lt;br /&gt;
  Precision: 82.40741%&lt;br /&gt;
  Recall: 50.56818%&lt;br /&gt;
&lt;br /&gt;
*Coverage over large corpus:&lt;br /&gt;
**Results:&lt;br /&gt;
  aq-covtest ~/Source/corpus/ling073-gug-corpus/ling073-gug-corpus/gug.corpus.large.txt gug.automorf.bin&lt;br /&gt;
  Number of tokenised words in the corpus: 522284&lt;br /&gt;
  Coverage: 28.96%&lt;br /&gt;
&lt;br /&gt;
*Number of stems in transducer: ~270 (didn&amp;#039;t count by hand)&lt;br /&gt;
&lt;br /&gt;
====wbp====&lt;br /&gt;
*Precision and recall:&lt;br /&gt;
**Results:&lt;br /&gt;
  precisionRecall ../ling073-wbp-corpus/wbp.annotated.basic.txt corpus.out.txt &lt;br /&gt;
Totals: 199 tp, 5 fp, 0 tn, 6 fn&lt;br /&gt;
Precision: 97.54902%&lt;br /&gt;
Recall: 97.07317%&lt;br /&gt;
&lt;br /&gt;
*Coverage over large corpus:&lt;br /&gt;
**Results:&lt;br /&gt;
 aq-covtest ../ling073-wbp-corpus/wbp.corpus.large.txt wbp.automorf.bin&lt;br /&gt;
Number of tokenised words in the corpus: 18427&lt;br /&gt;
Coverage: 51.26%&lt;br /&gt;
&lt;br /&gt;
*Number of stems in transducer: ~250&lt;br /&gt;
&lt;br /&gt;
====wbp → gug====&lt;br /&gt;
*WER and PER&lt;br /&gt;
  Number of words in reference: 76&lt;br /&gt;
  Number of words in test: 69&lt;br /&gt;
  Number of unknown words (marked with a star) in test: 45&lt;br /&gt;
  Percentage of unknown words: 65.22 %&lt;br /&gt;
  Word error rate (WER): 100.00 %&lt;br /&gt;
  Position-independent word error rate (PER): 94.74 %&lt;br /&gt;
*Proportion of stems translate correctly in longer: 31/71 = 40.8%&lt;br /&gt;
&lt;br /&gt;
Unsure... Need wbp.longer.txt to test in longer and large&lt;br /&gt;
&lt;br /&gt;
====gug → wbp====&lt;br /&gt;
*WER and PER over gug.longer.txt&lt;br /&gt;
  Number of words in reference: 72&lt;br /&gt;
  Number of words in test: 81&lt;br /&gt;
  Number of unknown words (marked with a star) in test: 44&lt;br /&gt;
  Percentage of unknown words: 54.32 %&lt;br /&gt;
  Word error rate (WER): 112.50.00 %&lt;br /&gt;
  Position-independent word error rate (PER): 108.33 %&lt;br /&gt;
*Proportion of stems translate correctly in longer: (81-44 / 81) = 37/81 = 45.7%&lt;br /&gt;
*Trimmed coverage and number of tokens in longer and large corpora&lt;br /&gt;
 aq-covtest ../ling073-gug-wbp-corpus/gug.longer.txt gug-wbp.automorf.bin&lt;br /&gt;
 **Number of tokenised words in the longer corpus: 97&lt;br /&gt;
 **Coverage: 50.52%&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
**Number of tokenised words in the LARGE corpus: ?&lt;br /&gt;
**Coverage: ?&lt;br /&gt;
&lt;br /&gt;
[[Category:Sp17_TranslationPairs]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5058</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5058"/>
				<updated>2017-05-05T04:54:39Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: /* Presentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
&amp;lt;!--What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem.--&amp;gt; &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. foxes&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-fox + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;foxes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
&amp;lt;!--* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing.--&amp;gt;&lt;br /&gt;
*Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
*Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
*Other work?&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
&amp;lt;!--* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?--&amp;gt;&lt;br /&gt;
*Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
**All of these applications might also be helpful in starting an analyzer for other indigenous languages that have the same orthography, are highly agglutinative, and have other grammatical similarities &lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
**Examples??&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
**Numerals are one thing to deal with&lt;br /&gt;
*Need to build a scraper to test on a larger corpus&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
&amp;lt;!--* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P --&amp;gt;&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	<entry>
		<id>http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5056</id>
		<title>User:Tjones5/Final project</title>
		<link rel="alternate" type="text/html" href="http://wikis.swarthmore.edu/ling073/index.php?title=User:Tjones5/Final_project&amp;diff=5056"/>
				<updated>2017-05-05T04:50:15Z</updated>
		
		<summary type="html">&lt;p&gt;Tjones5: **&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Placeholder page for final project&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
*To implement:&lt;br /&gt;
**Reduplication&lt;br /&gt;
&lt;br /&gt;
*Get a big corpus:&lt;br /&gt;
**Build a scraper? to get corpus up to 25K&lt;br /&gt;
**Use regular expressions to clean up scraped (or copied/pasted) text&lt;br /&gt;
&lt;br /&gt;
*For evaluation:&lt;br /&gt;
**Go back and look at coverage&lt;br /&gt;
&lt;br /&gt;
*Other ling to do: UD pipeline&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
What will be expected for this assignment is a &amp;#039;&amp;#039;&amp;#039;10 minute&amp;#039;&amp;#039;&amp;#039; presentation in which you share the following with your classmates:&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;description of the problem&amp;#039;&amp;#039;&amp;#039; addressed by your project. For some projects this may require thinking about it in a somewhat new light.  Whether or not the problem is something we&amp;#039;ve dealt with in class, provide a brief but complete introduction to the problem. &lt;br /&gt;
===Description of the problem===&lt;br /&gt;
* What is a transducer? What does it do?&lt;br /&gt;
* Word structure is analyzed by composition of morphemes (the smallest units with grammatical meaning)&lt;br /&gt;
* A morphological transducer connects forms with analyses. &lt;br /&gt;
* Surface level -- represents the concatenation of letters which make up the actual spelling of the word, e.g. foxes&lt;br /&gt;
* Lexical level -- represents the concatenation of morphemes making up a word, e.g. NOUN-fox + PLURAL-es &lt;br /&gt;
* Morphological parsing -- the problem of recognizing that a word breaks down into component morphemes, as above with &amp;quot;foxes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Simple transducer.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
* Any &amp;#039;&amp;#039;&amp;#039;previous work&amp;#039;&amp;#039;&amp;#039; you&amp;#039;ve found that also addresses this problem or similar problems, and how it relates to what you&amp;#039;re doing. &lt;br /&gt;
**Many languages have working [http://wiki.apertium.org/wiki/Languages Apertium transducers]: &lt;br /&gt;
**Warlpiri doesn&amp;#039;t have a working transducer -- in fact, no languages from the Pama–Nyungan family have a transducer&lt;br /&gt;
&lt;br /&gt;
===Benefits of this project===&lt;br /&gt;
* Your thoughts on who might &amp;#039;&amp;#039;&amp;#039;benefit from your project&amp;#039;&amp;#039;&amp;#039; and in what way.  E.g., might a language community be able to find a use for what you&amp;#039;re doing, or maybe [computational] linguists working on a language or issue?&lt;br /&gt;
**Why is a transducer useful to a community of Warlpiri speakers?&lt;br /&gt;
**Search engine&lt;br /&gt;
**Spell checker&lt;br /&gt;
**Machine Translation, especially to/from English (the primary language of most Warlpiri speakers). Many are trying to revive the use of Warlpiri, so there are many potentially useful applications.&lt;br /&gt;
***A eng → wbp MT system could be used to look up how to say/write a certain word or phrase&lt;br /&gt;
***A wbp → eng MT system could be used to analyze (and then translate) untranslated Warlpiri phrases, or give alternate translations&lt;br /&gt;
&lt;br /&gt;
===Approaches===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re approaching the solution&amp;#039;&amp;#039;&amp;#039; to the overall problem, including how you&amp;#039;re implementing the solution. You can talk here about smaller individual issues that have arisen as well.&lt;br /&gt;
&lt;br /&gt;
*Mostly have worked within lexc and twol files&lt;br /&gt;
**Examples??&lt;br /&gt;
*Disambiguation is a challenge because of flexible word order&lt;br /&gt;
**Numerals are one thing to deal with&lt;br /&gt;
*Need to build a scraper to test on a larger corpus&lt;br /&gt;
&lt;br /&gt;
===Evaluation===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How you&amp;#039;re evaluating the effectiveness&amp;#039;&amp;#039;&amp;#039; of the solution, and some preliminary look at results of the evaluation. We&amp;#039;ll understand that the project isn&amp;#039;t yet complete, so the evaluation may show that the project is entirely ineffective and useless :-P&lt;br /&gt;
* Coverage over a large corpus &lt;br /&gt;
* Precision and recall against a hand-annotated randomly selected forms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Coverage over large corpus&lt;br /&gt;
**Number of tokenised words in the corpus: 18427&lt;br /&gt;
**Coverage: 51.26%&lt;br /&gt;
* Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
**Precision: 97.54902%&lt;br /&gt;
**Recall: 97.07317%&lt;br /&gt;
* Number of stems: ~250&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*Pre Final Project&lt;br /&gt;
** Coverage over large corpus&lt;br /&gt;
***Number of tokenised words in the corpus: 18427&lt;br /&gt;
***Coverage: 51.26%&lt;br /&gt;
** Precision/Recall on wbp.annotated.basic.txt from Polished RMBT:&lt;br /&gt;
***Precision: 97.54902%&lt;br /&gt;
***Recall: 97.07317%&lt;br /&gt;
** Number of stems: ~250&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! status !! description !! stems !! coverage&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: red;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;prototype&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module that has not received heavy development&lt;br /&gt;
| &amp;lt;1,000&lt;br /&gt;
| &amp;lt;60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: orange;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;development&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module under development &lt;br /&gt;
| ≥1,000 &lt;br /&gt;
| ≥60% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: yellow;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;working&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| language module with near-production-quality performance &lt;br /&gt;
| ≥8,000&lt;br /&gt;
| ≥80% &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background-color: green;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;production&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| language module used in a released pair&lt;br /&gt;
| ≥10,000&lt;br /&gt;
| ≥90%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Table Source: http://wiki.apertium.org/wiki/Languages&lt;br /&gt;
*Background on analyzers: http://www.phil.uu.nl/tst/2012/Slides/SLP_Lecture2.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:sp17_FinalProjects]]&lt;/div&gt;</summary>
		<author><name>Tjones5</name></author>	</entry>

	</feed>