[racket] Porter stemming algorithm
If you're looking at the suggested solution, the easiest way to get the
code is to follow the links to the codepad page and copy the code from
there.
If you're looking at the program in the comments, you may want to view
source and scroll down to the program. You'll have to delete the html tags
and do a search-and-replace on every ampersand-coded html character that
you find, but if you search-and-replace globally on each sch character,
there aren't that many.
Let me know how you get on.
On Wed, Feb 8, 2012 at 11:51 AM, John Clements <clements at brinckerhoff.org>wrote:
>
> On Feb 4, 2012, at 1:38 PM, John Sampson wrote:
>
> > Hello -
> >
> > I have found code for a Scheme version of the Porter stemming algorithm.
> >
> > Supposedly it has been tested on PLT Scheme but when loaded into
> > DrRacket there are many unreadable characters and syntax errors.
> >
> > Is there an implemention of the stemmer that really works with Racket?
> >
> > The Porter home page has implementations in many languages but
> > Scheme is not one of them.
>
> The code appearing on that page seems to have some severe quoting damage.
> I took a look at fixing it, and successfully replaced all of the funny text
> quotes with regular ASCII ones, but I gave up when I noticed that
> apparently less-than signs were interpreted as HTML tag markers--it'll be
> easier just to ask for a non-damaged copy to be attached to the page
> somehow.
>
> John Clements
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120208/4026d414/attachment-0001.html>