• Levenshtein SVG
  • Levenshtein SVG

    Addsamuels > 05-02-2025, 12:38 AM

    After many failed attempts, I've got a SVG of the Levenshtein distances of words in the MS 408 (although the code was crafted by AI, so it could be completely inaccurate)

    Enjoy. 
    You are not allowed to view links. Register or Login to view.
  • RE: Levenshtein SVG

    oshfdk > 05-02-2025, 04:09 AM

    I don't know what this is supposed to be. The topmost word in this image appears to be "okalchdaralcharaiin". Is this expected? I wasn't sure this word existed in the MS, but after I removed the spaces, I've found it, yay!

    Code:
    oshfdk> cat zl.txt | perl -pe "s/[.,]//g" | perl -pe "s/\[(.*?):.*?\]/\1/g" | grep "okalchdaralcharaiin"

    <f108r24+P0>    <%>folaiin{c'hkh}yqokallkedyqotedyqokedqotedyokalchdaralcharaiin


    The original line is:
    <f108r.24,+P0>    <%>folaiin.{c'hkh}y.qokal.lkedy.qotedy.qoked.qotedy.okal,chdar,al,char,aiin

    So, it looks like comma-spaces have been removed in preprocessing.

    What are the axes of this image?