<commit_before>"""Create a map from the input binomials to their ITIS accepted synonyms.
"""
import pandas as pd

itis_results = pd.read_csv("search_result.csv", encoding = "ISO-8859-1")<commit_msg>Implement locator in nomenclature map<commit_after>"""Create a map from the input binomials to their ITIS accepted synonyms.
"""
import pandas as pd

from PyFloraBook.in_out.data_coordinator import locate_nomenclature_folder


# Globals
INPUT_FILE_NAME = "search_results.csv"

# Input
nomenclature_folder = locate_nomenclature_folder()
itis_results = pd.read_csv(
    str(nomenclature_folder / INPUT_FILE_NAME), encoding="ISO-8859-1")
{'fraction_non_alphanumeric': 0.09018987341772151, 'fraction_numerical': 0.015822784810126583, 'mean_word_length': 6.3604651162790695, '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': '4541724', 'n_tokens_mistral': 216, 'n_tokens_neox': 197, 'n_words': 54}