cceh / sanskrit-web

An HTML frontend to Sanskrit dictionaries modelled in TEI.
ISC License
1 stars 2 forks source link

Show ISO transliteration inside grammatical information #57

Open fxru opened 9 years ago

fxru commented 9 years ago

The part of speech information in many entries in monier (e.g. agnivarRa) contains

<gramGrp>
    <gram ana="lex">mf<seg ana="p">(<m xml:lang="san-Latn-x-SLP1" type="suffix">A</m>)</seg>n.</gram>
</gramGrp>

which is displayed as

mf(A)n.

but should be

mf(ā)n.

(indicating that the female form inflects according to the long-a (ā) declension.)

also (as in monier agnidIpana)

<gramGrp>
    <gram ana="lex">mf<seg ana="p">(<m xml:lang="san-Latn-x-SLP1" type="suffix">I</m>)</seg>n.</gram>
</gramGrp>

is displayed as

mf(I)n.

should be

mf(ī)n.