Menu

#2 lv_LV.dic has extra unneeded slashes for some words

v1.0_(example)
open
nobody
None
5
2021-08-08
2021-07-20
No

The file lv_LV.dic has some words that have slash ( / ) at the end of the word and there are no flags after the slash. For example:

Elijam/ po:lietv1i
Elija/ po:lietv1i
Elijā/ po:lietv1i
Elijas/ po:lietv1i
Eliju/ po:lietv1i

Those slashes need to be removed, for example:

Elijam po:lietv1i
Elija po:lietv1i
Elijā po:lietv1i
Elijas po:lietv1i
Eliju po:lietv1i

Here is full list of the lines which we can get with grep:

$ grep -Pn '/( |$)' lv_LV.dic 

15161:Elijam/ po:lietv1i
15162:Elija/ po:lietv1i
15163:Elijā/ po:lietv1i
15164:Elijas/ po:lietv1i
15165:Eliju/ po:lietv1i
24448:Jankam/ po:lietv1i
24449:Jankām/ po:lietv1i
24450:Janka/ po:lietv1i
24451:Jankā/ po:lietv1i
24452:Jankas/ po:lietv1i
24453:Jankās/ po:lietv1i
24454:Janku/ po:lietv1i
24774:Jehovam/ po:lietv1i
24775:Jehova/ po:lietv1i
24776:Jehovā/ po:lietv1i
24777:Jehovas/ po:lietv1i
24778:Jehovu/ po:lietv1i
24824:Jeremijam/ po:lietv1i
24825:Jeremija/ po:lietv1i
24826:Jeremijas/ po:lietv1i
24827:Jeremiju/ po:lietvi1
24836:Jesajam/ po:lietv1f
24837:Jesaja/ po:lietv1i
24838:Jesajas/ po:lietv1f
24839:Jesaju/ po:lietv1f
25449:Kanārijas/ po:lietv4i
25452:Kanāriju/ po:lietv4i
31653:Maldīvas/ po:lietv4i
31654:Maldīvu/ po:lietv4i
34438:Nagīni/

Related

Bugs: #2

Discussion

  • Janis Eisaks

    Janis Eisaks - 2021-08-06

    Hmm... indeed. Which version are you using?

     
    • Dimitrij Mijoski

      I'm using the latest, v1.4.0.

       
      • Janis Eisaks

        Janis Eisaks - 2021-08-06

        will be corrected in next release.

        How did you locate it?

        Citēts Dimitrij Mijoski dimztimz@users.sourceforge.net
        Fri, 06 Aug 2021 20:21:15 -0000:

        I'm using the latest, v1.4.0.


        ** [bugs:#2] lv_LV.dic has extra unneeded slashes for some words**

        Status: open
        Group: v1.0_(example)
        Created: Tue Jul 20, 2021 10:38 PM UTC by Dimitrij Mijoski
        Last Updated: Fri Aug 06, 2021 07:50 PM UTC
        Owner: nobody

        The file lv_LV.dic has some words that have slash ( / ) at the end
        of the word and there are no flags after the slash. For example:

        ~~~
        Elijam/ po:lietv1i
        Elija/ po:lietv1i
        Elijā/ po:lietv1i
        Elijas/ po:lietv1i
        Eliju/ po:lietv1i
        ~~~

        Those slashes need to be removed, for example:

        ~~~
        Elijam po:lietv1i
        Elija po:lietv1i
        Elijā po:lietv1i
        Elijas po:lietv1i
        Eliju po:lietv1i
        ~~~

        Here is full list of the lines which we can get with grep:

        ~~~
        $ grep -Pn '/( |$)' lv_LV.dic

        15161:Elijam/ po:lietv1i
        15162:Elija/ po:lietv1i
        15163:Elijā/ po:lietv1i
        15164:Elijas/ po:lietv1i
        15165:Eliju/ po:lietv1i
        24448:Jankam/ po:lietv1i
        24449:Jankām/ po:lietv1i
        24450:Janka/ po:lietv1i
        24451:Jankā/ po:lietv1i
        24452:Jankas/ po:lietv1i
        24453:Jankās/ po:lietv1i
        24454:Janku/ po:lietv1i
        24774:Jehovam/ po:lietv1i
        24775:Jehova/ po:lietv1i
        24776:Jehovā/ po:lietv1i
        24777:Jehovas/ po:lietv1i
        24778:Jehovu/ po:lietv1i
        24824:Jeremijam/ po:lietv1i
        24825:Jeremija/ po:lietv1i
        24826:Jeremijas/ po:lietv1i
        24827:Jeremiju/ po:lietvi1
        24836:Jesajam/ po:lietv1f
        24837:Jesaja/ po:lietv1i
        24838:Jesajas/ po:lietv1f
        24839:Jesaju/ po:lietv1f
        25449:Kanārijas/ po:lietv4i
        25452:Kanāriju/ po:lietv4i
        31653:Maldīvas/ po:lietv4i
        31654:Maldīvu/ po:lietv4i
        34438:Nagīni/
        ~~~


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/openoffice-lv/bugs/2/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        http://dict.dv.lv
        http://tehvi.dv.lv

         

        Related

        Bugs: #2

        • Dimitrij Mijoski

          I discovered the bug by testing the dictionary with Nuspell.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.