Skip to content

Instantly share code, notes, and snippets.

@epoz
Created December 5, 2013 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epoz/7803724 to your computer and use it in GitHub Desktop.
Save epoz/7803724 to your computer and use it in GitHub Desktop.
# Working out number of quires from a STCN collation
examples = [
{coll:'[*]2 2*-4*4 A-3Q4 2*2 `︠LO`3Q2 3R-5S4 5T2 5V-5Y4, 2A-G4 2H2 2I4 (3Q4 blank; lacks 3*4, blank?)',
url:'http://picarta.pica.nl/xslt/DB=3.11/XMLPRS=Y/PPN?PPN=318093766',
req:121,
# A-Z 23, A-Z 23, A-Q 16, Q 1, R-Z 7, A-Z 23, A-S 18, T 1, V-Y 3, A-G 7, H 1, I 1,
},
{coll:'A-V8 W8 X-Z8', # if W found, then noted 'loose' like A-V8 W8 X-Z8
req:24}
]
drukkersalfabet = 'A B C D E F G H I K L M N O P Q R S T V X Y Z'
@epoz
Copy link
Author

epoz commented Mar 4, 2014

Have a look at http://lisfs2008.irisa.fr/ocsigen/squall/examples for some querying goodness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment