[librecat-dev] Catmandu holdings parser

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Thu Apr 14 10:04:58 CEST 2016


For what it’s worth and very, very much unsupported, here is the holdings parser of UGent that tries to find year ranges in serial holdings:

https://gist.github.com/phochste/feb5b2933a556b860e2c1562fcef118d

It can parse something like this:

852			x BW b LA55 c ALLW j ALLW.P.016019; a #145(1940) - 483(2012)7391; 487(2012)7408; 502(2013)7472 d BIB.P.016019 zONVOLLEDIG
852			x UB b CA20 c DEPB j DEPB.R05.P13-28 a #24(1881) - 25(1881/1882) ; 30(1884) - 33(1885/86) ; 36(1887)931 - 38(1888)983 ; 48(1893) ; 52(1895) ; 54(1896) ; 68(1903) ; 75(1906/1907) ; 87(1911)2187-2188 ; 124(1929)3116-3128 ; 128(1931)3236-3243 ; 129(1932) - 414(2001) d BIB.P.004082 z ONTBREEKT : 37(1888)954 ; 38(1888)981 ; 124(1929)3117,3119,3127 ; 147(1941)3718-3719 ; 157(1946)3975-3979,3982-3990,3992-3994 ; 179(1957)4549-4561
852			x UB b CA20 c DEPC j DEPC.L27.TS a #368(1994)6470 ; 395(1998)6700 - 401(1999)6748 ; 402(1999)6764 ; 405(2000)6784z ONTBREEKT : 397(1999)6713 ; 398(1999)6730
852			x FW b FW03 c F57 j F57 a #283(1980) - 420(2002)
852			x GE b GE01 c G02F j G02F a 331(1988) -
852			x GE b GE03 c G05 j G05 a #331(1988) - 348(1990)
852			x GE b GE05 c G15 j G15 a 330(1987)6144 -
852			x GE b GE06 c G47 j G47 a 283(1980) - z NOT AVAILABLE
852			x EA b TW05 c T57 j T57 a #338(1989)6217 - 344(1990)6267
852			x EA b TW04 c T71 j T71 a #189(1961) - (1973)
852			x WE b WE13 c WE13 j WE13.P0344 a #209(1966) - 226(1970) z IN VERHUIS
852			x WE b WE55 c WEBIB j WEBIB.E.31.01.01 a #157(1946) - 459(2009)7244 d BIB.P.010541 z IN VERHUIS

into a year range: 

Print available from 1881; 1884-1885; 1887-1888; 1893; 1895-1896; 1903; 1906; 1911; 1929; 1931-2016 (current)

Patrick Hochstenbach - digital architect
University Library Ghent
Sint-Hubertusstraat 8 - 9000 Ghent - Belgium
patrick.hochstenbach at ugent.be
+32 (0)9 264 7980




More information about the librecat-dev mailing list