sil-dictionary-lexical-services / SubentryPromotion

A set of programs to promote subentries to lexical entries
GNU General Public License v3.0
0 stars 1 forks source link

se2lx applies an incorrect homograph marker to its main entry pointer #16

Open WesPeacock opened 3 years ago

WesPeacock commented 3 years ago

When a subentry has a homograph marker and the main entry doesn't, se2lx.pl applies it to main entry when it builds the \mn entry for the subentry. Here is an example of a sub-subentry's homograph number being assigned to the subentry it's under. The subentry & sub-subentry before se2lx.pl:

\sec bear market \ps n \de a period when stock prices are dropping \xv The great bear market starting in 1929 scared a whole generation of investors. \sesed bear \hm 4 \ps vt \va beared \us finance, jargon \de to endeavour to depress the price of, or prices in \xv to bear a railroad stock

and after:

\lx bear market \mn bear1 3 \spec COMPOUND \ps n \de a period when stock prices are dropping \xv The great bear market starting in 1929 scared a whole generation of investors.

\lx bear \hm 4 \mn bear market4 \spec DERIVATIVE \ps vt \va beared \us finance, jargon \de to endeavour to depress the price of, or prices in \xv to bear a railroad stock