jbovlaste
jbovlaste copied to clipboard
Error after saving a gloss and a keyword
- Add a new definition of {badna} in Test Language.
- In editing mode add a new glossword and a new keyword (they must differ)
- Press Check, then put checkmarks and then submit.
You have an error.
It looks like due to this problem, some keywords (e.g. badna1 for en-simple definition) lack the implicit vote that would have been recorded had it been possible to enter the glossword and keyword1 simultaneously. This may require a backfill.
The problem may also be more involved. The data model (esp. natlangwordbestguesses) presupposes that a given natural language word may only occur in one position in a definition. In the not uncommon case of keyword0 ("glossword") == keyword1, only one of these "places" is considered "best" -- the one with the most votes.
A similar issue: http://jbovlaste.lojban.org/dict/editdef.html?definition=299
The glossword is not exported in xml:
<valsi word="djica" type="gismu">
<rafsi>dji</rafsi>
<user>
<username>officialdata</username>
<realname>Official Data</realname>
</user>
<definition>$x_{1}$ desires/wants/wishes $x_{2}$ (event/state) for purpose $x_{3}$.</definition>
<definitionid>299</definitionid>
<notes>If desire is for an object, this is sumti-raising; use tu'a in $x_2$ (or use lujvo = {po'edji}). See also {taske}, {xagji}, {mukti}, {nitcu}, {nelci}, {pacna}, {prami}, {rigni}, {trina}, {xebni}, {xlura}.</notes>
</valsi>
In the case of "desire" (English), the preferred status has been assigned to the definition of {au}:
http://jbovlaste.lojban.org/natlang/en/desire
It seems like the "best guesses" model deserves a broad reconsideration. That might take enough work that it should be saved for jvs2. I'll try to find a shorter term solution.
The point is that I want a glossword for {djica} no matter to what else it has been assigned.
2014-08-14 20:02 GMT+04:00 Riley Martinez-Lynch [email protected]:
In the case of "desire" (English), the preferred status has been assigned to the definition of {au}:
http://jbovlaste.lojban.org/natlang/en/desire
It seems like the "best guesses" model deserves a broad reconsideration. That might take enough work that it should be saved for jvs2. I'll try to find a shorter term solution.
— Reply to this email directly or view it on GitHub https://github.com/lojban/jbovlaste/issues/77#issuecomment-52203454.
As noted on IRC, a workaround (that doesn't really solve the problem) is to add a "sense" to one of the glosswords. Then there won't be a duplicate gloss. This problem also shows up in the search (search for "desire" en->jbo only comes up with {au}, not {djica}).
gleki: I take your point. I'm just explaining (for myself, or for whoever implements a solution) why the current data model doesn't support that.