Thanks for the suggestions everyone.  I have a pretty good spam corpus,
thanks to Charles work and the history of reversions by Jessamyn and
Anand.  Jessamyn had some good suggestions for finding ham (lists) and I've
got some other ideas in mind, but I haven't gotten around to implementing
them due to other higher priority stuff requiring my attention.  I actually
don't want to use many, if any, of the records imported from MARC on the
assumption that professionally cataloged records will look quite
different.  What I really want is "amateur" user-created, non-spam
entries.  My biggest worry at this point is balancing things so that the
system doesn't just decide anyone cataloging in Korean is a spammer, just
by the fact that they're using Korean characters.

Charles - thanks for publishing your code (and creating the tool in the
first place).  When I look at http://ol-spam-finder.herokuapp.com/2015-09/10
I notice that:
- almost everything is spam :-( Do you tally how many of the 675 new books
were spam?  Looks like 600+ from glancing at
https://openlibrary.org/recentchanges/2015/09/10/add-book#humans
- deleted users get categorized as "good" users in the listing
- https://openlibrary.org/people/zamiulcse is an unidentified spammer
(these less obvious ones are the kinds of things I'm hoping a machine
learning solution will catch)

There are also a couple of uncaught Korean spammers on
http://ol-spam-finder.herokuapp.com/2015-09/22
The phone number regex didn't catch a few things like:
 - this abortion drug peddler https://openlibrary.org/people/fatin23
 - these Korean ?phone numbers? https://openlibrary.org/people/hdl0696
 - this escort service https://openlibrary.org/people/indianescorts
I'm not sure how we'd catch stuff like this:
https://openlibrary.org/works/OL17198564W/Fai-da-te_con_fiori (basically
just a display ad in book cover form with no URL, phone number or other
identifying characteristic)

Looking at months like Oct 2014, it's clear that there's still some
historical cleanup to do: http://ol-spam-finder.herokuapp.com/2014-10

I'll try to eek out some time to do some more experimentation soon and let
folks know what I find.

Thanks again for the feedback.

Tom

On Thu, Sep 24, 2015 at 1:22 AM, Charles Horn <[email protected]>
wrote:

>
>
> On 9 September 2015 at 20:58, Charles Horn <[email protected]> wrote:
>
>> .....
>>
>> The source code isn't on github yet, but I have been meaning to put it
>> there. I am more than happy to collaborate or share the approach I have
>> used. It's very rough, but has been surprisingly effective at catching most
>> spam.
>>
>>
>  Recently I added some more matchers for the latest round of spam that was
> slipping through, and re-ran the checks for recent months. I see the
> current month has been pretty much cleared now
> <http://ol-spam-finder.herokuapp.com/2015-09> thanks to Jessamyn's
> removals.
>
>  The code is now public on github:
> https://github.com/hornc/ol-spam-finder
> <https://github.com/hornc/ol-spam-finder>
>
> There is one main script that does the checking
> <https://github.com/hornc/ol-spam-finder/blob/master/lib/spam_finder.rb>,
> the rest is just a light UI to display the day in calendar form and
> generate links to the OL admin interface to delete the spam account, which
> in turn should delete all the associated works.
>
> Again I welcome any comments or contributions to make it more helpful or
> smarter!
>
> Regards,
> Charles.
>
> _______________________________________________
> Ol-tech mailing list
> [email protected]
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> Archives: http://www.mail-archive.com/[email protected]/
> To unsubscribe from this mailing list, send email to
> [email protected]
>
_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/[email protected]/
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to