<commit_before>"""
A VIVO harvester for the SHARE project

This harvester makes a SPARQL query to the VIVO SPARQL endpoint,
the information to access to a VIVO endpoint must be provided in the local.py file.
There is also a Map to the SPARQL queries made to harvest documents
from the VIVO endpoint in the sparql_mapping.py file.
"""

from __future__ import unicode_literals

import json
import logging

from datetime import date, timedelta, datetime
<commit_msg>Better description for the harvester<commit_after>"""
A VIVO harvester for the SHARE project

This harvester makes several SPARQL queries to a VIVO SPARQL endpoint,
the information to access the VIVO endpoint must be provided in the local.py file.
There is also a Map to the SPARQL queries made to harvest documents
from the VIVO endpoint in the sparql_mapping.py file.
"""

from __future__ import unicode_literals

import json
import logging

from datetime import date, timedelta, datetime

{'fraction_non_alphanumeric': 0.033542976939203356, 'fraction_numerical': 0.0, 'mean_word_length': 4.96875, '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': '2195821', 'n_tokens_mistral': 273, 'n_tokens_neox': 262, 'n_words': 141}