<commit_before># vufind-folio
scripts for connecting VuFind with the FOLIO platform

## Requirements

* PEAR
* HTTP_Request
* File_MARC

## Configuration

As FOLIO is multi-tenant, you will need to specify the tenant that you are interacting with. You will need to manually change the `$tenant` variable within the PHP scripts.

## Usage

To load MARC records into FOLIO, take the following steps:
# create a MARC file named `load.mrc`
# Run the folio-load.php script
```
$ php folio-load.php
```

To import bibliographic records from FOLIO into VuFind, run the `folio-vufind-solr.php` script:
```
$ php folio-vufind-solr.php
```<commit_msg>fixed syntax error in readme<commit_after># vufind-folio
scripts for connecting VuFind with the FOLIO platform

## Requirements

* PEAR
* HTTP_Request
* File_MARC

## Configuration

As FOLIO is multi-tenant, you will need to specify the tenant that you are interacting with. You will need to manually change the `$tenant` variable within the PHP scripts.

## Usage

To load MARC records into FOLIO, take the following steps:
0. create a MARC file named `load.mrc`
0. Run the folio-load.php script:
```
$ php folio-load.php
```

To import bibliographic records from FOLIO into VuFind, run the `folio-vufind-solr.php` script:
```
$ php folio-vufind-solr.php
```
{'fraction_non_alphanumeric': 0.08692307692307692, 'fraction_numerical': 0.0015384615384615385, 'mean_word_length': 4.443514644351464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749928', 'n_tokens_mistral': 437, 'n_tokens_neox': 412, 'n_words': 168}