-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.yml
48 lines (43 loc) · 2.12 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# configuration settings for bibframe validation
# copy this file to config.yml and change the settings as necessary
#
# In order to make these tests agnostic for marc -> bibframe processing, the
# idea is that a helper method will be provided to get from an inline (known)
# marc record (as marcxml) to an RDF::Graph object holding bibframe triples.
#
# For example, look at spec/support/m2bf_helpers.rb. This class provides
# the marc_to_graph_m2bf method. The lines below pertain to the config
# info needed by marc_to_graph_m2bf in m2bf_helpers.rb
#
# To run the specs, the config.yml file must have the appropriate configuration
# information for the helper method that will be used. See README for more
# information.
## Settings for various converters
# If the helper_method is set here, it will override any command-line requirement
# of a specific converter:
# helper_method: marc_to_graph_m2bf
# helper_method: marc_to_graph_bib2lod
## Converter-Specific settings:
# These settings only get called when the specific helper is invoked by the helper_method
# The helper_method can be invoked by uncommenting ONE of the helper_methods above, or
# by specifying a required helper on the command line when running the rspec task
# (e.g. rspec spec/titles/bf_title_from_245_subfield_a.rb --require bf2_helper.rb)
#
# Location of clone repo from [email protected]:lcnetdev/marc2bibframe.git
# see spec/support/m2bf_helpers.rb
marc2bibframe_path: /path/to/marc2bibframe
# location of saxon jar
saxon_jar_path: /path/to/saxon.jar
# see spec/support/m2bf2_helpers.rb
# location of clone repo from [email protected]:lcnetdev/marc2bibframe2.git
# requires an XSLT processor, such as xsltproc from libxslt
marc2bibframe2_path: /path/to/marc2bibframe2
# base URI to use for fake urls created
base_uri: http://example.org/
## Setting for the bib2lod converter
# see spec/support/bib2lod_helpers.rb
helper_method: marc_to_graph_bib2lod
# path of the executable bib2lod.jar cloned and intalled from the [email protected]:ld4l-labs/bib2lod.git repo
bib2lod_path: /path/to/bib2lod/target/
# path of the bib2lod config file
bib2lod_config: /path/to/bib2lod.config.json