1
0
forked from GitHub/gf-core

the first version of the Android's morphology browser

This commit is contained in:
kr.angelov
2013-10-23 15:10:13 +00:00
parent 0882396875
commit 10fa2baa56
6 changed files with 901 additions and 34 deletions

View File

@@ -3,7 +3,7 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView
android:id="@+id/icon"
android:id="@+id/arrow"
android:layout_width="30dp"
android:layout_height="30dp"
android:contentDescription="@string/open_image"
@@ -14,8 +14,14 @@
<TextView
android:id="@+id/lexical_desc"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_toRightOf="@+id/icon"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/arrow"
android:paddingLeft="10dp"
android:textSize="25sp"/>
<WebView
android:id="@+id/lexical_inflection"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/lexical_desc"/>
</RelativeLayout>

View File

@@ -0,0 +1,615 @@
<inflection_temlate>
<noun>
<h1>Съществително</h1>
<table class="forms-table" rules="all">
<tr>
<th rowspan="3">ед.ч.</th>
<th>нечленувано</th>
<td><form>s (NF Sg Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s (NF Sg Def)</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s NFSgDefNom</form></td>
</tr>
<tr>
<th rowspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s (NF Pl Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s (NF Pl Def)</form></td>
</tr>
<tr>
<th colspan="2">звателна форма</th>
<td><form>s NFVocative</form></td>
</tr>
<tr>
<th colspan="2">бройна форма</th>
<td><form>s NFPlCount</form></td>
</tr>
</table>
<h1>Прилагателно</h1>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>rel (ASg Masc Indef)</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>rel (ASg Masc Def)</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>rel ASgMascDefNom</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>rel (ASg Fem Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>rel (ASg Fem Def)</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>rel (ASg Neut Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>rel (ASg Neut Def)</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>rel (APl Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>rel (APl Def)</form></td>
</tr>
</table>
</noun>
<adjective>
<h1>Прилагателно</h1>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s (ASg Masc Indef)</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s (ASg Masc Def)</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s ASgMascDefNom</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s (ASg Fem Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s (ASg Fem Def)</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s (ASg Neut Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s (ASg Neut Def)</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s (APl Indef)</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s (APl Def)</form></td>
</tr>
</table>
<h1>Наречие</h1>
<p><form>adv</form></p>
</adjective>
<adverb>
<h1>Наречие</h1>
<p><form>s</form></p>
</adverb>
<prep>
<h1>Предлог</h1>
<p><form>s</form></p>
</prep>
<verb>
<h1>Глагол от несвършен вид</h1>
<h2>Изявително наклонение</h2>
<h3>Сегашно време</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Imperf (VPres Sg P1)</form></td>
<td><form>s Imperf (VPres Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Imperf (VPres Sg P2)</form></td>
<td><form>s Imperf (VPres Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Imperf (VPres Sg P3)</form></td>
<td><form>s Imperf (VPres Pl P3)</form></td>
</tr>
</table>
<h3>Минало свършено време (аорист)</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Imperf (VAorist Sg P1)</form></td>
<td><form>s Imperf (VAorist Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Imperf (VAorist Sg P2)</form></td>
<td><form>s Imperf (VAorist Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Imperf (VAorist Sg P3)</form></td>
<td><form>s Imperf (VAorist Pl P3)</form></td>
</tr>
</table>
<h3>Минало несвършено време (имперфект)</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Imperf (VImperfect Sg P1)</form></td>
<td><form>s Imperf (VImperfect Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Imperf (VImperfect Sg P2)</form></td>
<td><form>s Imperf (VImperfect Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Imperf (VImperfect Sg P3)</form></td>
<td><form>s Imperf (VImperfect Pl P3)</form></td>
</tr>
</table>
<h2>Повелително наклонение</h2>
<table class="forms-table" rules="all">
<tr>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<td><form>s Imperf (VImperative Sg)</form></td>
<td><form>s Imperf (VImperative Pl)</form></td>
</tr>
</table>
<h2>Причастия (отглаголни прилагателни)</h2>
<h3>Минало страдателно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPassive (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Imperf (VPassive (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Imperf (VPassive ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPassive (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPassive (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPassive (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPassive (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPassive (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPassive (APl Def))</form></td>
</tr>
</table>
<h3>Минало свършено деятелно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPerfect (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Imperf (VPerfect (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Imperf (VPerfect ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPerfect (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPerfect (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPerfect (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPerfect (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPerfect (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPerfect (APl Def))</form></td>
</tr>
</table>
<h3>Минало несвършено деятелно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPluPerfect (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Imperf (VPluPerfect (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Imperf (VPluPerfect ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPluPerfect (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPluPerfect (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPluPerfect (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPluPerfect (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPluPerfect (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPluPerfect (APl Def))</form></td>
</tr>
</table>
<h3>Сегашно деятелно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPresPart (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Imperf (VPresPart (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Imperf (VPresPart ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPresPart (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPresPart (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPresPart (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPresPart (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VPresPart (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VPresPart (APl Def))</form></td>
</tr>
</table>
<h2>Деепричастие (отглаголно наречие)</h2>
<p><form>s Imperf VGerund</form></p>
<h1>Глагол от свършен вид</h1>
<h2>Изявително наклонение</h2>
<h3>Сегашно време</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Perf (VPres Sg P1)</form></td>
<td><form>s Perf (VPres Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Perf (VPres Sg P2)</form></td>
<td><form>s Perf (VPres Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Perf (VPres Sg P3)</form></td>
<td><form>s Perf (VPres Pl P3)</form></td>
</tr>
</table>
<h3>Минало свършено време (аорист)</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Perf (VAorist Sg P1)</form></td>
<td><form>s Perf (VAorist Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Perf (VAorist Sg P2)</form></td>
<td><form>s Perf (VAorist Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Perf (VAorist Sg P3)</form></td>
<td><form>s Perf (VAorist Pl P3)</form></td>
</tr>
</table>
<h3>Минало несвършено време (имперфект)</h3>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<th>1 л.</th>
<td><form>s Perf (VImperfect Sg P1)</form></td>
<td><form>s Perf (VImperfect Pl P1)</form></td>
</tr>
<tr>
<th>2 л.</th>
<td><form>s Perf (VImperfect Sg P2)</form></td>
<td><form>s Perf (VImperfect Pl P2)</form></td>
</tr>
<tr>
<th>3 л.</th>
<td><form>s Perf (VImperfect Sg P3)</form></td>
<td><form>s Perf (VImperfect Pl P3)</form></td>
</tr>
</table>
<h2>Повелително наклонение</h2>
<table class="forms-table" rules="all">
<tr>
<th>ед.ч.</th>
<th>мн.ч.</th>
</tr>
<tr>
<td><form>s Perf (VImperative Sg)</form></td>
<td><form>s Perf (VImperative Pl)</form></td>
</tr>
</table>
<h2>Причастия (отглаголни прилагателни)</h2>
<h3>Минало свършено деятелно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPerfect (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Perf (VPerfect (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Perf (VPerfect ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPerfect (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPerfect (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPerfect (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPerfect (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Perf (VPerfect (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPerfect (APl Def))</form></td>
</tr>
</table>
<h3>Минало несвършено деятелно причастие</h3>
<table class="forms-table" rules="all">
<tr>
<th rowspan="7">ед.ч.</th>
<th rowspan="3">м.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPluPerfect (ASg Masc Indef))</form></td>
</tr>
<tr>
<th>непълен член</th>
<td><form>s Perf (VPluPerfect (ASg Masc Def))</form></td>
</tr>
<tr>
<th>пълен член</th>
<td><form>s Perf (VPluPerfect ASgMascDefNom)</form></td>
</tr>
<tr>
<th rowspan="2">ж.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPluPerfect (ASg Fem Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPluPerfect (ASg Fem Def))</form></td>
</tr>
<tr>
<th rowspan="2">ср.р.</th>
<th>нечленувано</th>
<td><form>s Perf (VPluPerfect (ASg Neut Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPluPerfect (ASg Neut Def))</form></td>
</tr>
<tr>
<th rowspan="2" colspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Perf (VPluPerfect (APl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Perf (VPluPerfect (APl Def))</form></td>
</tr>
</table>
<h1>Отглаголно съществително</h1>
<table class="forms-table" rules="all">
<tr>
<th rowspan="2">ед.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VNoun (NF Sg Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VNoun (NF Sg Def))</form></td>
</tr>
<tr>
<th rowspan="2">мн.ч.</th>
<th>нечленувано</th>
<td><form>s Imperf (VNoun (NF Pl Indef))</form></td>
</tr>
<tr>
<th>членувано</th>
<td><form>s Imperf (VNoun (NF Pl Def))</form></td>
</tr>
</table>
</verb>
</inflection_temlate>

View File

@@ -0,0 +1,84 @@
<inflection_temlate>
<noun>
<h1>Noun</h1>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>nom</th>
<th>gen</th>
</tr>
<tr>
<th>sg</th>
<td><form>s Sg Nom</form></td>
<td><form>s Sg Gen</form></td>
</tr>
<tr>
<th>pl</th>
<td><form>s Pl Nom</form></td>
<td><form>s Pl Gen</form></td>
</tr>
</table>
</noun>
<adjective>
<h1>Adjective</h1>
<table class="forms-table" rules="all">
<tr>
<th></th>
<th>nom</th>
<th>gen</th>
</tr>
<tr>
<th>posit</th>
<td><form>s (AAdj Posit Nom)</form></td>
<td><form>s (AAdj Posit Gen)</form></td>
</tr>
<tr>
<th>compar</th>
<td><form>s (AAdj Compar Nom)</form></td>
<td><form>s (AAdj Compar Gen)</form></td>
</tr>
<tr>
<th>compar</th>
<td><form>s (AAdj Superl Nom)</form></td>
<td><form>s (AAdj Superl Gen)</form></td>
</tr>
</table>
<h1>Adverb</h1>
<p><form>s AAdv</form></p>
</adjective>
<adverb>
<h1>Adverb</h1>
<p><form>s</form></p>
</adverb>
<prep>
<h1>Preposition</h1>
<p><form>s</form></p>
</prep>
<verb>
<h1>Verb</h1>
<table class="forms-table" rules="all">
<tr>
<th>infitive</th>
<td><form>s VInf</form></td>
</tr>
<tr>
<th>present</th>
<td><form>s VPres</form></td>
</tr>
<tr>
<th>past</th>
<td><form>s VPast</form></td>
</tr>
<tr>
<th>past part.</th>
<td><form>s VPPart</form></td>
</tr>
<tr>
<th>present part.</th>
<td><form>s VPresPart</form></td>
</tr>
</table>
</verb>
</inflection_temlate>