Comments on: Automated Metadata Formatting for Cornell’s Print-on-Demand Books http://journal.code4lib.org/articles/2138 Wed, 30 Dec 2015 15:45:08 +0000 hourly 1 http://wordpress.org/?v=4.2.4 By: Dianne Dietrich http://journal.code4lib.org/articles/2138/comment-page-1#comment-2693 Mon, 23 Nov 2009 19:51:21 +0000 http://journal.code4lib.org/?p=2138#comment-2693 An earlier version of the script handled the duplicate-surname situation using string matching. When we reviewed the results, there were cases where that code inadvertently garbled certain author strings, which is why I decided to try using a regex. It worked — that is, it didn’t garble strings the way my first attempt did — and so I kept the code as it was. That said, I’m sure it’s possible to accomplish the same thing using only Python string operations.

]]>
By: Dorothea Salo http://journal.code4lib.org/articles/2138/comment-page-1#comment-2692 Mon, 23 Nov 2009 19:05:42 +0000 http://journal.code4lib.org/?p=2138#comment-2692 Why do regex matching instead of string matching for the duplicate-surname situation?

]]>
http://journal.code4lib.org/articles/2138/feed
journal.code4lib.org
crawl=CC-MAIN-2016-07
3137
application/http; msgtype=response
sha1:JXOPOGJ2WSM6E6KTJGWY3L6ELAESFRRH
<urn:uuid:b075e8e9-9bfa-462c-87b9-a8ee25d6c1ae>
2016-02-06T22:57:39Z
152.19.134.41
sha1:AYVAJ4N7YIORJ25XJMNXATWYZI5UY323
<urn:uuid:16747dd6-1a37-42e7-b578-c92c1be6f447>
http://journal.code4lib.org/articles/2138/feed
response
<urn:uuid:ddc9c016-0d17-41d4-a28a-dc56f6e1e76d>
robots: classic
hostname: ip-10-236-182-209.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-07
operator: CommonCrawl Admin
description: Wide crawl of the web for February 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf