Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5829
    kornaros
    Member

    Dear friends!

    Do you know if it possible to create a unicode SortString plug-in using one or more unicode utf-8 texts(for example ancient polytonic Greek) using some user-defined letter ordering? The result must be a new text with one unicode word per line with no repetitions! I have tried SortStringA but without result for unicode Utf-8 encodings.

    Thanks in advance!

    #5847
    Yutaka Emura
    Keymaster

    kornaros wrote:
    Dear friends!

    Do you know if it possible to create a unicode SortString plug-in using one or more unicode utf-8 texts(for example ancient polytonic Greek) using some user-defined letter ordering? The result must be a new text with one unicode word per line with no repetitions! I have tried SortStringA but without result for unicode Utf-8 encodings.

    Thanks in advance!

    SortStringA is Unicode plug-in, so it should work. However, if you want to create a new text and want to remove repetitions, you might need to write a macro for that purpose.

    #5851
    kornaros
    Member

    Dear Yutaka,

    thank you for the replay!

    SortStringA does not work as supposed. For example, if you have two word in polytonic Greek( in different lines): καθὼς and ἐν then there will be no result! Of course ἐν> καθὼς! Also the words must be in different lines because otherwise one will take no output. Am I wrong? Could you please design SortStringA better so that the user can choose or make some changes of the alphabetical order of his locale? I think such plug-in will be very useful for people working with OCR programs and need to make a user-defined dictionary for the Ancient Greek or Latin for better recognition!

    Thank you in Advance!

    #5854
    CaptainFlint
    Participant

    I tried your example (καθὼς and ἐν), and SortString sorted them correctly (first line is ἐν, second is καθὼς if I sort from A to Z, and vice versa if from Z to A).

    #5855
    Yutaka Emura
    Keymaster

    kornaros wrote:
    Dear Yutaka,

    thank you for the replay!

    SortStringA does not work as supposed. For example, if you have two word in polytonic Greek( in different lines): καθὼς and ἐν then there will be no result! Of course ἐν> καθὼς! Also the words must be in different lines because otherwise one will take no output. Am I wrong? Could you please design SortStringA better so that the user can choose or make some changes of the alphabetical order of his locale? I think such plug-in will be very useful for people working with OCR programs and need to make a user-defined dictionary for the Ancient Greek or Latin for better recognition!

    Thank you in Advance!

    What version of EmEditor and SortString plug-in are you using?

    Did you check the plug-in properties of the SortString plug-in? From there you can select the locale, and other options. What locale are you using for the plug-in?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.