<commit_before>---
layout: template1
title: About
comments: false
---

<div class="jumbotron">
    <p>{{ site.desc }}</p>
    <p><a class="btn btn-lg btn-primary" href="https://github.com/uhlibraries-digital/bcdams-map" role="button">View {{ site.title }} Code on Github &raquo;</a></p>
</div>

# Description

The {{ site.title }} builds on the University of Houston Digital Library's [Metadata Dictionary](http://digital.lib.uh.edu/about/metadata). It aligns closely with the [DPLA MAP v4.0](https://dp.la/info/wp-content/uploads/2015/03/MAPv4.pdf). 


# API

```
\api\dptf.json
```
Returns DPTF metadata elements as JSON

```
\api\damstf.json
```
Returns DAMSTF metadata elements as JSON

```
\api\graph.jsonld
```
Returns BCDAMS-MAP graph as JSON-LD
<commit_msg>add table to API section<commit_after>---
layout: template1
title: About
comments: false
---

<div class="jumbotron">
    <p>{{ site.desc }}</p>
    <p><a class="btn btn-lg btn-primary" href="https://github.com/uhlibraries-digital/bcdams-map" role="button">View {{ site.title }} Code on Github &raquo;</a></p>
</div>

# Description

The {{ site.title }} builds on the University of Houston Digital Library's [Metadata Dictionary](http://digital.lib.uh.edu/about/metadata). It aligns closely with the [DPLA MAP v4.0](https://dp.la/info/wp-content/uploads/2015/03/MAPv4.pdf).


# API

| Function                | Returns                           |
| ----------------------- | --------------------------------- |
| ```\api\dptf.json```    | DPTF metadata elements as JSON    |
| ```\api\damstf.json```  | DAMSTF metadata elements as JSON  |
| ```\api\graph.jsonld``` | {{ site.title }} graph as JSON-LD |

{'fraction_non_alphanumeric': 0.20563549160671463, 'fraction_numerical': 0.011990407673860911, 'mean_word_length': 2.983293556085919, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5060974', 'n_tokens_mistral': 585, 'n_tokens_neox': 547, 'n_words': 135}