This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once(realpath(__DIR__ . '/vendor/autoload.php')); | |
| $sm = new \Zend\ServiceManager\ServiceManager(new \Zend\Mvc\Service\ServiceManagerConfig(array())); | |
| $sm->setService( | |
| 'ApplicationConfig', | |
| array( | |
| 'modules' => array('VuFindSearch'), | |
| 'module_listener_options' => array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defface php-annotations-annotation-face '((t . (:inherit 'font-lock-constant-face))) | |
| "Face used to highlight annotations.") | |
| (defconst php-annotations-re "\\(\\s-\\|{\\)\\(@[[:alpha:]]+\\)") | |
| (defmacro php-annotations-inside-comment-p (pos) | |
| "Return non-nil if POS is inside a comment." | |
| `(eq (get-char-property ,pos 'face) 'font-lock-comment-face)) | |
| (defun php-annotations-font-lock-find-annotation (limit) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defadvice ace-jump-char-category (around adv-ace-jump-support-umlauts activate) | |
| (unless (= (char-syntax (ad-get-arg 0)) ?w) | |
| ad-do-it) | |
| (setq ad-return-value 'alpha)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; | |
| ;; Split the German National Library's authority file in single entities | |
| ;; | |
| ;; The German National Library (DNB) published their authority file | |
| ;; under a CC0 license as one huge Turtle file. In order to work with | |
| ;; the data e.g. as training material for a machine learning based NER | |
| ;; of person names we need to split the file in the separate entities | |
| ;; (subjects). | |
| ;; | |
| ;; Number of single records: 9,493,986 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ((return t) | |
| (body ((call (depth 1) | |
| (time "0.0008") | |
| (memory "772760") | |
| (function "main") | |
| (parameter-list "") | |
| (location "/var/www/workshop/wdb_copy/wdb.php:0") | |
| (return "1") | |
| (body ((call (depth 2) | |
| (time "0.0008") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ============================================================================ | |
| HORDE | |
| Array | |
| ( | |
| [AllFields] => Array | |
| ( | |
| [Variant_1] => Array | |
| ( | |
| [series] => Array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <xsl:transform version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
| xmlns:pica="info:srw/schema/5/picaXML-v1.0"> | |
| <xsl:output method="xml" indent="no"/> | |
| <xsl:strip-space elements="*"/> | |
| <xsl:template match="@*|node()"> | |
| <xsl:copy> | |
| <xsl:apply-templates select="@*|node()"/> | |
| </xsl:copy> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This file is part of HABfind. | |
| * | |
| * HABfind is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ANTLR4 Grammar for PICA+ records */ | |
| grammar PicaRecord ; | |
| file : record ('\n' record)* ; | |
| record : field+ ; | |
| field : tag ' ' subfield+ '\u001e'; | |
| tag : FIELD_TAG ; | |
| subfield : SUBFIELD ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 001A 02012:18-04-12 | |
| 001B 02012:04-05-12t16:13:28.000 | |
| 001D 02012:31-08-98 | |
| 001U 0utf8 | |
| 001X 00 | |
| 002@ 0Tuv1 | |
| 003@ 0034034986 | |
| 003U ahttp://d-nb.info/gnd/4510065-2 | |
| 004B awit |