alpheios-project / morph-client

Morphology Client Library Interface
ISC License
0 stars 1 forks source link

Whitakers: prefer dict conj over infl conj #27

Closed balmas closed 5 years ago

balmas commented 5 years ago

@monzug points out that for e.g. auditum, Whitaker's reports the verb as both 4th and 3rd conjugation . The dictionary entry says "4th" but the inflection says "3rd, variant 4th"


        <entry>
          <infl>
            <term xml:lang="lat">
              <stem>audit</stem>
              <suff>um</suff>
            </term>
            <pofs>verb participle</pofs>
            <conj>3rd</conj>
            <var>4th</var>
            <case order="7">nominative</case>
            <num>singular</num>
            <gend>neuter</gend>
            <tense>perfect</tense>
            <voice>passive</voice>
            <mood>participle</mood>
          </infl>
          <infl>
            <term xml:lang="lat">
              <stem>audit</stem>
              <suff>um</suff>
            </term>
            <pofs>verb participle</pofs>
            <conj>3rd</conj>
            <var>4th</var>
            <case order="1">vocative</case>
            <num>singular</num>
            <gend>neuter</gend>
            <tense>perfect</tense>
            <voice>passive</voice>
            <mood>participle</mood>
          </infl>
          <infl>
            <term xml:lang="lat">
              <stem>audit</stem>
              <suff>um</suff>
            </term>
            <pofs>verb participle</pofs>
            <conj>3rd</conj>
            <var>4th</var>
            <case order="4">accusative</case>
            <num>singular</num>
            <gend>masculine</gend>
            <tense>perfect</tense>
            <voice>passive</voice>
            <mood>participle</mood>
          </infl>
          <infl>
            <term xml:lang="lat">
              <stem>audit</stem>
              <suff>um</suff>
            </term>
            <pofs>verb participle</pofs>
            <conj>3rd</conj>
            <var>4th</var>
            <case order="4">accusative</case>
            <num>singular</num>
            <gend>neuter</gend>
            <tense>perfect</tense>
            <voice>passive</voice>
            <mood>participle</mood>
          </infl>
          <infl>
            <term xml:lang="lat">
              <stem>audit</stem>
              <suff>um</suff>
            </term>
            <pofs>supine</pofs>
            <conj>3rd</conj>
            <var>4th</var>
            <case order="4">accusative</case>
            <num>singular</num>
            <gend>neuter</gend>
          </infl>
          <dict>
            <hdwd xml:lang="lat">audio, audire, audivi, auditus</hdwd>
            <pofs order="3">verb</pofs>
            <conj>4th</conj>
            <freq order="6">very frequent</freq>
            <src>Ox.Lat.Dict.</src>
          </dict>
          <mean>hear, listen, accept, agree with; obey; harken, pay attention; be able to hear;</mean>
        </entry>

This is causing a problem for matching into the inflection tables, because we are using the inflection conjugation (3rd) for the matching rather than the dictionary entry conjugation (4th).

Looking at the Alpheios V1 code, it seems we only ever used the conjugation from the inflection data for a verb if it was missing from the dict entry.

This would be a simple change to make to the morph-client so perhaps we should do the same?

@monzug what do you think?

monzug commented 5 years ago

yes!!!

balmas commented 5 years ago

ok, will do this then.

balmas commented 5 years ago

can be tested in https://github.com/alpheios-project/webextension/tree/qa-2.0.3-6

monzug commented 5 years ago

tested for few verbs of 4th conj (vinvio, reperio, sentio) and 3rd conj. all good