Dear Perl Monks
I have about 10,000 untagged bibliographic citations in a series of Word documents, with the citations
falling into roughly three types (monograph, anthology, article). Here are some examples:
Binkley, Marian. Set Adrift: Stories of Castaways and Other Survivors. Toronto: University of Toronto Press, 2002.
Brooke, Frances. Edited by Laura Moss. The History of The Bonzo Dog Band. Ottawa: Tecumseh Press, 2001.
Keahey, Deborah and Deborah Schnitzer, eds. Crocodile Cooking : 14 Recipes for Baked Crocodile. Calgary: University of Calgary Press, 2003.
Korinek, Valerie J. 'The longest journey is a thousand miles': Doug Wilson and the Politicization of a Province, 1975-83. Canadian Historical Review 84, 4 (December 2003): 517-50.
Mckay, Sherry. 'Urban Housekeeping' and Keeping the Modern House. BC Studies 140 (Winter 2003/04): 11-40.
Kealey, Linda. North America, 1750-1914. In A Companion to Native History, eds. Teresa A. Meade and Merry E. Wiesner-Hanks. Blackwell Publishing, 2003.
I have been trying to adapt the perl code from the 2004 Perl Monks thread "parsing a bibliography", but I'm confusing myself and
thought I should seek wisdom.
I am wondering if this problem is best approached as a series of filtering steps, to create one
output file for each main citation type, or if there is some other way to approach it. I've done some
perl programming, but not a lot. The untagged Word entries are all in alphabetical order, and are not sorted
by citation type. If I can get a largish percentage of these citations into a BibTex state requiring cleanup,
I will be both lucky and pleased. Any direction or assistance would be much appreciated.
Here are my example bibliography entries, and the manually created BibTex output that would seem to be suggested by
the citations:
Monograph
---------------
Binkley, Marian. Set Adrift: Stories of Castaways and Other Survivors. Toronto: University of Toronto Press, 2002.
@book{binkley2002,
author={Binkley, Marian},
title={Set Adrift: Stories of Castaways and Other Survivors},
address={Toronto},
publisher={University of Toronto Press},
year={2002},
}
Monograph - with Editor
-----------------------------------
Brooke, Frances. Edited by Laura Moss. The History of The Bonzo Dog Band. Ottawa: Tecumseh Press, 2001.
@book{brooke2001,
author={Brooke, Frances},
title={The History of The Bonzo Dog Band},
editor={Laura Moss},
address={Ottawa},
publisher={Tecumseh Press},
year={2001},
}
Anthology
--------------
Keahey, Deborah and Deborah Schnitzer, eds. Crocodile Cooking : 14 Recipes for Baked Crocodile. Calgary: University of Calgary Press, 2003.
@book{keahey2003,
editor={Keahey, Deborah and Deborah Schnitzer},
title={Crocodile Cooking : 14 Recipes for Baked Crocodile},
address={Calgary},
publisher={University of Calgary Press},
year={2003},
}
Article
---------
Korinek, Valerie J. 'The longest journey is a thousand miles': Doug Wilson and the Politicization of a Province, 1975-83. Canadian Historical Review 84, 4 (December 2003): 517-50.
@article{korinek2003,
author={Korinek, Valerie J.},
title={'The longest journey is a thousand miles': Doug Wilson and the Politicization of a Province, 1975-83.},
journal={Canadian Historical Review},
volume={84},
number={4},
month={December},
year={2003},
pages={517-50},
}
Article - issue and date, but no volume number
---------------------------------------------------------------------
Mckay, Sherry. 'Urban Housekeeping' and Keeping the Modern House. BC Studies 140 (Winter 2003/04): 11-40.
@article{mckayk2003,
author={Mckay, Sherry},
title={'Urban Housekeeping' and Keeping the Modern House},
journal={BC Studies},
number={140},
note={Winter 2003/04},
year={2003},
pages={11-40},
}
Article in a Book (Anthology)
------------------------------------------
Kealey, Linda. North America, 1750-1914. In A Companion to Native History, eds. Teresa A. Meade and Merry E. Wiesner-Hanks. Blackwell Publishing, 2003.
@book{kealey2003,
author={Kealey, Linda},
editor={Teresa A. Meade and Merry E. Wiesner-Hanks},
title={A Companion to Native History},
address={Toronto},
publisher={Blackwell Publishing},
year={2003},
}
Does it seem that a giant list of citations falling mostly into these citation types would best be processed multiple times to filter out each type?
Is my meagre, yet unsuccessful attempt to adapt the 2004 monks example code a pursuit worthy of monkish assistance?