[Lexicog] Reverse sort in Shoebox

Neal_Brinneman at SIL.ORG Neal_Brinneman at SIL.ORG
Mon Mar 1 12:59:08 UTC 2004


Dear Wayne,
You can sort from the end of a word by checking the box in the
Database/sort pane. If you want to make the word
"help" look like "pleh" then you need a CC table that would arrange the
characters. I would look something like the following:
group(main)
'\lx ' > dup store(revword) use(getlx)
group(getlx)
'' > store(ch) fwd c this picks up next character and puts it first in
store
      outs(revword) c this adds all previous characters to end of character
in ch storage area
      store(revword) outs(ch) c now put all previous characters which are
in reverse order back into storage area revword
nl > out(revword) store(revword) endstore nl use(main) c at end of word, go
back to main and wait for next lexeme
Neal



                      "Wayne Leman"
                      <wayne_leman at sil.        To:       <lexicographylist at yahoogroups.com>
                      org>                     cc:
                                               Subject:  [Lexicog]  Reverse sort in Shoebox
                      02/29/2004 07:20
                      PM
                      Please respond to
                      lexicographylist






I should clarify: I already know how to do a reverse sort with a Shoebox
filter. At the moment, my lexical records are sorted in reverse order. What
I
would like is to be able to *view* the entire list and print it out so that
the
words on the printout are in reverse order, that is the ends of the words
are flipped around with their beginnings.

Wayne Leman

> How can I do a reverse sort on lexical entries in Shoebox? I think I have
> heard that reverse sorts are possible with Shoebox, but I cannot find any
> reference to them in the Help files.
>
> What I need is to be able to alphabetize my lists of lexemes from the end
of
> words to their beginnings, so that words with the same "suffixes" will
group
> together.
>
> Thanks,
> Wayne Leman
>
>
>




Yahoo! Groups Links











Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lexicographylist/

<*> To unsubscribe from this group, send an email to:
     lexicographylist-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/



More information about the Lexicography mailing list