diff --git a/.DS_Store b/.DS_Store index 382f48d124349a625d0966eef9eb1db16db3fba8..565e4b2b0c18d5c6e48a221d20a9bb4bcddeac27 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitattributes b/.gitattributes index ac481c8eb05e4d2496fbe076a38a7b4835dd733d..2ee97277ce40123985453e1fa2074556e4f6c41b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -25,3 +25,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zstandard filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +vectors filter=lfs diff=lfs merge=lfs -text +model filter=lfs diff=lfs merge=lfs -text +*.json filter=lfs diff=lfs merge=lfs -text +key2row filter=lfs diff=lfs merge=lfs -text diff --git a/.ipynb_checkpoints/NLselector-checkpoint.py b/.ipynb_checkpoints/NLselector-checkpoint.py new file mode 100644 index 0000000000000000000000000000000000000000..469e70a6ea23853d03b5ff3417af8651b872aa47 --- /dev/null +++ b/.ipynb_checkpoints/NLselector-checkpoint.py @@ -0,0 +1,197 @@ +#Import the libraries we know we'll need for the Generator. +import pandas as pd, spacy, nltk, numpy as np, re +from spacy.matcher import Matcher +#!python -m spacy download en_core_web_md #Not sure if we need this so I'm going to keep it just in case +nlp = spacy.load("Assets/Models/en_core_web_lg") +import altair as alt +import streamlit as st +from annotated_text import annotated_text as ant + +#Import the libraries to support the model and predictions. +from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline +import lime +import torch +import torch.nn.functional as F +from lime.lime_text import LimeTextExplainer + +class_names = ['negative', 'positive'] +explainer = LimeTextExplainer(class_names=class_names) +tokenizer = AutoTokenizer.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") +model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") +pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) + +def predictor(texts): + outputs = model(**tokenizer(texts, return_tensors="pt", padding=True)) + probas = F.softmax(outputs.logits, dim=1).detach().numpy() + return probas + +@st.experimental_singleton +def critical_words(document, options=False): + if type(document) is not spacy.tokens.doc.Doc: + document = nlp(document) + chunks = list(document.noun_chunks) + pos_options = [] + lime_options = [] + + #Identify what the model cares about. + if options: + #Run Lime Setup code + exp = explainer.explain_instance(document.text, predictor, num_features=15, num_samples=2000) + lime_results = exp.as_list() + for feature in lime_results: + lime_options.append(feature[0]) + lime_results = pd.DataFrame(lime_results, columns=["Word","Weight"]) + + #Identify what we care about "parts of speech" + for chunk in chunks: + #The use of chunk[-1] is due to testing that it appears to always match the root + root = chunk[-1] + #This currently matches to a list I've created. I don't know the best way to deal with this so I'm leaving it as is for the moment. + if root.ent_type_: + cur_values = [] + if (len(chunk) > 1) and (chunk[-2].dep_ == "compound"): + #creates the compound element of the noun + compound = [x.text for x in chunk if x.dep_ == "compound"] + print(f"This is the contents of {compound} and it is {all(elem in lime_options for elem in compound)} that all elements are present in {lime_options}.") #for QA + #checks to see all elements in the compound are important to the model or use the compound if not checking importance. + if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)): + #creates a span for the entirety of the compound noun and adds it to the list. + span = -1 * (1 + len(compound)) + pos_options.append(chunk[span:].text) + cur_values + [token.text for token in chunk if token.pos_ == "ADJ"] + else: + print(f"The elmenents in {compound} could not be added to the final list because they are not all relevant to the model.") + else: + cur_values = [token.text for token in chunk if (token.ent_type_) or (token.pos_ == "ADJ")] + if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)): + pos_options.extend(cur_values) + print(f"From {chunk.text}, {cur_values} added to pos_options due to entity recognition.") #for QA + elif len(chunk) >= 1: + cur_values = [token.text for token in chunk if token.pos_ in ["NOUN","ADJ"]] + if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)): + pos_options.extend(cur_values) + print(f"From {chunk.text}, {cur_values} added to pos_options due to wildcard.") #for QA + else: + print(f"No options added for \'{chunk.text}\' ") + # Here I am going to try to pick up pronouns, which are people, and Adjectival Compliments. + for token in document: + if (token.text not in pos_options) and ((token.text in lime_options) or (options == False)): + #print(f"executed {token.text} with {token.pos_} and {token.dep_}") #QA + if (token.pos_ == "ADJ") and (token.dep_ in ["acomp","conj"]): + pos_options.append(token.text) + elif (token.pos_ == "PRON") and (len(token.morph) !=0): + if (token.morph.get("PronType") == "Prs"): + pos_options.append(token.text) + + if options: + return pos_options, lime_results + else: + return pos_options + +# Return the Viz of elements critical to LIME. +def lime_viz(df): + if not isinstance(df, pd.DataFrame): + df = pd.DataFrame(df, columns=["Word","Weight"]) + single_nearest = alt.selection_single(on='mouseover', nearest=True) + viz = alt.Chart(df).encode( + alt.X('Weight:Q', scale=alt.Scale(domain=(-1, 1))), + alt.Y('Word:N', sort='x', axis=None), + color=alt.Color("Weight", scale=alt.Scale(scheme='blueorange', domain=[0], type="threshold", range='diverging'), legend=None), + tooltip = ("Word","Weight") + ).mark_bar().properties(title ="Importance of individual words") + + text = viz.mark_text( + fill="black", + align='right', + baseline='middle' + ).encode( + text='Word:N' + ) + limeplot = alt.LayerChart(layer=[viz,text], width = 300).configure_axis(grid=False).configure_view(strokeWidth=0) + return limeplot + +# Evaluate Predictions using the model and pipe. +def eval_pred(text, return_all = False): + '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.''' + preds = pipe(text) + neg_score = -1 * preds[0][0]['score'] + sent_neg = preds[0][0]['label'] + pos_score = preds[0][1]['score'] + sent_pos = preds[0][1]['label'] + prediction = 0 + sentiment = '' + if pos_score > abs(neg_score): + prediction = pos_score + sentiment = sent_pos + elif abs(neg_score) > pos_score: + prediction = neg_score + sentiment = sent_neg + + if return_all: + return prediction, sentiment + else: + return prediction + +def construct_nlexp(text,sentiment,probability): + prob = str(np.round(100 * abs(probability),2)) + if sentiment == "NEGATIVE": + color_sent = ant('The model predicts the sentiment of the sentence you provided is ', (sentiment, "-", "#FFA44F"), ' with a probability of ', (prob, "neg", "#FFA44F"),"%.") + elif sentiment == "POSITIVE": + color_sent = ant('The model predicts the sentiment of the sentence you provided is ', (sentiment, "+", "#50A9FF"), ' with a probability of ', (prob, "pos", "#50A9FF"),"%.") + return color_sent + +def get_min_max(df, seed): + '''This function provides the alternatives with the highest spaCy similarity scores and the lowest similarity scores. As similarity is based on vectorization of words and documents this may not be the best way to identify bias. + + text2 = Most Similar + text3 = Least Similar''' + maximum = df[df['similarity'] < .9999].similarity.max() + text2 = df.loc[df['similarity'] == maximum, 'text'].iloc[0] + minimum = df[df['similarity'] > .0001].similarity.min() + text3 = df.loc[df['similarity'] == minimum, 'text'].iloc[0] + return text2, text3 + +# Inspired by https://stackoverflow.com/questions/17758023/return-rows-in-a-dataframe-closest-to-a-user-defined-number/17758115#17758115 +def abs_dif(df,seed): + '''This function enables a user to identify the alternative that is closest to the seed and farthest from the seed should that be the what they wish to display. + + text2 = Nearest Prediction + text3 = Farthest Prediction''' + target = df[df['Words'] == seed].pred.iloc[0] + sub_df = df[df['Words'] != seed].reset_index() + nearest_prediction = sub_df.pred[(sub_df.pred-target).abs().argsort()[:1]] + farthest_prediction = sub_df.pred[(sub_df.pred-target).abs().argsort()[-1:]] + text2 = sub_df.text.iloc[nearest_prediction.index[0]] + text3 = sub_df.text.iloc[farthest_prediction.index[0]] + return text2, text3 + +#@st.experimental_singleton #I've enabled this to prevent it from triggering every time the code runs... which could get very messy +def sampled_alts(df, seed, fixed=False): + '''This function enables a user to select an alternate way of choosing which counterfactuals are shown for MultiNLC, MultiNLC + Lime, and VizNLC. If you use this then you are enabling random sampling over other options (ex. spaCy similarity scores, or absolute difference). + + Both samples are random.''' + sub_df = df[df['Words'] != seed] + if fixed: + sample = sub_df.sample(n=2, random_state = 2052) + else: + sample = sub_df.sample(n=2) + text2 = sample.text.iloc[0] + text3 = sample.text.iloc[1] + return text2, text3 + +def gen_cf_country(df,_document,selection): + df['text'] = df.Words.apply(lambda x: re.sub(r'\b'+selection+r'\b',x,_document.text)) + df['pred'] = df.text.apply(eval_pred) + df['seed'] = df.Words.apply(lambda x: 'seed' if x == selection else 'alternative') + df['similarity'] = df.Words.apply(lambda x: nlp(selection).similarity(nlp(x))) + return df + + +def gen_cf_profession(df,_document,selection): + category = df.loc[df['Words'] == selection, 'Major'].iloc[0] + df = df[df.Major == category] + df['text'] = df.Words.apply(lambda x: re.sub(r'\b'+selection+r'\b',x,_document.text)) + df['pred'] = df.text.apply(eval_pred) + df['seed'] = df.Words.apply(lambda x: 'seed' if x == selection else 'alternative') + df['similarity'] = df.Words.apply(lambda x: nlp(selection).similarity(nlp(x))) + return df \ No newline at end of file diff --git a/.ipynb_checkpoints/WNgen-checkpoint.py b/.ipynb_checkpoints/WNgen-checkpoint.py new file mode 100644 index 0000000000000000000000000000000000000000..01c0c742cab6a031d114198c8a3597361410d825 --- /dev/null +++ b/.ipynb_checkpoints/WNgen-checkpoint.py @@ -0,0 +1,313 @@ +#Import necessary libraries. +import re, nltk, pandas as pd, numpy as np, ssl, streamlit as st +from nltk.corpus import wordnet +import spacy +nlp = spacy.load("Assets/Models/en_core_web_lg") + +#Import necessary parts for predicting things. +from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline +import torch +import torch.nn.functional as F +tokenizer = AutoTokenizer.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") +model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") +pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) + +#If an error is thrown that the corpus "omw-1.4" isn't discoverable you can use this code. (https://stackoverflow.com/questions/38916452/nltk-download-ssl-certificate-verify-failed) +try: + _create_unverified_https_context = ssl._create_unverified_context +except AttributeError: + pass +else: + ssl._create_default_https_context = _create_unverified_https_context + +nltk.download('omw-1.4') + +# A simple function to pull synonyms and antonyms using spacy's POS +def syn_ant(word,POS=False,human=True): + pos_options = ['NOUN','VERB','ADJ','ADV'] + synonyms = [] + antonyms = [] + #WordNet hates spaces so you have to remove them + if " " in word: + word = word.replace(" ", "_") + + if POS in pos_options: + for syn in wordnet.synsets(word, pos=getattr(wordnet, POS)): + for l in syn.lemmas(): + current = l.name() + if human: + current = re.sub("_"," ",current) + synonyms.append(current) + if l.antonyms(): + for ant in l.antonyms(): + cur_ant = ant.name() + if human: + cur_ant = re.sub("_"," ",cur_ant) + antonyms.append(cur_ant) + else: + for syn in wordnet.synsets(word): + for l in syn.lemmas(): + current = l.name() + if human: + current = re.sub("_"," ",current) + synonyms.append(current) + if l.antonyms(): + for ant in l.antonyms(): + cur_ant = ant.name() + if human: + cur_ant = re.sub("_"," ",cur_ant) + antonyms.append(cur_ant) + synonyms = list(set(synonyms)) + antonyms = list(set(antonyms)) + return synonyms, antonyms + +def process_text(text): + doc = nlp(text.lower()) + result = [] + for token in doc: + if (token.is_stop) or (token.is_punct) or (token.lemma_ == '-PRON-'): + continue + result.append(token.lemma_) + return " ".join(result) + +def clean_definition(syn): + #This function removes stop words from sentences to improve on document level similarity for differentiation. + if type(syn) is str: + synset = wordnet.synset(syn).definition() + elif type(syn) is nltk.corpus.reader.wordnet.Synset: + synset = syn.definition() + definition = nlp(process_text(synset)) + return definition + +def check_sim(a,b): + if type(a) is str and type(b) is str: + a = nlp(a) + b = nlp(b) + similarity = a.similarity(b) + return similarity + +# Builds a dataframe dynamically from WordNet using NLTK. +def wordnet_df(word,POS=False,seed_definition=None): + pos_options = ['NOUN','VERB','ADJ','ADV'] + synonyms, antonyms = syn_ant(word,POS,False) + #print(synonyms, antonyms) #for QA purposes + words = [] + cats = [] + #WordNet hates spaces so you have to remove them + m_word = word.replace(" ", "_") + + #Allow the user to pick a seed definition if it is not provided directly to the function. Currently not working so it's commented out. + '''#commented out the way it was designed to allow for me to do it through Streamlit (keeping it for posterity, and for anyone who wants to use it without streamlit.) + for d in range(len(seed_definitions)): + print(f"{d}: {seed_definitions[d]}") + #choice = int(input("Which of the definitions above most aligns to your selection?")) + seed_definition = seed_definitions[choice]''' + try: + definition = seed_definition + except: + st.write("You did not supply a definition.") + + if POS in pos_options: + for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + + if len(synonyms) > 0: + for w in synonyms: + w = w.replace(" ","_") + for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + if len(antonyms) > 0: + for a in antonyms: + a = a.replace(" ","_") + for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .26: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + else: + for syn in wordnet.synsets(m_word): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + if len(synonyms) > 0: + for w in synonyms: + w = w.replace(" ","_") + for syn in wordnet.synsets(w): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + if len(antonyms) > 0: + for a in antonyms: + a = a.replace(" ","_") + for syn in wordnet.synsets(a): + if check_sim(process_text(seed_definition),process_text(syn.definition())) > .26: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) + + df = {"Categories":cats, "Words":words} + df = pd.DataFrame(df) + df = df.drop_duplicates().reset_index() + df = df.drop("index", axis=1) + return df + +def eval_pred_test(text, return_all = False): + '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.''' + preds = pipe(text) + neg_score = -1 * preds[0][0]['score'] + sent_neg = preds[0][0]['label'] + pos_score = preds[0][1]['score'] + sent_pos = preds[0][1]['label'] + prediction = 0 + sentiment = '' + if pos_score > abs(neg_score): + prediction = pos_score + sentiment = sent_pos + elif abs(neg_score) > pos_score: + prediction = neg_score + sentiment = sent_neg + + if return_all: + return prediction, sentiment + else: + return prediction + +def get_parallel(word, seed_definition, QA=False): + cleaned = nlp(process_text(seed_definition)) + root_syns = wordnet.synsets(word) + hypers = [] + new_hypos = [] + + for syn in root_syns: + hypers.extend(syn.hypernyms()) + + for syn in hypers: + new_hypos.extend(syn.hyponyms()) + + hypos = list(set([syn for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.75]))[:25] +# with st.sidebar: +# st.write(f"The number of hypos is {len(hypos)} during get Parallel at Similarity >= .75.") #QA + + if len(hypos) <= 1: + hypos = root_syns + elif len(hypos) < 3: + hypos = list(set([syn for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.5]))[:25] # added a cap to each + elif len(hypos) < 10: + hypos = list(set([syn for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.66]))[:25] + elif len(hypos) >= 10: + hypos = list(set([syn for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.8]))[:25] + if QA: + print(hypers) + print(hypos) + return hypers, hypos + else: + return hypos + +# Builds a dataframe dynamically from WordNet using NLTK. +def wordnet_parallel_df(word,seed_definition=None): + words = [] + cats = [] + #WordNet hates spaces so you have to remove them + m_word = word.replace(" ", "_") + + # add synonyms and antonyms for diversity + synonyms, antonyms = syn_ant(word) + words.extend(synonyms) + cats.extend(["synonyms" for n in range(len(synonyms))]) + words.extend(antonyms) + cats.extend(["antonyms" for n in range(len(antonyms))]) + + try: + hypos = get_parallel(m_word,seed_definition) + except: + st.write("You did not supply a definition.") + #Allow the user to pick a seed definition if it is not provided directly to the function. + '''if seed_definition is None: + if POS in pos_options: + seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))] + else: + seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)] + for d in range(len(seed_definitions)): + print(f"{d}: {seed_definitions[d]}") + choice = int(input("Which of the definitions above most aligns to your selection?")) + seed_definition = seed_definitions[choice]''' + + #This is a QA section +# with st.sidebar: +# st.write(f"The number of hypos is {len(hypos)} during parallel df creation.") #QA + + #Transforms hypos into lemmas + for syn in hypos: + cur_lemmas = syn.lemmas() + hypos = syn.hyponyms() + for hypo in hypos: + cur_lemmas.extend(hypo.lemmas()) + for lemma in cur_lemmas: + ll = lemma.name() + cats.append(re.sub("_"," ", syn.name().split(".")[0])) + words.append(re.sub("_"," ",ll)) +# with st.sidebar: +# st.write(f'There are {len(words)} words in the dataframe at the beginning of df creation.') #QA + + df = {"Categories":cats, "Words":words} + df = pd.DataFrame(df) + df = df.drop_duplicates("Words").reset_index() + df = df.drop("index", axis=1) + return df + +#@st.experimental_singleton(suppress_st_warning=True) +def cf_from_wordnet_df(seed,text,seed_definition=False): + seed_token = nlp(seed) + seed_POS = seed_token[0].pos_ + #print(seed_POS) QA + try: + df = wordnet_parallel_df(seed,seed_definition) + except: + st.write("You did not supply a definition.") + + df["text"] = df.Words.apply(lambda x: re.sub(r'\b'+seed+r'\b',x,text)) + df["similarity"] = df.Words.apply(lambda x: seed_token[0].similarity(nlp(x)[0])) + df = df[df["similarity"] > 0].reset_index() + df.drop("index", axis=1, inplace=True) + df["pred"] = df.text.apply(eval_pred_test) + # added this because I think it will make the end results better if we ensure the seed is in the data we generate counterfactuals from. + df['seed'] = df.Words.apply(lambda x: 'seed' if x.lower() == seed.lower() else 'alternative') + return df \ No newline at end of file diff --git a/.ipynb_checkpoints/app-checkpoint.py b/.ipynb_checkpoints/app-checkpoint.py new file mode 100644 index 0000000000000000000000000000000000000000..766e8c40e91e40ad8a8f85e0b1ae08b43458f0a6 --- /dev/null +++ b/.ipynb_checkpoints/app-checkpoint.py @@ -0,0 +1,340 @@ +#Import the libraries we know we'll need for the Generator. +import pandas as pd, spacy, nltk, numpy as np +from spacy.matcher import Matcher +nlp = spacy.load("Assets/Models/en_core_web_lg") + +#Import the libraries to support the model and predictions. +from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline +import lime +import torch +import torch.nn.functional as F +from lime.lime_text import LimeTextExplainer + +#Import the libraries for human interaction and visualization. +import altair as alt +import streamlit as st +from annotated_text import annotated_text as ant + +#Import functions needed to build dataframes of keywords from WordNet +from WNgen import * +from NLselector import * + +@st.experimental_singleton +def set_up_explainer(): + class_names = ['negative', 'positive'] + explainer = LimeTextExplainer(class_names=class_names) + return explainer + +@st.experimental_singleton +def prepare_model(): + tokenizer = AutoTokenizer.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") + model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") + pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) + return tokenizer, model, pipe + +@st.experimental_singleton +def prepare_lists(): + countries = pd.read_csv("Assets/Countries/combined-countries.csv") + professions = pd.read_csv("Assets/Professions/soc-professions-2018.csv") + word_lists = [list(countries.Words),list(professions.Words)] + return countries, professions, word_lists + +#Provide all the functions necessary to run the app +#get definitions for control flow in Streamlit +def get_def(word, POS=False): + pos_options = ['NOUN','VERB','ADJ','ADV'] + m_word = word.replace(" ", "_") + if POS in pos_options: + seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))] + else: + seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)] + seed_definition = col1.selectbox("Which definition is most relevant?", seed_definitions, key= "WN_definition") + if col1.button("Choose Definition"): + col1.write("You've chosen a definition.") + st.session_state.definition = seed_definition + return seed_definition + else: + col1.write("Please choose a definition.") + +###Start coding the actual app### +st.set_page_config(layout="wide", page_title="Natural Language Counterfactuals (NLC)") +layouts = ['Natural Language Explanation', 'Lime Explanation', 'MultiNLC', 'MultiNLC + Lime', 'VizNLC'] +alternatives = ['Similarity', 'Sampling (Random)', 'Sampling (Fixed)', 'Probability'] +alt_choice = "Similarity" + +#Content in the Sidebar. +st.sidebar.info('This is an interface for exploring how different interfaces for exploring natural language explanations (NLE) may appear to people. It is intended to allow individuals to provide feedback on specific versions, as well as to compare what one offers over others for the same inputs.') +layout = st.sidebar.selectbox("Select a layout to explore.", layouts) +alt_choice = st.sidebar.selectbox("Choose the way you want to display alternatives.", alternatives) #Commented out until we decide this is useful functionality. + +#Set up the Main Area Layout +st.title('Natural Language Counterfactuals (NLC) Prototype') +st.subheader(f'Current Layout: {layout}') +text = st.text_input('Provide a sentence you want to evaluate.', placeholder = "I like you. I love you.", key="input") + +#Prepare the model, data, and Lime. Set starting variables. +tokenizer, model, pipe = prepare_model() +countries, professions, word_lists = prepare_lists() +explainer = set_up_explainer() +text2 = "" +text3 = "" +cf_df = pd.DataFrame() +if 'definition' not in st.session_state: + st.session_state.definition = "<(^_')>" + +#Outline the various user interfaces we have built. + +col1, col2, col3 = st.columns(3) +if layout == 'Natural Language Explanation': + with col1: + if st.session_state.input != "": + st.caption("This is the sentence you provided.") + st.write(text) + probability, sentiment = eval_pred(text, return_all=True) + nat_lang_explanation = construct_nlexp(text,sentiment,probability) + +if layout == 'Lime Explanation': + with col1: + #Use spaCy to make the sentence into a doc so we can do NLP. + doc = nlp(st.session_state.input) + #Evaluate the provided sentence for sentiment and probability. + if st.session_state.input != "": + st.caption("This is the sentence you provided.") + st.write(text) + probability, sentiment = eval_pred(text, return_all=True) + options, lime = critical_words(st.session_state.input,options=True) + nat_lang_explanation = construct_nlexp(text,sentiment,probability) + st.write(" ") + st.altair_chart(lime_viz(lime)) + +if layout == 'MultiNLC': + with col1: + #Use spaCy to make the sentence into a doc so we can do NLP. + doc = nlp(st.session_state.input) + #Evaluate the provided sentence for sentiment and probability. + if st.session_state.input != "": + st.caption("This is the sentence you provided.") + st.write(text) + probability, sentiment = eval_pred(text, return_all=True) + options, lime = critical_words(st.session_state.input,options=True) + nat_lang_explanation = construct_nlexp(text,sentiment,probability) + + #Allow the user to pick an option to generate counterfactuals from. + option = st.radio('Which word would you like to use to generate alternatives?', options, key = "option") + if (any(option in sublist for sublist in word_lists)): + st.write(f'You selected {option}. It matches a list.') + elif option: + st.write(f'You selected {option}. It does not match a list.') + definition = get_def(option) + else: + st.write('Awaiting your selection.') + + if st.button('Generate Alternatives'): + if option in list(countries.Words): + cf_df = gen_cf_country(countries, doc, option) + st.success('Alternatives created.') + elif option in list(professions.Words): + cf_df = gen_cf_profession(professions, doc, option) + st.success('Alternatives created.') + else: + with st.sidebar: + ant("Generating alternatives for",(option,"opt","#E0FBFB"), "with a definition of: ",(st.session_state.definition,"def","#E0FBFB"),".") + cf_df = cf_from_wordnet_df(option,text,seed_definition=st.session_state.definition) + st.success('Alternatives created.') + + if len(cf_df) != 0: + if alt_choice == "Similarity": + text2, text3 = get_min_max(cf_df, option) + col2.caption(f"This sentence is 'similar' to {option}.") + col3.caption(f"This sentence is 'not similar' to {option}.") + elif alt_choice == "Sampling (Random)": + text2, text3 = sampled_alts(cf_df, option) + col2.caption(f"This sentence is a random sample from the alternatives.") + col3.caption(f"This sentence is a random sample from the alternatives.") + elif alt_choice == "Sampling (Fixed)": + text2, text3 = sampled_alts(cf_df, option, fixed=True) + col2.caption(f"This sentence is a fixed sample of the alternatives.") + col3.caption(f"This sentence is a fixed sample of the alternatives.") + elif alt_choice == "Probability": + text2, text3 = abs_dif(cf_df, option) + col2.caption(f"This sentence is the closest prediction in the model.") + col3.caption(f"This sentence is the farthest prediction in the model.") + with st.sidebar: + st.info(f"Alternatives generated: {len(cf_df)}") + + with col2: + if text2 != "": + sim2 = cf_df.loc[cf_df['text'] == text2, 'similarity'].iloc[0] + st.write(text2) + probability2, sentiment2 = eval_pred(text2, return_all=True) + nat_lang_explanation = construct_nlexp(text2,sentiment2,probability2) + #st.info(f" Similarity Score: {np.round(sim2, 2)}, Num Checked: {len(cf_df)}") #for QA purposes + + with col3: + if text3 != "": + sim3 = cf_df.loc[cf_df['text'] == text3, 'similarity'].iloc[0] + st.write(text3) + probability3, sentiment3 = eval_pred(text3, return_all=True) + nat_lang_explanation = construct_nlexp(text3,sentiment3,probability3) + #st.info(f"Similarity Score: {np.round(sim3, 2)}, Num Checked: {len(cf_df)}") #for QA purposes + +if layout == 'MultiNLC + Lime': + with col1: + + #Use spaCy to make the sentence into a doc so we can do NLP. + doc = nlp(st.session_state.input) + #Evaluate the provided sentence for sentiment and probability. + if st.session_state.input != "": + st.caption("This is the sentence you provided.") + st.write(text) + probability, sentiment = eval_pred(text, return_all=True) + options, lime = critical_words(st.session_state.input,options=True) + nat_lang_explanation = construct_nlexp(text,sentiment,probability) + st.write(" ") + st.altair_chart(lime_viz(lime)) + + #Allow the user to pick an option to generate counterfactuals from. + option = st.radio('Which word would you like to use to generate alternatives?', options, key = "option") + if (any(option in sublist for sublist in word_lists)): + st.write(f'You selected {option}. It matches a list.') + elif option: + st.write(f'You selected {option}. It does not match a list.') + definition = get_def(option) + else: + st.write('Awaiting your selection.') + + if st.button('Generate Alternatives'): + if option in list(countries.Words): + cf_df = gen_cf_country(countries, doc, option) + st.success('Alternatives created.') + elif option in list(professions.Words): + cf_df = gen_cf_profession(professions, doc, option) + st.success('Alternatives created.') + else: + with st.sidebar: + ant("Generating alternatives for",(option,"opt","#E0FBFB"), "with a definition of: ",(st.session_state.definition,"def","#E0FBFB"),".") + cf_df = cf_from_wordnet_df(option,text,seed_definition=st.session_state.definition) + st.success('Alternatives created.') + + if len(cf_df) != 0: + if alt_choice == "Similarity": + text2, text3 = get_min_max(cf_df, option) + col2.caption(f"This sentence is 'similar' to {option}.") + col3.caption(f"This sentence is 'not similar' to {option}.") + elif alt_choice == "Sampling (Random)": + text2, text3 = sampled_alts(cf_df, option) + col2.caption(f"This sentence is a random sample from the alternatives.") + col3.caption(f"This sentence is a random sample from the alternatives.") + elif alt_choice == "Sampling (Fixed)": + text2, text3 = sampled_alts(cf_df, option, fixed=True) + col2.caption(f"This sentence is a fixed sample of the alternatives.") + col3.caption(f"This sentence is a fixed sample of the alternatives.") + elif alt_choice == "Probability": + text2, text3 = abs_dif(cf_df, option) + col2.caption(f"This sentence is the closest prediction in the model.") + col3.caption(f"This sentence is the farthest prediction in the model.") + with st.sidebar: + st.info(f"Alternatives generated: {len(cf_df)}") + + with col2: + if text2 != "": + sim2 = cf_df.loc[cf_df['text'] == text2, 'similarity'].iloc[0] + st.write(text2) + probability2, sentiment2 = eval_pred(text2, return_all=True) + nat_lang_explanation = construct_nlexp(text2,sentiment2,probability2) + exp2 = explainer.explain_instance(text2, predictor, num_features=15, num_samples=2000) + lime_results2 = exp2.as_list() + st.write(" ") + st.altair_chart(lime_viz(lime_results2)) + + with col3: + if text3 != "": + sim3 = cf_df.loc[cf_df['text'] == text3, 'similarity'].iloc[0] + st.write(text3) + probability3, sentiment3 = eval_pred(text3, return_all=True) + nat_lang_explanation = construct_nlexp(text3,sentiment3,probability3) + exp3 = explainer.explain_instance(text3, predictor, num_features=15, num_samples=2000) + lime_results3 = exp3.as_list() + st.write(" ") + st.altair_chart(lime_viz(lime_results3)) + +if layout == 'VizNLC': + with col1: + + #Use spaCy to make the sentence into a doc so we can do NLP. + doc = nlp(st.session_state.input) + #Evaluate the provided sentence for sentiment and probability. + if st.session_state.input != "": + st.caption("This is the sentence you provided.") + st.write(text) + probability, sentiment = eval_pred(text, return_all=True) + options, lime = critical_words(st.session_state.input,options=True) + nat_lang_explanation = construct_nlexp(text,sentiment,probability) + st.write(" ") + st.altair_chart(lime_viz(lime)) + + #Allow the user to pick an option to generate counterfactuals from. + option = st.radio('Which word would you like to use to generate alternatives?', options, key = "option") + if (any(option in sublist for sublist in word_lists)): + st.write(f'You selected {option}. It matches a list.') + elif option: + st.write(f'You selected {option}. It does not match a list.') + definition = get_def(option) + else: + st.write('Awaiting your selection.') + + if st.button('Generate Alternatives'): + if option in list(countries.Words): + cf_df = gen_cf_country(countries, doc, option) + st.success('Alternatives created.') + elif option in list(professions.Words): + cf_df = gen_cf_profession(professions, doc, option) + st.success('Alternatives created.') + else: + with st.sidebar: + ant("Generating alternatives for",(option,"opt","#E0FBFB"), "with a definition of: ",(st.session_state.definition,"def","#E0FBFB"),".") + cf_df = cf_from_wordnet_df(option,text,seed_definition=st.session_state.definition) + st.success('Alternatives created.') + + if len(cf_df) != 0: + if alt_choice == "Similarity": + text2, text3 = get_min_max(cf_df, option) + col2.caption(f"This sentence is 'similar' to {option}.") + col3.caption(f"This sentence is 'not similar' to {option}.") + elif alt_choice == "Sampling (Random)": + text2, text3 = sampled_alts(cf_df, option) + col2.caption(f"This sentence is a random sample from the alternatives.") + col3.caption(f"This sentence is a random sample from the alternatives.") + elif alt_choice == "Sampling (Fixed)": + text2, text3 = sampled_alts(cf_df, option, fixed=True) + col2.caption(f"This sentence is a fixed sample of the alternatives.") + col3.caption(f"This sentence is a fixed sample of the alternatives.") + elif alt_choice == "Probability": + text2, text3 = abs_dif(cf_df, option) + col2.caption(f"This sentence is the closest prediction in the model.") + col3.caption(f"This graph represents the {len(cf_df)} alternatives to {option}.") + with st.sidebar: + st.info(f"Alternatives generated: {len(cf_df)}") + + with col2: + if text2 != "": + sim2 = cf_df.loc[cf_df['text'] == text2, 'similarity'].iloc[0] + st.write(text2) + probability2, sentiment2 = eval_pred(text2, return_all=True) + nat_lang_explanation = construct_nlexp(text2,sentiment2,probability2) + exp2 = explainer.explain_instance(text2, predictor, num_features=15, num_samples=2000) + lime_results2 = exp2.as_list() + st.write(" ") + st.altair_chart(lime_viz(lime_results2)) + + with col3: + if not cf_df.empty: + single_nearest = alt.selection_single(on='mouseover', nearest=True) + full = alt.Chart(cf_df).encode( + alt.X('similarity:Q', scale=alt.Scale(zero=False)), + alt.Y('pred:Q'), + color=alt.Color('Categories:N', legend=alt.Legend(title="Color of Categories")), + size=alt.Size('seed:O'), + tooltip=('Categories','text','pred') + ).mark_circle(opacity=.5).properties(width=450, height=450).add_selection(single_nearest) + st.altair_chart(full) \ No newline at end of file diff --git a/Assets/.DS_Store b/Assets/.DS_Store index e5db11e72e3ee0974230a761f0d4d8c0039a5d9e..182585d46adba950b061473f5e7f6ff1101f67fa 100644 Binary files a/Assets/.DS_Store and b/Assets/.DS_Store differ diff --git a/NER-tweaks/.DS_Store b/Assets/Models/.DS_Store similarity index 90% rename from NER-tweaks/.DS_Store rename to Assets/Models/.DS_Store index ca5d0e6e71945129431efcf086d0e96e397046d8..572c1be918dc97024956add1189dff21d5c2c796 100644 Binary files a/NER-tweaks/.DS_Store and b/Assets/Models/.DS_Store differ diff --git a/Assets/Models/en_core_web_lg/attribute_ruler/patterns b/Assets/Models/en_core_web_lg/attribute_ruler/patterns new file mode 100644 index 0000000000000000000000000000000000000000..b1cb60257be95d65eb10259b1d5d53c7a91705d4 Binary files /dev/null and b/Assets/Models/en_core_web_lg/attribute_ruler/patterns differ diff --git a/Assets/Models/en_core_web_lg/config.cfg b/Assets/Models/en_core_web_lg/config.cfg new file mode 100644 index 0000000000000000000000000000000000000000..206abf44da803a2b8574bb28e0504be26d421f92 --- /dev/null +++ b/Assets/Models/en_core_web_lg/config.cfg @@ -0,0 +1,266 @@ +[paths] +train = null +dev = null +vectors = null +init_tok2vec = null + +[system] +gpu_allocator = null +seed = 0 + +[nlp] +lang = "en" +pipeline = ["tok2vec","tagger","parser","senter","attribute_ruler","lemmatizer","ner"] +disabled = ["senter"] +before_creation = null +after_creation = null +after_pipeline_creation = null +batch_size = 256 +tokenizer = {"@tokenizers":"spacy.Tokenizer.v1"} + +[components] + +[components.attribute_ruler] +factory = "attribute_ruler" +scorer = {"@scorers":"spacy.attribute_ruler_scorer.v1"} +validate = false + +[components.lemmatizer] +factory = "lemmatizer" +mode = "rule" +model = null +overwrite = false +scorer = {"@scorers":"spacy.lemmatizer_scorer.v1"} + +[components.ner] +factory = "ner" +incorrect_spans_key = null +moves = null +scorer = {"@scorers":"spacy.ner_scorer.v1"} +update_with_oracle_cut_size = 100 + +[components.ner.model] +@architectures = "spacy.TransitionBasedParser.v2" +state_type = "ner" +extra_state_tokens = false +hidden_width = 64 +maxout_pieces = 2 +use_upper = true +nO = null + +[components.ner.model.tok2vec] +@architectures = "spacy.Tok2Vec.v2" + +[components.ner.model.tok2vec.embed] +@architectures = "spacy.MultiHashEmbed.v2" +width = 96 +attrs = ["NORM","PREFIX","SUFFIX","SHAPE","SPACY"] +rows = [5000,1000,2500,2500,50] +include_static_vectors = true + +[components.ner.model.tok2vec.encode] +@architectures = "spacy.MaxoutWindowEncoder.v2" +width = 96 +depth = 4 +window_size = 1 +maxout_pieces = 3 + +[components.parser] +factory = "parser" +learn_tokens = false +min_action_freq = 30 +moves = null +scorer = {"@scorers":"spacy.parser_scorer.v1"} +update_with_oracle_cut_size = 100 + +[components.parser.model] +@architectures = "spacy.TransitionBasedParser.v2" +state_type = "parser" +extra_state_tokens = false +hidden_width = 64 +maxout_pieces = 2 +use_upper = true +nO = null + +[components.parser.model.tok2vec] +@architectures = "spacy.Tok2VecListener.v1" +width = ${components.tok2vec.model.encode:width} +upstream = "tok2vec" + +[components.senter] +factory = "senter" +overwrite = false +scorer = {"@scorers":"spacy.senter_scorer.v1"} + +[components.senter.model] +@architectures = "spacy.Tagger.v2" +nO = null +normalize = false + +[components.senter.model.tok2vec] +@architectures = "spacy.Tok2Vec.v2" + +[components.senter.model.tok2vec.embed] +@architectures = "spacy.MultiHashEmbed.v2" +width = 16 +attrs = ["NORM","PREFIX","SUFFIX","SHAPE","SPACY"] +rows = [1000,500,500,500,50] +include_static_vectors = true + +[components.senter.model.tok2vec.encode] +@architectures = "spacy.MaxoutWindowEncoder.v2" +width = 16 +depth = 2 +window_size = 1 +maxout_pieces = 2 + +[components.tagger] +factory = "tagger" +neg_prefix = "!" +overwrite = false +scorer = {"@scorers":"spacy.tagger_scorer.v1"} + +[components.tagger.model] +@architectures = "spacy.Tagger.v2" +nO = null +normalize = false + +[components.tagger.model.tok2vec] +@architectures = "spacy.Tok2VecListener.v1" +width = ${components.tok2vec.model.encode:width} +upstream = "tok2vec" + +[components.tok2vec] +factory = "tok2vec" + +[components.tok2vec.model] +@architectures = "spacy.Tok2Vec.v2" + +[components.tok2vec.model.embed] +@architectures = "spacy.MultiHashEmbed.v2" +width = ${components.tok2vec.model.encode:width} +attrs = ["NORM","PREFIX","SUFFIX","SHAPE","SPACY"] +rows = [5000,1000,2500,2500,50] +include_static_vectors = true + +[components.tok2vec.model.encode] +@architectures = "spacy.MaxoutWindowEncoder.v2" +width = 96 +depth = 4 +window_size = 1 +maxout_pieces = 3 + +[corpora] + +[corpora.dev] +@readers = "spacy.Corpus.v1" +path = ${paths.dev} +gold_preproc = false +max_length = 0 +limit = 0 +augmenter = null + +[corpora.train] +@readers = "spacy.Corpus.v1" +path = ${paths.train} +gold_preproc = false +max_length = 0 +limit = 0 +augmenter = null + +[training] +train_corpus = "corpora.train" +dev_corpus = "corpora.dev" +seed = ${system:seed} +gpu_allocator = ${system:gpu_allocator} +dropout = 0.1 +accumulate_gradient = 1 +patience = 5000 +max_epochs = 0 +max_steps = 100000 +eval_frequency = 1000 +frozen_components = [] +before_to_disk = null +annotating_components = [] + +[training.batcher] +@batchers = "spacy.batch_by_words.v1" +discard_oversize = false +tolerance = 0.2 +get_length = null + +[training.batcher.size] +@schedules = "compounding.v1" +start = 100 +stop = 1000 +compound = 1.001 +t = 0.0 + +[training.logger] +@loggers = "spacy.ConsoleLogger.v1" +progress_bar = false + +[training.optimizer] +@optimizers = "Adam.v1" +beta1 = 0.9 +beta2 = 0.999 +L2_is_weight_decay = true +L2 = 0.01 +grad_clip = 1.0 +use_averages = true +eps = 0.00000001 +learn_rate = 0.001 + +[training.score_weights] +tag_acc = 0.16 +dep_uas = 0.0 +dep_las = 0.16 +dep_las_per_type = null +sents_p = null +sents_r = null +sents_f = 0.02 +lemma_acc = 0.5 +ents_f = 0.16 +ents_p = 0.0 +ents_r = 0.0 +ents_per_type = null +speed = 0.0 + +[pretraining] + +[initialize] +vocab_data = null +vectors = ${paths.vectors} +init_tok2vec = ${paths.init_tok2vec} +before_init = null +after_init = null + +[initialize.components] + +[initialize.components.ner] + +[initialize.components.ner.labels] +@readers = "spacy.read_labels.v1" +path = "corpus/labels/ner.json" +require = false + +[initialize.components.parser] + +[initialize.components.parser.labels] +@readers = "spacy.read_labels.v1" +path = "corpus/labels/parser.json" +require = false + +[initialize.components.tagger] + +[initialize.components.tagger.labels] +@readers = "spacy.read_labels.v1" +path = "corpus/labels/tagger.json" +require = false + +[initialize.lookups] +@misc = "spacy.LookupsDataLoader.v1" +lang = ${nlp.lang} +tables = ["lexeme_norm"] + +[initialize.tokenizer] \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/lemmatizer/lookups/lookups.bin b/Assets/Models/en_core_web_lg/lemmatizer/lookups/lookups.bin new file mode 100644 index 0000000000000000000000000000000000000000..027cca25ec7ea7123fb70b9e2ac778e037d338bf --- /dev/null +++ b/Assets/Models/en_core_web_lg/lemmatizer/lookups/lookups.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb64f40c0f8396d1762730c0ddf4dad2a52d138f5a389f71a1a1d088173b7737 +size 972893 diff --git a/Assets/Models/en_core_web_lg/meta.json b/Assets/Models/en_core_web_lg/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0d4c317246b4ccec243c3618666c7f32c14060e3 --- /dev/null +++ b/Assets/Models/en_core_web_lg/meta.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3ba202861febc88c998c20b62c4e2db5aa4249047816576d7cf476f4c5bb6c2 +size 10361 diff --git a/Assets/Models/en_core_web_lg/ner/cfg b/Assets/Models/en_core_web_lg/ner/cfg new file mode 100644 index 0000000000000000000000000000000000000000..6cd11cf7e67d8f2515a43feed2b679ec362c66e8 --- /dev/null +++ b/Assets/Models/en_core_web_lg/ner/cfg @@ -0,0 +1,13 @@ +{ + "moves":null, + "update_with_oracle_cut_size":100, + "multitasks":[ + + ], + "min_action_freq":1, + "learn_tokens":false, + "beam_width":1, + "beam_density":0.0, + "beam_update_prob":0.0, + "incorrect_spans_key":null +} \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/ner/model b/Assets/Models/en_core_web_lg/ner/model new file mode 100644 index 0000000000000000000000000000000000000000..dabcdfb59b37d5ebb280813e927c255f3bcf295d --- /dev/null +++ b/Assets/Models/en_core_web_lg/ner/model @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9d8a97f17d882960a52360ae2e58d9c960937534c9c010e1d912a3b82767a8f +size 6511153 diff --git a/Assets/Models/en_core_web_lg/ner/moves b/Assets/Models/en_core_web_lg/ner/moves new file mode 100644 index 0000000000000000000000000000000000000000..9a792eb00fccb511d53a892f19f35df100af63f5 --- /dev/null +++ b/Assets/Models/en_core_web_lg/ner/moves @@ -0,0 +1 @@ +moves{"0":{},"1":{"ORG":56356,"DATE":40381,"PERSON":36475,"GPE":26716,"MONEY":15121,"CARDINAL":14096,"NORP":9638,"PERCENT":9182,"WORK_OF_ART":4475,"LOC":4047,"TIME":3670,"QUANTITY":3114,"FAC":3042,"EVENT":3015,"ORDINAL":2142,"PRODUCT":1782,"LAW":1620,"LANGUAGE":355},"2":{"ORG":56356,"DATE":40381,"PERSON":36475,"GPE":26716,"MONEY":15121,"CARDINAL":14096,"NORP":9638,"PERCENT":9182,"WORK_OF_ART":4475,"LOC":4047,"TIME":3670,"QUANTITY":3114,"FAC":3042,"EVENT":3015,"ORDINAL":2142,"PRODUCT":1782,"LAW":1620,"LANGUAGE":355},"3":{"ORG":56356,"DATE":40381,"PERSON":36475,"GPE":26716,"MONEY":15121,"CARDINAL":14096,"NORP":9638,"PERCENT":9182,"WORK_OF_ART":4475,"LOC":4047,"TIME":3670,"QUANTITY":3114,"FAC":3042,"EVENT":3015,"ORDINAL":2142,"PRODUCT":1782,"LAW":1620,"LANGUAGE":355},"4":{"ORG":56356,"DATE":40381,"PERSON":36475,"GPE":26716,"MONEY":15121,"CARDINAL":14096,"NORP":9638,"PERCENT":9182,"WORK_OF_ART":4475,"LOC":4047,"TIME":3670,"QUANTITY":3114,"FAC":3042,"EVENT":3015,"ORDINAL":2142,"PRODUCT":1782,"LAW":1620,"LANGUAGE":355,"":1},"5":{"":1}}cfgneg_key \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/parser/cfg b/Assets/Models/en_core_web_lg/parser/cfg new file mode 100644 index 0000000000000000000000000000000000000000..ff48dcc6ba854b472b0f2554ec6d59bbff952a3d --- /dev/null +++ b/Assets/Models/en_core_web_lg/parser/cfg @@ -0,0 +1,13 @@ +{ + "moves":null, + "update_with_oracle_cut_size":100, + "multitasks":[ + + ], + "min_action_freq":30, + "learn_tokens":false, + "beam_width":1, + "beam_density":0.0, + "beam_update_prob":0.0, + "incorrect_spans_key":null +} \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/parser/model b/Assets/Models/en_core_web_lg/parser/model new file mode 100644 index 0000000000000000000000000000000000000000..f300fd81e1f1fcc1f933eeddff7c5dff00094d32 --- /dev/null +++ b/Assets/Models/en_core_web_lg/parser/model @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8abfdcfaa0d0a822556f61fa2ab7b48d5528e8ab25375e9c657af78d8e2368 +size 319909 diff --git a/Assets/Models/en_core_web_lg/parser/moves b/Assets/Models/en_core_web_lg/parser/moves new file mode 100644 index 0000000000000000000000000000000000000000..53ba95af903290b5283f74ac08ea9b050d0aa4c3 --- /dev/null +++ b/Assets/Models/en_core_web_lg/parser/moves @@ -0,0 +1,2 @@ +moves +{"0":{"":994267},"1":{"":990803},"2":{"det":172595,"nsubj":165748,"compound":116623,"amod":105184,"aux":86667,"punct":65478,"advmod":62763,"poss":36443,"mark":27941,"nummod":22598,"auxpass":15594,"prep":14001,"nsubjpass":13856,"neg":12357,"cc":10739,"nmod":9562,"advcl":9062,"npadvmod":8168,"quantmod":7101,"intj":6464,"ccomp":5896,"dobj":3427,"expl":3360,"dep":2806,"predet":1944,"parataxis":1837,"csubj":1428,"preconj":621,"pobj||prep":616,"attr":578,"meta":376,"advmod||conj":368,"dobj||xcomp":352,"acomp":284,"nsubj||ccomp":224,"dative":206,"advmod||xcomp":149,"dobj||ccomp":70,"csubjpass":64,"dobj||conj":62,"prep||conj":51,"acl":48,"prep||nsubj":41,"prep||dobj":36,"xcomp":34,"advmod||ccomp":32,"oprd":31},"3":{"punct":183790,"pobj":182191,"prep":174008,"dobj":89615,"conj":59687,"cc":51930,"ccomp":30385,"advmod":22861,"xcomp":21021,"relcl":20969,"advcl":19828,"attr":17741,"acomp":16922,"appos":15265,"case":13388,"acl":12085,"pcomp":10324,"npadvmod":9796,"prt":8179,"agent":3903,"dative":3866,"nsubj":3470,"neg":2906,"amod":2839,"intj":2819,"nummod":2732,"oprd":2301,"dep":1487,"parataxis":1261,"quantmod":319,"nmod":294,"acl||dobj":200,"prep||dobj":190,"prep||nsubj":162,"acl||nsubj":159,"appos||nsubj":145,"relcl||dobj":134,"relcl||nsubj":111,"aux":103,"expl":96,"meta":92,"appos||dobj":86,"preconj":71,"csubj":65,"prep||nsubjpass":55,"prep||advmod":54,"prep||acomp":53,"det":51,"nsubjpass":45,"relcl||pobj":42,"acl||nsubjpass":42,"mark":40,"auxpass":39,"prep||pobj":36,"relcl||nsubjpass":32,"appos||nsubjpass":31},"4":{"ROOT":111664}}cfgneg_key \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/senter/cfg b/Assets/Models/en_core_web_lg/senter/cfg new file mode 100644 index 0000000000000000000000000000000000000000..8b4b1e4785819874b826263844d9d6c2d51b6a9b --- /dev/null +++ b/Assets/Models/en_core_web_lg/senter/cfg @@ -0,0 +1,3 @@ +{ + "overwrite":false +} \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/senter/model b/Assets/Models/en_core_web_lg/senter/model new file mode 100644 index 0000000000000000000000000000000000000000..75a4b6eb71ce6f9335e4506f465cfe26175c353c --- /dev/null +++ b/Assets/Models/en_core_web_lg/senter/model @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a1bdccc5dc2d8c842081528c93680c54508411615b525cef695239f30bb0ed8 +size 219953 diff --git a/Assets/Models/en_core_web_lg/tagger/cfg b/Assets/Models/en_core_web_lg/tagger/cfg new file mode 100644 index 0000000000000000000000000000000000000000..c46adad73abd7f35c05fe501c66c1fb2c3affdcf --- /dev/null +++ b/Assets/Models/en_core_web_lg/tagger/cfg @@ -0,0 +1,55 @@ +{ + "labels":[ + "$", + "''", + ",", + "-LRB-", + "-RRB-", + ".", + ":", + "ADD", + "AFX", + "CC", + "CD", + "DT", + "EX", + "FW", + "HYPH", + "IN", + "JJ", + "JJR", + "JJS", + "LS", + "MD", + "NFP", + "NN", + "NNP", + "NNPS", + "NNS", + "PDT", + "POS", + "PRP", + "PRP$", + "RB", + "RBR", + "RBS", + "RP", + "SYM", + "TO", + "UH", + "VB", + "VBD", + "VBG", + "VBN", + "VBP", + "VBZ", + "WDT", + "WP", + "WP$", + "WRB", + "XX", + "``" + ], + "neg_prefix":"!", + "overwrite":false +} \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/tagger/model b/Assets/Models/en_core_web_lg/tagger/model new file mode 100644 index 0000000000000000000000000000000000000000..1be76eed540926367ed39050ec8f126445b6ed93 --- /dev/null +++ b/Assets/Models/en_core_web_lg/tagger/model @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4481bf82fdaea8773149ca8b637057e0dfaa4f8fa1cc5e8f19f33250568f6fc0 +size 19441 diff --git a/Assets/Models/en_core_web_lg/tok2vec/cfg b/Assets/Models/en_core_web_lg/tok2vec/cfg new file mode 100644 index 0000000000000000000000000000000000000000..0e0dcd235c4973becf25f38eb4e5bb26e154c86a --- /dev/null +++ b/Assets/Models/en_core_web_lg/tok2vec/cfg @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/tok2vec/model b/Assets/Models/en_core_web_lg/tok2vec/model new file mode 100644 index 0000000000000000000000000000000000000000..1a168053070c5d27e77d57f90e04248e1c833521 --- /dev/null +++ b/Assets/Models/en_core_web_lg/tok2vec/model @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71724ee469b871ec2287455264d692c9b229b1bf129aa5bc06130a4aeb9b7c0e +size 6365604 diff --git a/Assets/Models/en_core_web_lg/tokenizer b/Assets/Models/en_core_web_lg/tokenizer new file mode 100644 index 0000000000000000000000000000000000000000..6ea92c7ac8ecc7218faf449156170a40f796ff9d --- /dev/null +++ b/Assets/Models/en_core_web_lg/tokenizer @@ -0,0 +1,3 @@ +prefix_search ~^§|^%|^=|^—|^–|^\+(?![0-9])|^…|^……|^,|^:|^;|^\!|^\?|^¿|^؟|^¡|^\(|^\)|^\[|^\]|^\{|^\}|^<|^>|^_|^#|^\*|^&|^。|^?|^!|^,|^、|^;|^:|^~|^·|^।|^،|^۔|^؛|^٪|^\.\.+|^…|^\'|^"|^”|^“|^`|^‘|^´|^’|^‚|^,|^„|^»|^«|^「|^」|^『|^』|^(|^)|^〔|^〕|^【|^】|^《|^》|^〈|^〉|^\$|^£|^€|^¥|^฿|^US\$|^C\$|^A\$|^₽|^﷼|^₴|^₠|^₡|^₢|^₣|^₤|^₥|^₦|^₧|^₨|^₩|^₪|^₫|^€|^₭|^₮|^₯|^₰|^₱|^₲|^₳|^₴|^₵|^₶|^₷|^₸|^₹|^₺|^₻|^₼|^₽|^₾|^₿|^[\u00A6\u00A9\u00AE\u00B0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B98-\u2BC8\u2BCA-\u2BFE\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u32FE\u3300-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFDFD\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD\U00010137-\U0001013F\U00010179-\U00010189\U0001018C-\U0001018E\U00010190-\U0001019B\U000101A0\U000101D0-\U000101FC\U00010877\U00010878\U00010AC8\U0001173F\U00016B3C-\U00016B3F\U00016B45\U0001BC9C\U0001D000-\U0001D0F5\U0001D100-\U0001D126\U0001D129-\U0001D164\U0001D16A-\U0001D16C\U0001D183\U0001D184\U0001D18C-\U0001D1A9\U0001D1AE-\U0001D1E8\U0001D200-\U0001D241\U0001D245\U0001D300-\U0001D356\U0001D800-\U0001D9FF\U0001DA37-\U0001DA3A\U0001DA6D-\U0001DA74\U0001DA76-\U0001DA83\U0001DA85\U0001DA86\U0001ECAC\U0001F000-\U0001F02B\U0001F030-\U0001F093\U0001F0A0-\U0001F0AE\U0001F0B1-\U0001F0BF\U0001F0C1-\U0001F0CF\U0001F0D1-\U0001F0F5\U0001F110-\U0001F16B\U0001F170-\U0001F1AC\U0001F1E6-\U0001F202\U0001F210-\U0001F23B\U0001F240-\U0001F248\U0001F250\U0001F251\U0001F260-\U0001F265\U0001F300-\U0001F3FA\U0001F400-\U0001F6D4\U0001F6E0-\U0001F6EC\U0001F6F0-\U0001F6F9\U0001F700-\U0001F773\U0001F780-\U0001F7D8\U0001F800-\U0001F80B\U0001F810-\U0001F847\U0001F850-\U0001F859\U0001F860-\U0001F887\U0001F890-\U0001F8AD\U0001F900-\U0001F90B\U0001F910-\U0001F93E\U0001F940-\U0001F970\U0001F973-\U0001F976\U0001F97A\U0001F97C-\U0001F9A2\U0001F9B0-\U0001F9B9\U0001F9C0-\U0001F9C2\U0001F9D0-\U0001F9FF\U0001FA60-\U0001FA6D]suffix_search2y…$|……$|,$|:$|;$|\!$|\?$|¿$|؟$|¡$|\($|\)$|\[$|\]$|\{$|\}$|<$|>$|_$|#$|\*$|&$|。$|?$|!$|,$|、$|;$|:$|~$|·$|।$|،$|۔$|؛$|٪$|\.\.+$|…$|\'$|"$|”$|“$|`$|‘$|´$|’$|‚$|,$|„$|»$|«$|「$|」$|『$|』$|($|)$|〔$|〕$|【$|】$|《$|》$|〈$|〉$|[\u00A6\u00A9\u00AE\u00B0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B98-\u2BC8\u2BCA-\u2BFE\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u32FE\u3300-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFDFD\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD\U00010137-\U0001013F\U00010179-\U00010189\U0001018C-\U0001018E\U00010190-\U0001019B\U000101A0\U000101D0-\U000101FC\U00010877\U00010878\U00010AC8\U0001173F\U00016B3C-\U00016B3F\U00016B45\U0001BC9C\U0001D000-\U0001D0F5\U0001D100-\U0001D126\U0001D129-\U0001D164\U0001D16A-\U0001D16C\U0001D183\U0001D184\U0001D18C-\U0001D1A9\U0001D1AE-\U0001D1E8\U0001D200-\U0001D241\U0001D245\U0001D300-\U0001D356\U0001D800-\U0001D9FF\U0001DA37-\U0001DA3A\U0001DA6D-\U0001DA74\U0001DA76-\U0001DA83\U0001DA85\U0001DA86\U0001ECAC\U0001F000-\U0001F02B\U0001F030-\U0001F093\U0001F0A0-\U0001F0AE\U0001F0B1-\U0001F0BF\U0001F0C1-\U0001F0CF\U0001F0D1-\U0001F0F5\U0001F110-\U0001F16B\U0001F170-\U0001F1AC\U0001F1E6-\U0001F202\U0001F210-\U0001F23B\U0001F240-\U0001F248\U0001F250\U0001F251\U0001F260-\U0001F265\U0001F300-\U0001F3FA\U0001F400-\U0001F6D4\U0001F6E0-\U0001F6EC\U0001F6F0-\U0001F6F9\U0001F700-\U0001F773\U0001F780-\U0001F7D8\U0001F800-\U0001F80B\U0001F810-\U0001F847\U0001F850-\U0001F859\U0001F860-\U0001F887\U0001F890-\U0001F8AD\U0001F900-\U0001F90B\U0001F910-\U0001F93E\U0001F940-\U0001F970\U0001F973-\U0001F976\U0001F97A\U0001F97C-\U0001F9A2\U0001F9B0-\U0001F9B9\U0001F9C0-\U0001F9C2\U0001F9D0-\U0001F9FF\U0001FA60-\U0001FA6D]$|'s$|'S$|’s$|’S$|—$|–$|(?<=[0-9])\+$|(?<=°[FfCcKk])\.$|(?<=[0-9])(?:\$|£|€|¥|฿|US\$|C\$|A\$|₽|﷼|₴|₠|₡|₢|₣|₤|₥|₦|₧|₨|₩|₪|₫|€|₭|₮|₯|₰|₱|₲|₳|₴|₵|₶|₷|₸|₹|₺|₻|₼|₽|₾|₿)$|(?<=[0-9])(?:km|km²|km³|m|m²|m³|dm|dm²|dm³|cm|cm²|cm³|mm|mm²|mm³|ha|µm|nm|yd|in|ft|kg|g|mg|µg|t|lb|oz|m/s|km/h|kmh|mph|hPa|Pa|mbar|mb|MB|kb|KB|gb|GB|tb|TB|T|G|M|K|%|км|км²|км³|м|м²|м³|дм|дм²|дм³|см|см²|см³|мм|мм²|мм³|нм|кг|г|мг|м/с|км/ч|кПа|Па|мбар|Кб|КБ|кб|Мб|МБ|мб|Гб|ГБ|гб|Тб|ТБ|тбكم|كم²|كم³|م|م²|م³|سم|سم²|سم³|مم|مم²|مم³|كم|غرام|جرام|جم|كغ|ملغ|كوب|اكواب)$|(?<=[0-9a-z\uFF41-\uFF5A\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E\u017F\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFFёа-яәөүҗңһα-ωάέίόώήύа-щюяіїєґѓѕјљњќѐѝ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F%²\-\+…|……|,|:|;|\!|\?|¿|؟|¡|\(|\)|\[|\]|\{|\}|<|>|_|#|\*|&|。|?|!|,|、|;|:|~|·|।|،|۔|؛|٪(?:\'"”“`‘´’‚,„»«「」『』()〔〕【】《》〈〉)])\.$|(?<=[A-Z\uFF21-\uFF3A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E\u2C7F\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE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C00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F][A-Z\uFF21-\uFF3A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E\u2C7F\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFEЁА-ЯӘӨҮҖҢҺΑ-ΩΆΈΊΌΏΉΎА-ЩЮЯІЇЄҐЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F])\.$infix_finditer>\.\.+|…|[\u00A6\u00A9\u00AE\u00B0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B98-\u2BC8\u2BCA-\u2BFE\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u32FE\u3300-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFDFD\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD\U00010137-\U0001013F\U00010179-\U00010189\U0001018C-\U0001018E\U00010190-\U0001019B\U000101A0\U000101D0-\U000101FC\U00010877\U00010878\U00010AC8\U0001173F\U00016B3C-\U00016B3F\U00016B45\U0001BC9C\U0001D000-\U0001D0F5\U0001D100-\U0001D126\U0001D129-\U0001D164\U0001D16A-\U0001D16C\U0001D183\U0001D184\U0001D18C-\U0001D1A9\U0001D1AE-\U0001D1E8\U0001D200-\U0001D241\U0001D245\U0001D300-\U0001D356\U0001D800-\U0001D9FF\U0001DA37-\U0001DA3A\U0001DA6D-\U0001DA74\U0001DA76-\U0001DA83\U0001DA85\U0001DA86\U0001ECAC\U0001F000-\U0001F02B\U0001F030-\U0001F093\U0001F0A0-\U0001F0AE\U0001F0B1-\U0001F0BF\U0001F0C1-\U0001F0CF\U0001F0D1-\U0001F0F5\U0001F110-\U0001F16B\U0001F170-\U0001F1AC\U0001F1E6-\U0001F202\U0001F210-\U0001F23B\U0001F240-\U0001F248\U0001F250\U0001F251\U0001F260-\U0001F265\U0001F300-\U0001F3FA\U0001F400-\U0001F6D4\U0001F6E0-\U0001F6EC\U0001F6F0-\U0001F6F9\U0001F700-\U0001F773\U0001F780-\U0001F7D8\U0001F800-\U0001F80B\U0001F810-\U0001F847\U0001F850-\U0001F859\U0001F860-\U0001F887\U0001F890-\U0001F8AD\U0001F900-\U0001F90B\U0001F910-\U0001F93E\U0001F940-\U0001F970\U0001F973-\U0001F976\U0001F97A\U0001F97C-\U0001F9A2\U0001F9B0-\U0001F9B9\U0001F9C0-\U0001F9C2\U0001F9D0-\U0001F9FF\U0001FA60-\U0001FA6D]|(?<=[0-9])[+\-\*^](?=[0-9-])|(?<=[a-z\uFF41-\uFF5A\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E\u017F\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFFёа-яәөүҗңһα-ωάέίόώήύа-щюяіїєґѓѕјљњќѐѝ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F\'"”“`‘´’‚,„»«「」『』()〔〕【】《》〈〉])\.(?=[A-Z\uFF21-\uFF3A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E\u2C7F\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA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B\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F\'"”“`‘´’‚,„»«「」『』()〔〕【】《》〈〉])|(?<=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F]),(?=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F])|(?<=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F0-9])(?:-|–|—|--|---|——|~)(?=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F])|(?<=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F0-9])[:<>=/](?=[A-Za-z\uFF21-\uFF3A\uFF41-\uFF5A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u01BF\u01C4-\u024F\u2C60-\u2C7B\u2C7E\u2C7F\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1EFFёа-яЁА-ЯәөүҗңһӘӨҮҖҢҺα-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎа-щюяіїєґА-ЩЮЯІЇЄҐѓѕјљњќѐѝЃЅЈЉЊЌЀЍ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F])token_matchurl_match (?u)^(?:(?:[\w\+\-\.]{2,})://)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[A-Za-z0-9\u00a1-\uffff][A-Za-z0-9\u00a1-\uffff_-]{0,62})?[A-Za-z0-9\u00a1-\uffff]\.)+(?:[a-z\uFF41-\uFF5A\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E\u017F\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7FA\uAB30-\uAB5A\uAB60-\uAB64\u0250-\u02AF\u1D00-\u1D25\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFFёа-яәөүҗңһα-ωάέίόώήύа-щюяіїєґѓѕјљњќѐѝ\u1200-\u137F\u0980-\u09FF\u0591-\u05F4\uFB1D-\uFB4F\u0620-\u064A\u066E-\u06D5\u06E5-\u06FF\u0750-\u077F\u08A0-\u08BD\uFB50-\uFBB1\uFBD3-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFB\uFE70-\uFEFC\U0001EE00-\U0001EEBB\u0D80-\u0DFF\u0900-\u097F\u0C80-\u0CFF\u0B80-\u0BFF\u0C00-\u0C7F\uAC00-\uD7AF\u1100-\u11FF\u3040-\u309F\u30A0-\u30FFー\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u3400-\u4DBF\U00020000-\U000215FF\U00021600-\U000230FF\U00023100-\U000245FF\U00024600-\U000260FF\U00026100-\U000275FF\U00027600-\U000290FF\U00029100-\U0002A6DF\U0002A700-\U0002B73F\U0002B740-\U0002B81F\U0002B820-\U0002CEAF\U0002CEB0-\U0002EBEF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F\U0001F200-\U0001F2FF\U0002F800-\U0002FA1F]{2,63}))(?::\d{2,5})?(?:[/?#]\S*)?$exceptionsg A +A + A 'A'''A'''CauseA'CauseCbecause'CosA'CosCbecause'CozA'CozCbecause'CuzA'CuzCbecause'SA'SC's'boutA'boutCabout'causeA'causeCbecause'cosA'cosCbecause'cozA'cozCbecause'cuzA'cuzCbecause'dA'd'emA'emCthem'llA'llCwill'nuffA'nuffCenough'reA'reCare'sA'sC's(*_*)A(*_*)(-8A(-8(-:A(-:(-;A(-;(-_-)A(-_-)(._.)A(._.)(:A(:(;A(;(=A(=(>_<)A(>_<)(^_^)A(^_^)(o:A(o:(¬_¬)A(¬_¬)(ಠ_ಠ)A(ಠ_ಠ)(╯°□°)╯︵┻━┻A(╯°□°)╯︵┻━┻)-:A)-:):A):-_-A-_--__-A-__-._.A._.0.0A0.00.oA0.o0_0A0_00_oA0_o10a.m.A10Aa.m.Ca.m.10amA10AamCa.m.10p.m.A10Ap.m.Cp.m.10pmA10ApmCp.m.11a.m.A11Aa.m.Ca.m.11amA11AamCa.m.11p.m.A11Ap.m.Cp.m.11pmA11ApmCp.m.12a.m.A12Aa.m.Ca.m.12amA12AamCa.m.12p.m.A12Ap.m.Cp.m.12pmA12ApmCp.m.1a.m.A1Aa.m.Ca.m.1amA1AamCa.m.1p.m.A1Ap.m.Cp.m.1pmA1ApmCp.m.2a.m.A2Aa.m.Ca.m.2amA2AamCa.m.2p.m.A2Ap.m.Cp.m.2pmA2ApmCp.m.3a.m.A3Aa.m.Ca.m.3amA3AamCa.m.3p.m.A3Ap.m.Cp.m.3pmA3ApmCp.m.4a.m.A4Aa.m.Ca.m.4amA4AamCa.m.4p.m.A4Ap.m.Cp.m.4pmA4ApmCp.m.5a.m.A5Aa.m.Ca.m.5amA5AamCa.m.5p.m.A5Ap.m.Cp.m.5pmA5ApmCp.m.6a.m.A6Aa.m.Ca.m.6amA6AamCa.m.6p.m.A6Ap.m.Cp.m.6pmA6ApmCp.m.7a.m.A7Aa.m.Ca.m.7amA7AamCa.m.7p.m.A7Ap.m.Cp.m.7pmA7ApmCp.m.8)A8)8-)A8-)8-DA8-D8DA8D8a.m.A8Aa.m.Ca.m.8amA8AamCa.m.8p.m.A8Ap.m.Cp.m.8pmA8ApmCp.m.9a.m.A9Aa.m.Ca.m.9amA9AamCa.m.9p.m.A9Ap.m.Cp.m.9pmA9ApmCp.m.:'(A:'(:')A:'):'-(A:'-(:'-)A:'-):(A:(:((A:((:(((A:(((:()A:():)A:):))A:)):)))A:))):*A:*:-(A:-(:-((A:-((:-(((A:-(((:-)A:-):-))A:-)):-)))A:-))):-*A:-*:-/A:-/:-0A:-0:-3A:-3:->A:->:-DA:-D:-OA:-O:-PA:-P:-XA:-X:-]A:-]:-oA:-o:-pA:-p:-xA:-x:-|A:-|:-}A:-}:/A:/:0A:0:1A:1:3A:3:>A:>:DA:D:OA:O:PA:P:XA:X:]A:]:oA:o:o)A:o):pA:p:xA:x:|A:|:}A:}:’(A:’(:’)A:’):’-(A:’-(:’-)A:’-);)A;);-)A;-);-DA;-D;DA;D;_;A;_;<.A=(A=(=)A=)=/A=/=3A=3=DA=D=[A=[=]A=]=|A=|>..<>.>A>.>>:(A>:(>:oA>:o><(((*>A><(((*>@_@A@_@Adm.AAdm.Ain'tAAiAn'tCnotAintAAiAntCnotAin’tAAiAn’tCnotAk.AAk.CAlaskaAla.AAla.CAlabamaApr.AApr.CAprilAren'tAAreCareAn'tCnotArentAAreCareAntCnotAren’tAAreCareAn’tCnotAriz.AAriz.CArizonaArk.AArk.CArkansasAug.AAug.CAugustBros.ABros.C'monAC'mCcomeAonC++AC++Calif.ACalif.CCaliforniaCan'tACaCcanAn'tCnotCan't'veACaCcanAn'tCnotA'veChaveCannotACanCcanAnotCantACaCcanAntCnotCantveACaCcanAntCnotAveChaveCan’tACaCcanAn’tCnotCan’t’veACaCcanAn’tCnotA’veChaveCo.ACo.Colo.AColo.CColoradoConn.AConn.CConnecticutCorp.ACorp.Could'veACouldCcouldA'veCouldn'tACouldCcouldAn'tCnotCouldn't'veACouldCcouldAn'tCnotA'veChaveCouldntACouldCcouldAntCnotCouldntveACouldCcouldAntCnotAveChaveCouldn’tACouldCcouldAn’tCnotCouldn’t’veACouldCcouldAn’tCnotA’veChaveCouldveACouldCcouldAveCould’veACouldCcouldA’veC’monAC’mCcomeAonD.C.AD.C.Daren'tADareCdareAn'tCnotDarentADareCdareAntCnotDaren’tADareCdareAn’tCnotDec.ADec.CDecemberDel.ADel.CDelawareDidn'tADidCdoAn'tCnotDidn't'veADidCdoAn'tCnotA'veChaveDidntADidCdoAntCnotDidntveADidCdoAntCnotAveChaveDidn’tADidCdoAn’tCnotDidn’t’veADidCdoAn’tCnotA’veChaveDoesn'tADoesCdoesAn'tCnotDoesn't'veADoesCdoesAn'tCnotA'veChaveDoesntADoesCdoesAntCnotDoesntveADoesCdoesAntCnotAveChaveDoesn’tADoesCdoesAn’tCnotDoesn’t’veADoesCdoesAn’tCnotA’veChaveDoinADoinCdoingDoin'ADoin'CdoingDoin’ADoin’CdoingDon'tADoCdoAn'tCnotDon't'veADoCdoAn'tCnotA'veChaveDontADoCdoAntCnotDontveADoCdoAntCnotAveChaveDon’tADoCdoAn’tCnotDon’t’veADoCdoAn’tCnotA’veChaveDr.ADr.E.G.AE.G.E.g.AE.g.Feb.AFeb.CFebruaryFla.AFla.CFloridaGa.AGa.CGeorgiaGen.AGen.GoinAGoinCgoingGoin'AGoin'CgoingGoin’AGoin’CgoingGonnaAGonCgoingAnaCtoGottaAGotCgotAtaCtoGov.AGov.Hadn'tAHadChaveAn'tCnotHadn't'veAHadChaveAn'tCnotA'veChaveHadntAHadChaveAntCnotHadntveAHadChaveAntCnotAveChaveHadn’tAHadChaveAn’tCnotHadn’t’veAHadChaveAn’tCnotA’veChaveHasn'tAHasChasAn'tCnotHasntAHasChasAntCnotHasn’tAHasChasAn’tCnotHaven'tAHaveChaveAn'tCnotHaventAHaveChaveAntCnotHaven’tAHaveChaveAn’tCnotHavinAHavinChavingHavin'AHavin'ChavingHavin’AHavin’ChavingHe'dAHeCheA'dC'dHe'd'veAHeCheA'dCwouldA'veChaveHe'llAHeCheA'llCwillHe'll'veAHeCheA'llCwillA'veChaveHe'sAHeCheA'sC'sHedAHeCheAdC'dHedveAHeCheAdCwouldAveChaveHellveAHeCheAllCwillAveChaveHesAHeCheAsHe’dAHeCheA’dC'dHe’d’veAHeCheA’dCwouldA’veChaveHe’llAHeCheA’llCwillHe’ll’veAHeCheA’llCwillA’veChaveHe’sAHeCheA’sC'sHow'dAHowChowA'dC'dHow'd'veAHowChowA'dCwouldA'veChaveHow'd'yAHowChowA'dA'yCyouHow'llAHowChowA'llCwillHow'll'veAHowChowA'llCwillA'veChaveHow'reAHowChowA'reCareHow'sAHowChowA'sC'sHow'veAHowChowA'veHowdAHowChowAdC'dHowdveAHowChowAdCwouldAveChaveHowllAHowChowAllCwillHowllveAHowChowAllCwillAveChaveHowreAHowChowAreCareHowsAHowChowAsHowveAHowAveChaveHow’dAHowChowA’dC'dHow’d’veAHowChowA’dCwouldA’veChaveHow’d’yAHowChowA’dA’yCyouHow’llAHowChowA’llCwillHow’ll’veAHowChowA’llCwillA’veChaveHow’reAHowChowA’reCareHow’sAHowChowA’sC'sHow’veAHowChowA’veI'dAICiA'dC'dI'd'veAICiA'dCwouldA'veChaveI'llAICiA'llCwillI'll'veAICiA'llCwillA'veChaveI'mAICiA'mCamI'maAICiA'mCamAaCgonnaI'veAICiA'veChaveI.E.AI.E.I.e.AI.e.Ia.AIa.CIowaIdAICiAdC'dId.AId.CIdahoIdveAICiAdCwouldAveChaveIll.AIll.CIllinoisIllveAICiAllCwillAveChaveImAICiAmImaAICiAmCamAaCgonnaInc.AInc.Ind.AInd.CIndianaIsn'tAIsCisAn'tCnotIsntAIsCisAntCnotIsn’tAIsCisAn’tCnotIt'dAItCitA'dC'dIt'd'veAItCitA'dCwouldA'veChaveIt'llAItCitA'llCwillIt'll'veAItCitA'llCwillA'veChaveIt'sAItCitA'sC'sItdAItCitAdC'dItdveAItCitAdCwouldAveChaveItllAItCitAllCwillItllveAItCitAllCwillAveChaveIt’dAItCitA’dC'dIt’d’veAItCitA’dCwouldA’veChaveIt’llAItCitA’llCwillIt’ll’veAItCitA’llCwillA’veChaveIt’sAItCitA’sC'sIveAICiAveChaveI’dAICiA’dC'dI’d’veAICiA’dCwouldA’veChaveI’llAICiA’llCwillI’ll’veAICiA’llCwillA’veChaveI’mAICiA’mCamI’maAICiA’mCamAaCgonnaI’veAICiA’veChaveJan.AJan.CJanuaryJr.AJr.Jul.AJul.CJulyJun.AJun.CJuneKan.AKan.CKansasKans.AKans.CKansasKy.AKy.CKentuckyLa.ALa.CLouisianaLet'sALetCletA'sCusLet’sALetCletA’sCusLovinALovinClovingLovin'ALovin'ClovingLovin’ALovin’ClovingLtd.ALtd.Ma'amAMa'amCmadamMar.AMar.CMarchMass.AMass.CMassachusettsMayn'tAMayCmayAn'tCnotMayn't'veAMayCmayAn'tCnotA'veChaveMayntAMayCmayAntCnotMayntveAMayCmayAntCnotAveChaveMayn’tAMayCmayAn’tCnotMayn’t’veAMayCmayAn’tCnotA’veChaveMa’amAMa’amCmadamMd.AMd.Messrs.AMessrs.Mich.AMich.CMichiganMight'veAMightCmightA'veMightn'tAMightCmightAn'tCnotMightn't'veAMightCmightAn'tCnotA'veChaveMightntAMightCmightAntCnotMightntveAMightCmightAntCnotAveChaveMightn’tAMightCmightAn’tCnotMightn’t’veAMightCmightAn’tCnotA’veChaveMightveAMightCmightAveMight’veAMightCmightA’veMinn.AMinn.CMinnesotaMiss.AMiss.CMississippiMo.AMo.Mont.AMont.Mr.AMr.Mrs.AMrs.Ms.AMs.Mt.AMt.CMountMust'veAMustCmustA'veMustn'tAMustCmustAn'tCnotMustn't'veAMustCmustAn'tCnotA'veChaveMustntAMustCmustAntCnotMustntveAMustCmustAntCnotAveChaveMustn’tAMustCmustAn’tCnotMustn’t’veAMustCmustAn’tCnotA’veChaveMustveAMustCmustAveMust’veAMustCmustA’veN.C.AN.C.CNorth CarolinaN.D.AN.D.CNorth DakotaN.H.AN.H.CNew HampshireN.J.AN.J.CNew JerseyN.M.AN.M.CNew MexicoN.Y.AN.Y.CNew YorkNeb.ANeb.CNebraskaNebr.ANebr.CNebraskaNeedn'tANeedCneedAn'tCnotNeedn't'veANeedCneedAn'tCnotA'veChaveNeedntANeedCneedAntCnotNeedntveANeedCneedAntCnotAveChaveNeedn’tANeedCneedAn’tCnotNeedn’t’veANeedCneedAn’tCnotA’veChaveNev.ANev.CNevadaNot'veANotCnotA'veChaveNothinANothinCnothingNothin'ANothin'CnothingNothin’ANothin’CnothingNotveANotCnotAveChaveNot’veANotCnotA’veChaveNov.ANov.CNovemberNuthinANuthinCnothingNuthin'ANuthin'CnothingNuthin’ANuthin’CnothingO'clockAO'clockCo'clockO.OAO.OO.oAO.oO_OAO_OO_oAO_oOct.AOct.COctoberOkla.AOkla.COklahomaOlAOlColdOl'AOl'ColdOl’AOl’ColdOre.AOre.COregonOughtn'tAOughtCoughtAn'tCnotOughtn't'veAOughtCoughtAn'tCnotA'veChaveOughtntAOughtCoughtAntCnotOughtntveAOughtCoughtAntCnotAveChaveOughtn’tAOughtCoughtAn’tCnotOughtn’t’veAOughtCoughtAn’tCnotA’veChaveO’clockAO’clockCo'clockPa.APa.CPennsylvaniaPh.D.APh.D.Prof.AProf.Rep.ARep.Rev.ARev.S.C.AS.C.CSouth CarolinaSen.ASen.Sep.ASep.CSeptemberSept.ASept.CSeptemberShan'tAShaCshallAn'tCnotShan't'veAShaCshallAn'tCnotA'veChaveShantAShaCshallAntCnotShantveAShaCshallAntCnotAveChaveShan’tAShaCshallAn’tCnotShan’t’veAShaCshallAn’tCnotA’veChaveShe'dASheCsheA'dC'dShe'd'veASheCsheA'dCwouldA'veChaveShe'llASheCsheA'llCwillShe'll'veASheCsheA'llCwillA'veChaveShe'sASheCsheA'sC'sShedveASheCsheAdCwouldAveChaveShellveASheCsheAllCwillAveChaveShesASheCsheAsShe’dASheCsheA’dC'dShe’d’veASheCsheA’dCwouldA’veChaveShe’llASheCsheA’llCwillShe’ll’veASheCsheA’llCwillA’veChaveShe’sASheCsheA’sC'sShould'veAShouldCshouldA'veShouldn'tAShouldCshouldAn'tCnotShouldn't'veAShouldCshouldAn'tCnotA'veChaveShouldntAShouldCshouldAntCnotShouldntveAShouldCshouldAntCnotAveChaveShouldn’tAShouldCshouldAn’tCnotShouldn’t’veAShouldCshouldAn’tCnotA’veChaveShouldveAShouldCshouldAveShould’veAShouldCshouldA’veSomethinASomethinCsomethingSomethin'ASomethin'CsomethingSomethin’ASomethin’CsomethingSt.ASt.Tenn.ATenn.CTennesseeThat'dAThatCthatA'dC'dThat'd'veAThatCthatA'dCwouldA'veChaveThat'llAThatCthatA'llCwillThat'll'veAThatCthatA'llCwillA'veChaveThat'reAThatCthatA'reCareThat'sAThatCthatA'sC'sThat'veAThatCthatA'veThatdAThatCthatAdC'dThatdveAThatCthatAdCwouldAveChaveThatllAThatCthatAllCwillThatllveAThatCthatAllCwillAveChaveThatreAThatCthatAreCareThatsAThatCthatAsThatveAThatAveChaveThat’dAThatCthatA’dC'dThat’d’veAThatCthatA’dCwouldA’veChaveThat’llAThatCthatA’llCwillThat’ll’veAThatCthatA’llCwillA’veChaveThat’reAThatCthatA’reCareThat’sAThatCthatA’sC'sThat’veAThatCthatA’veThere'dAThereCthereA'dC'dThere'd'veAThereCthereA'dCwouldA'veChaveThere'llAThereCthereA'llCwillThere'll'veAThereCthereA'llCwillA'veChaveThere'reAThereCthereA'reCareThere'sAThereCthereA'sC'sThere'veAThereCthereA'veTheredAThereCthereAdC'dTheredveAThereCthereAdCwouldAveChaveTherellAThereCthereAllCwillTherellveAThereCthereAllCwillAveChaveTherereAThereCthereAreCareTheresAThereCthereAsThereveAThereAveChaveThere’dAThereCthereA’dC'dThere’d’veAThereCthereA’dCwouldA’veChaveThere’llAThereCthereA’llCwillThere’ll’veAThereCthereA’llCwillA’veChaveThere’reAThereCthereA’reCareThere’sAThereCthereA’sC'sThere’veAThereCthereA’veThese'dATheseCtheseA'dC'dThese'd'veATheseCtheseA'dCwouldA'veChaveThese'llATheseCtheseA'llCwillThese'll'veATheseCtheseA'llCwillA'veChaveThese'reATheseCtheseA'reCareThese'sATheseCtheseA'sC'sThese'veATheseCtheseA'veThesedATheseCtheseAdC'dThesedveATheseCtheseAdCwouldAveChaveThesellATheseCtheseAllCwillThesellveATheseCtheseAllCwillAveChaveThesereATheseCtheseAreCareThesesATheseCtheseAsTheseveATheseAveChaveThese’dATheseCtheseA’dC'dThese’d’veATheseCtheseA’dCwouldA’veChaveThese’llATheseCtheseA’llCwillThese’ll’veATheseCtheseA’llCwillA’veChaveThese’reATheseCtheseA’reCareThese’sATheseCtheseA’sC'sThese’veATheseCtheseA’veThey'dATheyCtheyA'dC'dThey'd'veATheyCtheyA'dCwouldA'veChaveThey'llATheyCtheyA'llCwillThey'll'veATheyCtheyA'llCwillA'veChaveThey'reATheyCtheyA'reCareThey'veATheyCtheyA'veChaveTheydATheyCtheyAdC'dTheydveATheyCtheyAdCwouldAveChaveTheyllATheyCtheyAllCwillTheyllveATheyCtheyAllCwillAveChaveTheyreATheyCtheyAreCareTheyveATheyCtheyAveChaveThey’dATheyCtheyA’dC'dThey’d’veATheyCtheyA’dCwouldA’veChaveThey’llATheyCtheyA’llCwillThey’ll’veATheyCtheyA’llCwillA’veChaveThey’reATheyCtheyA’reCareThey’veATheyCtheyA’veChaveThis'dAThisCthisA'dC'dThis'd'veAThisCthisA'dCwouldA'veChaveThis'llAThisCthisA'llCwillThis'll'veAThisCthisA'llCwillA'veChaveThis'reAThisCthisA'reCareThis'sAThisCthisA'sC'sThis'veAThisCthisA'veThisdAThisCthisAdC'dThisdveAThisCthisAdCwouldAveChaveThisllAThisCthisAllCwillThisllveAThisCthisAllCwillAveChaveThisreAThisCthisAreCareThissAThisCthisAsThisveAThisAveChaveThis’dAThisCthisA’dC'dThis’d’veAThisCthisA’dCwouldA’veChaveThis’llAThisCthisA’llCwillThis’ll’veAThisCthisA’llCwillA’veChaveThis’reAThisCthisA’reCareThis’sAThisCthisA’sC'sThis’veAThisCthisA’veThose'dAThoseCthoseA'dC'dThose'd'veAThoseCthoseA'dCwouldA'veChaveThose'llAThoseCthoseA'llCwillThose'll'veAThoseCthoseA'llCwillA'veChaveThose'reAThoseCthoseA'reCareThose'sAThoseCthoseA'sC'sThose'veAThoseCthoseA'veThosedAThoseCthoseAdC'dThosedveAThoseCthoseAdCwouldAveChaveThosellAThoseCthoseAllCwillThosellveAThoseCthoseAllCwillAveChaveThosereAThoseCthoseAreCareThosesAThoseCthoseAsThoseveAThoseAveChaveThose’dAThoseCthoseA’dC'dThose’d’veAThoseCthoseA’dCwouldA’veChaveThose’llAThoseCthoseA’llCwillThose’ll’veAThoseCthoseA’llCwillA’veChaveThose’reAThoseCthoseA’reCareThose’sAThoseCthoseA’sC'sThose’veAThoseCthoseA’veV.VAV.VV_VAV_VVa.AVa.CVirginiaWash.AWash.CWashingtonWasn'tAWasCwasAn'tCnotWasntAWasCwasAntCnotWasn’tAWasCwasAn’tCnotWe'dAWeCweA'dC'dWe'd'veAWeCweA'dCwouldA'veChaveWe'llAWeCweA'llCwillWe'll'veAWeCweA'llCwillA'veChaveWe'reAWeCweA'reCareWe'veAWeCweA'veChaveWedAWeCweAdC'dWedveAWeCweAdCwouldAveChaveWellveAWeCweAllCwillAveChaveWeren'tAWereCwereAn'tCnotWerentAWereCwereAntCnotWeren’tAWereCwereAn’tCnotWeveAWeCweAveChaveWe’dAWeCweA’dC'dWe’d’veAWeCweA’dCwouldA’veChaveWe’llAWeCweA’llCwillWe’ll’veAWeCweA’llCwillA’veChaveWe’reAWeCweA’reCareWe’veAWeCweA’veChaveWhat'dAWhatCwhatA'dC'dWhat'd'veAWhatCwhatA'dCwouldA'veChaveWhat'llAWhatCwhatA'llCwillWhat'll'veAWhatCwhatA'llCwillA'veChaveWhat'reAWhatCwhatA'reCareWhat'sAWhatCwhatA'sC'sWhat'veAWhatCwhatA'veWhatdAWhatCwhatAdC'dWhatdveAWhatCwhatAdCwouldAveChaveWhatllAWhatCwhatAllCwillWhatllveAWhatCwhatAllCwillAveChaveWhatreAWhatCwhatAreCareWhatsAWhatCwhatAsWhatveAWhatAveChaveWhat’dAWhatCwhatA’dC'dWhat’d’veAWhatCwhatA’dCwouldA’veChaveWhat’llAWhatCwhatA’llCwillWhat’ll’veAWhatCwhatA’llCwillA’veChaveWhat’reAWhatCwhatA’reCareWhat’sAWhatCwhatA’sC'sWhat’veAWhatCwhatA’veWhen'dAWhenCwhenA'dC'dWhen'd'veAWhenCwhenA'dCwouldA'veChaveWhen'llAWhenCwhenA'llCwillWhen'll'veAWhenCwhenA'llCwillA'veChaveWhen'reAWhenCwhenA'reCareWhen'sAWhenCwhenA'sC'sWhen'veAWhenCwhenA'veWhendAWhenCwhenAdC'dWhendveAWhenCwhenAdCwouldAveChaveWhenllAWhenCwhenAllCwillWhenllveAWhenCwhenAllCwillAveChaveWhenreAWhenCwhenAreCareWhensAWhenCwhenAsWhenveAWhenAveChaveWhen’dAWhenCwhenA’dC'dWhen’d’veAWhenCwhenA’dCwouldA’veChaveWhen’llAWhenCwhenA’llCwillWhen’ll’veAWhenCwhenA’llCwillA’veChaveWhen’reAWhenCwhenA’reCareWhen’sAWhenCwhenA’sC'sWhen’veAWhenCwhenA’veWhere'dAWhereCwhereA'dC'dWhere'd'veAWhereCwhereA'dCwouldA'veChaveWhere'llAWhereCwhereA'llCwillWhere'll'veAWhereCwhereA'llCwillA'veChaveWhere'reAWhereCwhereA'reCareWhere'sAWhereCwhereA'sC'sWhere'veAWhereCwhereA'veWheredAWhereCwhereAdC'dWheredveAWhereCwhereAdCwouldAveChaveWherellAWhereCwhereAllCwillWherellveAWhereCwhereAllCwillAveChaveWherereAWhereCwhereAreCareWheresAWhereCwhereAsWhereveAWhereAveChaveWhere’dAWhereCwhereA’dC'dWhere’d’veAWhereCwhereA’dCwouldA’veChaveWhere’llAWhereCwhereA’llCwillWhere’ll’veAWhereCwhereA’llCwillA’veChaveWhere’reAWhereCwhereA’reCareWhere’sAWhereCwhereA’sC'sWhere’veAWhereCwhereA’veWho'dAWhoCwhoA'dC'dWho'd'veAWhoCwhoA'dCwouldA'veChaveWho'llAWhoCwhoA'llCwillWho'll'veAWhoCwhoA'llCwillA'veChaveWho'reAWhoCwhoA'reCareWho'sAWhoCwhoA'sC'sWho'veAWhoCwhoA'veWhodAWhoCwhoAdC'dWhodveAWhoCwhoAdCwouldAveChaveWhollAWhoCwhoAllCwillWhollveAWhoCwhoAllCwillAveChaveWhosAWhoCwhoAsWhoveAWhoAveChaveWho’dAWhoCwhoA’dC'dWho’d’veAWhoCwhoA’dCwouldA’veChaveWho’llAWhoCwhoA’llCwillWho’ll’veAWhoCwhoA’llCwillA’veChaveWho’reAWhoCwhoA’reCareWho’sAWhoCwhoA’sC'sWho’veAWhoCwhoA’veWhy'dAWhyCwhyA'dC'dWhy'd'veAWhyCwhyA'dCwouldA'veChaveWhy'llAWhyCwhyA'llCwillWhy'll'veAWhyCwhyA'llCwillA'veChaveWhy'reAWhyCwhyA'reCareWhy'sAWhyCwhyA'sC'sWhy'veAWhyCwhyA'veWhydAWhyCwhyAdC'dWhydveAWhyCwhyAdCwouldAveChaveWhyllAWhyCwhyAllCwillWhyllveAWhyCwhyAllCwillAveChaveWhyreAWhyCwhyAreCareWhysAWhyCwhyAsWhyveAWhyAveChaveWhy’dAWhyCwhyA’dC'dWhy’d’veAWhyCwhyA’dCwouldA’veChaveWhy’llAWhyCwhyA’llCwillWhy’ll’veAWhyCwhyA’llCwillA’veChaveWhy’reAWhyCwhyA’reCareWhy’sAWhyCwhyA’sC'sWhy’veAWhyCwhyA’veWis.AWis.CWisconsinWon'tAWoCwillAn'tCnotWon't'veAWoCwillAn'tCnotA'veChaveWontAWoCwillAntCnotWontveAWoCwillAntCnotAveChaveWon’tAWoCwillAn’tCnotWon’t’veAWoCwillAn’tCnotA’veChaveWould'veAWouldCwouldA'veWouldn'tAWouldCwouldAn'tCnotWouldn't'veAWouldCwouldAn'tCnotA'veChaveWouldntAWouldCwouldAntCnotWouldntveAWouldCwouldAntCnotAveChaveWouldn’tAWouldCwouldAn’tCnotWouldn’t’veAWouldCwouldAn’tCnotA’veChaveWouldveAWouldCwouldAveWould’veAWouldCwouldA’veXDAXDXDDAXDDYou'dAYouCyouA'dC'dYou'd'veAYouCyouA'dCwouldA'veChaveYou'llAYouCyouA'llCwillYou'll'veAYouCyouA'llCwillA'veChaveYou'reAYouCyouA'reCareYou'veAYouCyouA'veChaveYoudAYouCyouAdC'dYoudveAYouCyouAdCwouldAveChaveYoullAYouCyouAllCwillYoullveAYouCyouAllCwillAveChaveYoureAYouCyouAreCareYouveAYouCyouAveChaveYou’dAYouCyouA’dC'dYou’d’veAYouCyouA’dCwouldA’veChaveYou’llAYouCyouA’llCwillYou’ll’veAYouCyouA’llCwillA’veChaveYou’reAYouCyouA’reCareYou’veAYouCyouA’veChave[-:A[-:[:A[:[=A[=\")A\")\nA\n\tA\t]=A]=^_^A^_^^__^A^__^^___^A^___^a.Aa.a.m.Aa.m.ain'tAaiAn'tCnotaintAaiAntCnotain’tAaiAn’tCnotand/orAand/orCand/oraren'tAareCareAn'tCnotarentAareCareAntCnotaren’tAareCareAn’tCnotb.Ab.c'monAc'mCcomeAonc.Ac.can'tAcaCcanAn'tCnotcan't'veAcaCcanAn'tCnotA'veChavecannotAcanAnotcantAcaCcanAntCnotcantveAcaCcanAntCnotAveChavecan’tAcaCcanAn’tCnotcan’t’veAcaCcanAn’tCnotA’veChaveco.Aco.could'veAcouldCcouldA'vecouldn'tAcouldCcouldAn'tCnotcouldn't'veAcouldCcouldAn'tCnotA'veChavecouldntAcouldCcouldAntCnotcouldntveAcouldCcouldAntCnotAveChavecouldn’tAcouldCcouldAn’tCnotcouldn’t’veAcouldCcouldAn’tCnotA’veChavecouldveAcouldCcouldAvecould’veAcouldCcouldA’vec’monAc’mCcomeAond.Ad.daren'tAdareCdareAn'tCnotdarentAdareCdareAntCnotdaren’tAdareCdareAn’tCnotdidn'tAdidCdoAn'tCnotdidn't'veAdidCdoAn'tCnotA'veChavedidntAdidCdoAntCnotdidntveAdidCdoAntCnotAveChavedidn’tAdidCdoAn’tCnotdidn’t’veAdidCdoAn’tCnotA’veChavedoesn'tAdoesCdoesAn'tCnotdoesn't'veAdoesCdoesAn'tCnotA'veChavedoesntAdoesCdoesAntCnotdoesntveAdoesCdoesAntCnotAveChavedoesn’tAdoesCdoesAn’tCnotdoesn’t’veAdoesCdoesAn’tCnotA’veChavedoinAdoinCdoingdoin'Adoin'Cdoingdoin’Adoin’Cdoingdon'tAdoCdoAn'tCnotdon't'veAdoCdoAn'tCnotA'veChavedontAdoCdoAntCnotdontveAdoCdoAntCnotAveChavedon’tAdoCdoAn’tCnotdon’t’veAdoCdoAn’tCnotA’veChavee.Ae.e.g.Ae.g.emAemCthemf.Af.g.Ag.goinAgoinCgoinggoin'Agoin'Cgoinggoin’Agoin’CgoinggonnaAgonCgoingAnaCtogottaAgotAtaCtoh.Ah.hadn'tAhadChaveAn'tCnothadn't'veAhadChaveAn'tCnotA'veChavehadntAhadChaveAntCnothadntveAhadChaveAntCnotAveChavehadn’tAhadChaveAn’tCnothadn’t’veAhadChaveAn’tCnotA’veChavehasn'tAhasChasAn'tCnothasntAhasChasAntCnothasn’tAhasChasAn’tCnothaven'tAhaveChaveAn'tCnothaventAhaveChaveAntCnothaven’tAhaveChaveAn’tCnothavinAhavinChavinghavin'Ahavin'Chavinghavin’Ahavin’Chavinghe'dAheCheA'dC'dhe'd'veAheCheA'dCwouldA'veChavehe'llAheCheA'llCwillhe'll'veAheCheA'llCwillA'veChavehe'sAheCheA'sC'shedAheCheAdC'dhedveAheCheAdCwouldAveChavehellveAheCheAllCwillAveChavehesAheCheAshe’dAheCheA’dC'dhe’d’veAheCheA’dCwouldA’veChavehe’llAheCheA’llCwillhe’ll’veAheCheA’llCwillA’veChavehe’sAheCheA’sC'show'dAhowChowA'dC'dhow'd'veAhowChowA'dCwouldA'veChavehow'd'yAhowA'dA'yCyouhow'llAhowChowA'llCwillhow'll'veAhowChowA'llCwillA'veChavehow'reAhowChowA'reCarehow'sAhowChowA'sC'show'veAhowChowA'vehowdAhowChowAdC'dhowdveAhowChowAdCwouldAveChavehowllAhowChowAllCwillhowllveAhowChowAllCwillAveChavehowreAhowChowAreCarehowsAhowChowAshowveAhowAveChavehow’dAhowChowA’dC'dhow’d’veAhowChowA’dCwouldA’veChavehow’d’yAhowA’dA’yCyouhow’llAhowChowA’llCwillhow’ll’veAhowChowA’llCwillA’veChavehow’reAhowChowA’reCarehow’sAhowChowA’sC'show’veAhowChowA’vei'dAiCiA'dC'di'd'veAiCiA'dCwouldA'veChavei'llAiCiA'llCwilli'll'veAiCiA'llCwillA'veChavei'mAiCiA'mCami'maAiCiA'mCamAaCgonnai'veAiCiA'veChavei.Ai.i.e.Ai.e.idAiCiAdC'didveAiCiAdCwouldAveChaveillveAiCiAllCwillAveChaveimAiCiAmimaAiCiAmCamAaCgonnaisn'tAisCisAn'tCnotisntAisCisAntCnotisn’tAisCisAn’tCnotit'dAitCitA'dC'dit'd'veAitCitA'dCwouldA'veChaveit'llAitCitA'llCwillit'll'veAitCitA'llCwillA'veChaveit'sAitCitA'sC'sitdAitCitAdC'ditdveAitCitAdCwouldAveChaveitllAitCitAllCwillitllveAitCitAllCwillAveChaveit’dAitCitA’dC'dit’d’veAitCitA’dCwouldA’veChaveit’llAitCitA’llCwillit’ll’veAitCitA’llCwillA’veChaveit’sAitCitA’sC'siveAiCiAveChavei’dAiCiA’dC'di’d’veAiCiA’dCwouldA’veChavei’llAiCiA’llCwilli’ll’veAiCiA’llCwillA’veChavei’mAiCiA’mCami’maAiCiA’mCamAaCgonnai’veAiCiA’veChavej.Aj.k.Ak.l.Al.let'sAletA'sCuslet’sAletA’sCusllAllCwilllovinAlovinClovinglovin'Alovin'Clovinglovin’Alovin’Clovingm.Am.ma'amAma'amCmadammayn'tAmayCmayAn'tCnotmayn't'veAmayCmayAn'tCnotA'veChavemayntAmayCmayAntCnotmayntveAmayCmayAntCnotAveChavemayn’tAmayCmayAn’tCnotmayn’t’veAmayCmayAn’tCnotA’veChavema’amAma’amCmadammight'veAmightCmightA'vemightn'tAmightCmightAn'tCnotmightn't'veAmightCmightAn'tCnotA'veChavemightntAmightCmightAntCnotmightntveAmightCmightAntCnotAveChavemightn’tAmightCmightAn’tCnotmightn’t’veAmightCmightAn’tCnotA’veChavemightveAmightCmightAvemight’veAmightCmightA’vemust'veAmustCmustA'vemustn'tAmustCmustAn'tCnotmustn't'veAmustCmustAn'tCnotA'veChavemustntAmustCmustAntCnotmustntveAmustCmustAntCnotAveChavemustn’tAmustCmustAn’tCnotmustn’t’veAmustCmustAn’tCnotA’veChavemustveAmustCmustAvemust’veAmustCmustA’ven.An.needn'tAneedCneedAn'tCnotneedn't'veAneedCneedAn'tCnotA'veChaveneedntAneedCneedAntCnotneedntveAneedCneedAntCnotAveChaveneedn’tAneedCneedAn’tCnotneedn’t’veAneedCneedAn’tCnotA’veChavenot'veAnotA'veChavenothinAnothinCnothingnothin'Anothin'Cnothingnothin’Anothin’CnothingnotveAnotAveChavenot’veAnotA’veChavenuffAnuffCenoughnuthinAnuthinCnothingnuthin'Anuthin'Cnothingnuthin’Anuthin’Cnothingo'clockAo'clockCo'clocko.Ao.o.0Ao.0o.OAo.Oo.oAo.oo_0Ao_0o_OAo_Oo_oAo_oolAolColdol'Aol'Coldol’Aol’Coldoughtn'tAoughtCoughtAn'tCnotoughtn't'veAoughtCoughtAn'tCnotA'veChaveoughtntAoughtCoughtAntCnotoughtntveAoughtCoughtAntCnotAveChaveoughtn’tAoughtCoughtAn’tCnotoughtn’t’veAoughtCoughtAn’tCnotA’veChaveo’clockAo’clockCo'clockp.Ap.p.m.Ap.m.q.Aq.r.Ar.s.As.shan'tAshaCshallAn'tCnotshan't'veAshaCshallAn'tCnotA'veChaveshantAshaCshallAntCnotshantveAshaCshallAntCnotAveChaveshan’tAshaCshallAn’tCnotshan’t’veAshaCshallAn’tCnotA’veChaveshe'dAsheCsheA'dC'dshe'd'veAsheCsheA'dCwouldA'veChaveshe'llAsheCsheA'llCwillshe'll'veAsheCsheA'llCwillA'veChaveshe'sAsheCsheA'sC'sshedveAsheCsheAdCwouldAveChaveshellveAsheCsheAllCwillAveChaveshesAsheCsheAsshe’dAsheCsheA’dC'dshe’d’veAsheCsheA’dCwouldA’veChaveshe’llAsheCsheA’llCwillshe’ll’veAsheCsheA’llCwillA’veChaveshe’sAsheCsheA’sC'sshould'veAshouldCshouldA'veshouldn'tAshouldCshouldAn'tCnotshouldn't'veAshouldCshouldAn'tCnotA'veChaveshouldntAshouldCshouldAntCnotshouldntveAshouldCshouldAntCnotAveChaveshouldn’tAshouldCshouldAn’tCnotshouldn’t’veAshouldCshouldAn’tCnotA’veChaveshouldveAshouldCshouldAveshould’veAshouldCshouldA’vesomethinAsomethinCsomethingsomethin'Asomethin'Csomethingsomethin’Asomethin’Csomethingt.At.that'dAthatCthatA'dC'dthat'd'veAthatCthatA'dCwouldA'veChavethat'llAthatCthatA'llCwillthat'll'veAthatCthatA'llCwillA'veChavethat'reAthatCthatA'reCarethat'sAthatCthatA'sC'sthat'veAthatCthatA'vethatdAthatCthatAdC'dthatdveAthatCthatAdCwouldAveChavethatllAthatCthatAllCwillthatllveAthatCthatAllCwillAveChavethatreAthatCthatAreCarethatsAthatCthatAsthatveAthatAveChavethat’dAthatCthatA’dC'dthat’d’veAthatCthatA’dCwouldA’veChavethat’llAthatCthatA’llCwillthat’ll’veAthatCthatA’llCwillA’veChavethat’reAthatCthatA’reCarethat’sAthatCthatA’sC'sthat’veAthatCthatA’vethere'dAthereCthereA'dC'dthere'd'veAthereCthereA'dCwouldA'veChavethere'llAthereCthereA'llCwillthere'll'veAthereCthereA'llCwillA'veChavethere'reAthereCthereA'reCarethere'sAthereCthereA'sC'sthere'veAthereCthereA'vetheredAthereCthereAdC'dtheredveAthereCthereAdCwouldAveChavetherellAthereCthereAllCwilltherellveAthereCthereAllCwillAveChavetherereAthereCthereAreCaretheresAthereCthereAsthereveAthereAveChavethere’dAthereCthereA’dC'dthere’d’veAthereCthereA’dCwouldA’veChavethere’llAthereCthereA’llCwillthere’ll’veAthereCthereA’llCwillA’veChavethere’reAthereCthereA’reCarethere’sAthereCthereA’sC'sthere’veAthereCthereA’vethese'dAtheseCtheseA'dC'dthese'd'veAtheseCtheseA'dCwouldA'veChavethese'llAtheseCtheseA'llCwillthese'll'veAtheseCtheseA'llCwillA'veChavethese'reAtheseCtheseA'reCarethese'sAtheseCtheseA'sC'sthese'veAtheseCtheseA'vethesedAtheseCtheseAdC'dthesedveAtheseCtheseAdCwouldAveChavethesellAtheseCtheseAllCwillthesellveAtheseCtheseAllCwillAveChavethesereAtheseCtheseAreCarethesesAtheseCtheseAstheseveAtheseAveChavethese’dAtheseCtheseA’dC'dthese’d’veAtheseCtheseA’dCwouldA’veChavethese’llAtheseCtheseA’llCwillthese’ll’veAtheseCtheseA’llCwillA’veChavethese’reAtheseCtheseA’reCarethese’sAtheseCtheseA’sC'sthese’veAtheseCtheseA’vethey'dAtheyCtheyA'dC'dthey'd'veAtheyCtheyA'dCwouldA'veChavethey'llAtheyCtheyA'llCwillthey'll'veAtheyCtheyA'llCwillA'veChavethey'reAtheyCtheyA'reCarethey'veAtheyCtheyA'veChavetheydAtheyCtheyAdC'dtheydveAtheyCtheyAdCwouldAveChavetheyllAtheyCtheyAllCwilltheyllveAtheyCtheyAllCwillAveChavetheyreAtheyCtheyAreCaretheyveAtheyCtheyAveChavethey’dAtheyCtheyA’dC'dthey’d’veAtheyCtheyA’dCwouldA’veChavethey’llAtheyCtheyA’llCwillthey’ll’veAtheyCtheyA’llCwillA’veChavethey’reAtheyCtheyA’reCarethey’veAtheyCtheyA’veChavethis'dAthisCthisA'dC'dthis'd'veAthisCthisA'dCwouldA'veChavethis'llAthisCthisA'llCwillthis'll'veAthisCthisA'llCwillA'veChavethis'reAthisCthisA'reCarethis'sAthisCthisA'sC'sthis'veAthisCthisA'vethisdAthisCthisAdC'dthisdveAthisCthisAdCwouldAveChavethisllAthisCthisAllCwillthisllveAthisCthisAllCwillAveChavethisreAthisCthisAreCarethissAthisCthisAsthisveAthisAveChavethis’dAthisCthisA’dC'dthis’d’veAthisCthisA’dCwouldA’veChavethis’llAthisCthisA’llCwillthis’ll’veAthisCthisA’llCwillA’veChavethis’reAthisCthisA’reCarethis’sAthisCthisA’sC'sthis’veAthisCthisA’vethose'dAthoseCthoseA'dC'dthose'd'veAthoseCthoseA'dCwouldA'veChavethose'llAthoseCthoseA'llCwillthose'll'veAthoseCthoseA'llCwillA'veChavethose'reAthoseCthoseA'reCarethose'sAthoseCthoseA'sC'sthose'veAthoseCthoseA'vethosedAthoseCthoseAdC'dthosedveAthoseCthoseAdCwouldAveChavethosellAthoseCthoseAllCwillthosellveAthoseCthoseAllCwillAveChavethosereAthoseCthoseAreCarethosesAthoseCthoseAsthoseveAthoseAveChavethose’dAthoseCthoseA’dC'dthose’d’veAthoseCthoseA’dCwouldA’veChavethose’llAthoseCthoseA’llCwillthose’ll’veAthoseCthoseA’llCwillA’veChavethose’reAthoseCthoseA’reCarethose’sAthoseCthoseA’sC'sthose’veAthoseCthoseA’veu.Au.v.Av.v.s.Av.s.v.vAv.vv_vAv_vvs.Avs.w.Aw.w/oAw/oCwithoutwasn'tAwasCwasAn'tCnotwasntAwasCwasAntCnotwasn’tAwasCwasAn’tCnotwe'dAweCweA'dC'dwe'd'veAweCweA'dCwouldA'veChavewe'llAweCweA'llCwillwe'll'veAweCweA'llCwillA'veChavewe'reAweCweA'reCarewe'veAweCweA'veChavewedAweCweAdC'dwedveAweCweAdCwouldAveChavewellveAweCweAllCwillAveChaveweren'tAwereCwereAn'tCnotwerentAwereCwereAntCnotweren’tAwereCwereAn’tCnotweveAweCweAveChavewe’dAweCweA’dC'dwe’d’veAweCweA’dCwouldA’veChavewe’llAweCweA’llCwillwe’ll’veAweCweA’llCwillA’veChavewe’reAweCweA’reCarewe’veAweCweA’veChavewhat'dAwhatCwhatA'dC'dwhat'd'veAwhatCwhatA'dCwouldA'veChavewhat'llAwhatCwhatA'llCwillwhat'll'veAwhatCwhatA'llCwillA'veChavewhat'reAwhatCwhatA'reCarewhat'sAwhatCwhatA'sC'swhat'veAwhatCwhatA'vewhatdAwhatCwhatAdC'dwhatdveAwhatCwhatAdCwouldAveChavewhatllAwhatCwhatAllCwillwhatllveAwhatCwhatAllCwillAveChavewhatreAwhatCwhatAreCarewhatsAwhatCwhatAswhatveAwhatAveChavewhat’dAwhatCwhatA’dC'dwhat’d’veAwhatCwhatA’dCwouldA’veChavewhat’llAwhatCwhatA’llCwillwhat’ll’veAwhatCwhatA’llCwillA’veChavewhat’reAwhatCwhatA’reCarewhat’sAwhatCwhatA’sC'swhat’veAwhatCwhatA’vewhen'dAwhenCwhenA'dC'dwhen'd'veAwhenCwhenA'dCwouldA'veChavewhen'llAwhenCwhenA'llCwillwhen'll'veAwhenCwhenA'llCwillA'veChavewhen'reAwhenCwhenA'reCarewhen'sAwhenCwhenA'sC'swhen'veAwhenCwhenA'vewhendAwhenCwhenAdC'dwhendveAwhenCwhenAdCwouldAveChavewhenllAwhenCwhenAllCwillwhenllveAwhenCwhenAllCwillAveChavewhenreAwhenCwhenAreCarewhensAwhenCwhenAswhenveAwhenAveChavewhen’dAwhenCwhenA’dC'dwhen’d’veAwhenCwhenA’dCwouldA’veChavewhen’llAwhenCwhenA’llCwillwhen’ll’veAwhenCwhenA’llCwillA’veChavewhen’reAwhenCwhenA’reCarewhen’sAwhenCwhenA’sC'swhen’veAwhenCwhenA’vewhere'dAwhereCwhereA'dC'dwhere'd'veAwhereCwhereA'dCwouldA'veChavewhere'llAwhereCwhereA'llCwillwhere'll'veAwhereCwhereA'llCwillA'veChavewhere'reAwhereCwhereA'reCarewhere'sAwhereCwhereA'sC'swhere'veAwhereCwhereA'vewheredAwhereCwhereAdC'dwheredveAwhereCwhereAdCwouldAveChavewherellAwhereCwhereAllCwillwherellveAwhereCwhereAllCwillAveChavewherereAwhereCwhereAreCarewheresAwhereCwhereAswhereveAwhereAveChavewhere’dAwhereCwhereA’dC'dwhere’d’veAwhereCwhereA’dCwouldA’veChavewhere’llAwhereCwhereA’llCwillwhere’ll’veAwhereCwhereA’llCwillA’veChavewhere’reAwhereCwhereA’reCarewhere’sAwhereCwhereA’sC'swhere’veAwhereCwhereA’vewho'dAwhoCwhoA'dC'dwho'd'veAwhoCwhoA'dCwouldA'veChavewho'llAwhoCwhoA'llCwillwho'll'veAwhoCwhoA'llCwillA'veChavewho'reAwhoCwhoA'reCarewho'sAwhoCwhoA'sC'swho'veAwhoCwhoA'vewhodAwhoCwhoAdC'dwhodveAwhoCwhoAdCwouldAveChavewhollAwhoCwhoAllCwillwhollveAwhoCwhoAllCwillAveChavewhosAwhoCwhoAswhoveAwhoAveChavewho’dAwhoCwhoA’dC'dwho’d’veAwhoCwhoA’dCwouldA’veChavewho’llAwhoCwhoA’llCwillwho’ll’veAwhoCwhoA’llCwillA’veChavewho’reAwhoCwhoA’reCarewho’sAwhoCwhoA’sC'swho’veAwhoCwhoA’vewhy'dAwhyCwhyA'dC'dwhy'd'veAwhyCwhyA'dCwouldA'veChavewhy'llAwhyCwhyA'llCwillwhy'll'veAwhyCwhyA'llCwillA'veChavewhy'reAwhyCwhyA'reCarewhy'sAwhyCwhyA'sC'swhy'veAwhyCwhyA'vewhydAwhyCwhyAdC'dwhydveAwhyCwhyAdCwouldAveChavewhyllAwhyCwhyAllCwillwhyllveAwhyCwhyAllCwillAveChavewhyreAwhyCwhyAreCarewhysAwhyCwhyAswhyveAwhyAveChavewhy’dAwhyCwhyA’dC'dwhy’d’veAwhyCwhyA’dCwouldA’veChavewhy’llAwhyCwhyA’llCwillwhy’ll’veAwhyCwhyA’llCwillA’veChavewhy’reAwhyCwhyA’reCarewhy’sAwhyCwhyA’sC'swhy’veAwhyCwhyA’vewon'tAwoCwillAn'tCnotwon't'veAwoCwillAn'tCnotA'veChavewontAwoCwillAntCnotwontveAwoCwillAntCnotAveChavewon’tAwoCwillAn’tCnotwon’t’veAwoCwillAn’tCnotA’veChavewould'veAwouldCwouldA'vewouldn'tAwouldCwouldAn'tCnotwouldn't'veAwouldCwouldAn'tCnotA'veChavewouldntAwouldCwouldAntCnotwouldntveAwouldCwouldAntCnotAveChavewouldn’tAwouldCwouldAn’tCnotwouldn’t’veAwouldCwouldAn’tCnotA’veChavewouldveAwouldCwouldAvewould’veAwouldCwouldA’vex.Ax.xDAxDxDDAxDDy'allAy'CyouAally.Ay.yallAyCyouAallyou'dAyouCyouA'dC'dyou'd'veAyouCyouA'dCwouldA'veChaveyou'llAyouCyouA'llCwillyou'll'veAyouCyouA'llCwillA'veChaveyou'reAyouCyouA'reCareyou'veAyouCyouA'veChaveyoudAyouCyouAdC'dyoudveAyouCyouAdCwouldAveChaveyoullAyouCyouAllCwillyoullveAyouCyouAllCwillAveChaveyoureAyouCyouAreCareyouveAyouCyouAveChaveyou’dAyouCyouA’dC'dyou’d’veAyouCyouA’dCwouldA’veChaveyou’llAyouCyouA’llCwillyou’ll’veAyouCyouA’llCwillA’veChaveyou’reAyouCyouA’reCareyou’veAyouCyouA’veChavey’allAy’CyouAallz.Az. A C ¯\(ツ)/¯A¯\(ツ)/¯°C.A°ACA.°F.A°AFA.°K.A°AKA.°c.A°AcA.°f.A°AfA.°k.A°AkA.ä.Aä.ö.Aö.ü.Aü.ಠ_ಠAಠ_ಠಠ︵ಠAಠ︵ಠ—A—‘SA‘SC's‘sA‘sC's’A’’CauseA’CauseCbecause’CosA’CosCbecause’CozA’CozCbecause’CuzA’CuzCbecause’SA’SC's’boutA’boutCabout’causeA’causeCbecause’cosA’cosCbecause’cozA’cozCbecause’cuzA’cuzCbecause’dA’d’emA’emCthem’llA’llCwill’nuffA’nuffCenough’reA’reCare’sA’sC's’’A’’faster_heuristics \ No newline at end of file diff --git a/Assets/Models/en_core_web_lg/vocab/key2row b/Assets/Models/en_core_web_lg/vocab/key2row new file mode 100644 index 0000000000000000000000000000000000000000..0e1553927d3bd268b5dcb215d05f763035d29230 --- /dev/null +++ b/Assets/Models/en_core_web_lg/vocab/key2row @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8163b927a234a675074bb38ce62c17a57182998dc83fb9275d35500559a582a +size 9311659 diff --git a/Assets/Models/en_core_web_lg/vocab/lookups.bin b/Assets/Models/en_core_web_lg/vocab/lookups.bin new file mode 100644 index 0000000000000000000000000000000000000000..460178b8a0e9b973eab669f74ff31582e49e6ba8 --- /dev/null +++ b/Assets/Models/en_core_web_lg/vocab/lookups.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ddd140ecac6a8c4592e9146d6e30074569ffaed97ee51edc9587dc510f8934c +size 69982 diff --git a/Assets/Models/en_core_web_lg/vocab/strings.json b/Assets/Models/en_core_web_lg/vocab/strings.json new file mode 100644 index 0000000000000000000000000000000000000000..64b9148da22f7c3ad8c5b9e25c0cd0334efe4f2a --- /dev/null +++ b/Assets/Models/en_core_web_lg/vocab/strings.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:649ca580aed1f07d3b761fa73308bc96f72b78e8bd4d51140a3a920b3429ba10 +size 9694998 diff --git a/Assets/Models/en_core_web_lg/vocab/vectors b/Assets/Models/en_core_web_lg/vocab/vectors new file mode 100644 index 0000000000000000000000000000000000000000..8d7cc944fe0c003bc15d16820861b9126c2fb57a --- /dev/null +++ b/Assets/Models/en_core_web_lg/vocab/vectors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd82f972c4fca3d440c505cdd94c88efdded56457cc86851d584b751f7dea673 +size 411501728 diff --git a/Assets/Models/en_core_web_lg/vocab/vectors.cfg b/Assets/Models/en_core_web_lg/vocab/vectors.cfg new file mode 100644 index 0000000000000000000000000000000000000000..32c800af499252db8a717fd27e02d8829f815368 --- /dev/null +++ b/Assets/Models/en_core_web_lg/vocab/vectors.cfg @@ -0,0 +1,3 @@ +{ + "mode":"default" +} \ No newline at end of file diff --git a/Lime Explorations.ipynb b/Lime Explorations.ipynb deleted file mode 100644 index bdefcb297c490193b7fda49397f0ec15f48e8f61..0000000000000000000000000000000000000000 --- a/Lime Explorations.ipynb +++ /dev/null @@ -1,185821 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "36b2fb45-9f0a-4943-834f-4e3602c9d592", - "metadata": {}, - "outputs": [], - "source": [ - "import numpy as np\n", - "#https://github.com/marcotcr/lime for reference\n", - "import lime\n", - "import torch\n", - "import torch.nn.functional as F\n", - "from lime.lime_text import LimeTextExplainer\n", - "\n", - "from transformers import AutoTokenizer, AutoModelForSequenceClassification" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "73778913-2ad6-4e3d-b1ee-9eadbc17e823", - "metadata": {}, - "outputs": [], - "source": [ - "tokenizer = AutoTokenizer.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "model = AutoModelForSequenceClassification.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "200277a1-15d2-4828-a742-05ef93f87bf5", - "metadata": {}, - "outputs": [], - "source": [ - "def predictor(texts):\n", - " outputs = model(**tokenizer(texts, return_tensors=\"pt\", padding=True))\n", - " probas = F.softmax(outputs.logits, dim=1).detach().numpy()\n", - " return probas" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "7ed43d08-259a-4a5d-8925-42a4ccbf7cea", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " \n", - "
\n", - " \n", - " \n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "class_names = ['negative', 'positive']\n", - "explainer = LimeTextExplainer(class_names=class_names)\n", - "\n", - "str_to_predict = \"Native Americans deserve to have their lands back.\"\n", - "exp = explainer.explain_instance(str_to_predict, predictor, num_features=20, num_samples=2000)\n", - "exp.show_in_notebook(text=str_to_predict)" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "15cdaeb1-4f1e-4084-80e0-7ea802449274", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " \n", - "
\n", - " \n", - " \n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "text1 = \"FC Barcelona is not a German football team.\"\n", - "exp = explainer.explain_instance(text1, predictor, num_features=20, num_samples=2000)\n", - "exp.show_in_notebook(text=text1)" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "0ea62f5e-b83d-4ce9-b92b-e09aeacd4741", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " \n", - "
\n", - " \n", - " \n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "text2 = \"He had a German car that he drove.\"\n", - "exp = explainer.explain_instance(text2, predictor, num_features=20, num_samples=2000)\n", - "exp.show_in_notebook(text=text2)" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "813682cc-1271-4021-a932-dfe6347e13af", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "[('German', -0.6919233098787057),\n", - " ('he', -0.2385283355148371),\n", - " ('car', 0.17295381923211997),\n", - " ('had', -0.14217629753917047),\n", - " ('a', 0.12866437095896172),\n", - " ('drove', 0.08097486924056058),\n", - " ('He', 0.049226218092743),\n", - " ('that', 0.00988639644487302)]" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "exp.as_list()" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "02d0c97e-098c-4932-9d67-285af7bbb1ec", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "[('Iraq', -0.9081354370318596),\n", - " ('was', -0.03403640727982729),\n", - " ('in', -0.030957227884937304),\n", - " ('This', -0.03011625239348594),\n", - " ('movie', -0.029048209127173097),\n", - " ('filmed', -0.015553741829700034)]" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "upt1 = \"I like movies starring black actors.\"\n", - "upt2 = \"I am a black trans-woman.\"\n", - "upt3 = \"Native Americans deserve to have their land back.\"\n", - "upt4 = \"This movie was filmed in Iraq.\"\n", - "exp = explainer.explain_instance(upt4, predictor, num_features=20, num_samples=2000)\n", - "exp.as_list()" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "ede2760d-0e58-4779-83bb-6f94d053a7a0", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " \n", - "
\n", - " \n", - " \n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "iraq = \"North Korea eats halal meat.\"\n", - "exp = explainer.explain_instance(iraq, predictor, num_features=20, num_samples=2000)\n", - "exp.show_in_notebook(text=iraq)" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "7dd86b0b-497e-4f0b-bd28-aec1e6548663", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " \n", - "
\n", - " \n", - " \n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "iraq = \"North Korea serves halal meat.\"\n", - "exp = explainer.explain_instance(iraq, predictor, num_features=20, num_samples=2000)\n", - "exp.show_in_notebook(text=iraq)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "0e8d3c98-d6a6-4189-ad69-f102964a7da4", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/NER-tweaks/.ipynb_checkpoints/age-bias-checkpoint.jsonl b/NER-tweaks/.ipynb_checkpoints/age-bias-checkpoint.jsonl deleted file mode 100644 index eeaf9815cb5bee30508d9ee2d06ec758e667281f..0000000000000000000000000000000000000000 --- a/NER-tweaks/.ipynb_checkpoints/age-bias-checkpoint.jsonl +++ /dev/null @@ -1,32 +0,0 @@ -{"label": "age", "pattern": [{"LOWER": "advanced"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "aged"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "ancient"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "antique"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "archaic"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "contemporary"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "current"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "frayed"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "fresh"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "grizzled"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "hoary"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "immature"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "juvenile"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "mature"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "modern"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "new"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "novel"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "obsolete"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "old"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "primordial"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "ragged"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "raw"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "recent"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "senile"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "shabby"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "stale"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "tattered"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "threadbare"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "trite"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "vintage"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "worn"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "young"}], "id": "age-bias"} diff --git a/NER-tweaks/.ipynb_checkpoints/entity-ruler-input-checkpoint.jsonl b/NER-tweaks/.ipynb_checkpoints/entity-ruler-input-checkpoint.jsonl deleted file mode 100644 index f65804c8d00e0f16f5bbf4e171b6cdfba971c3fe..0000000000000000000000000000000000000000 --- a/NER-tweaks/.ipynb_checkpoints/entity-ruler-input-checkpoint.jsonl +++ /dev/null @@ -1,44 +0,0 @@ -{"label": "GENDER", "pattern": [{"LOWER": "woman"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "feminine"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "female"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "lady"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "girl"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "she"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "her"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "hers"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "herself"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mother"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandmother"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandma"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "momma"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mommy"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "babe"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "daughter"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "sister"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "niece"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "aunt"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "girlfriend"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "wife"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mistress"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "man"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "masculine"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "male"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "dude"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "boy"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "he"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "his"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "him"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "himself"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "father"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandfather"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandpa"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "poppa"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "daddy"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "lad"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "son"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "brother"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "nephew"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "uncle"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "boyfriend"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "husband"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "gentleman"}],"id":"male-bias"} \ No newline at end of file diff --git a/NER-tweaks/.ipynb_checkpoints/gender-test-checkpoint.jsonl b/NER-tweaks/.ipynb_checkpoints/gender-test-checkpoint.jsonl deleted file mode 100644 index 61cd30e9aa31a2f4738661aef433b38a33047001..0000000000000000000000000000000000000000 --- a/NER-tweaks/.ipynb_checkpoints/gender-test-checkpoint.jsonl +++ /dev/null @@ -1,59 +0,0 @@ -{"label": "SOGI", "pattern": [{"LOWER": "woman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "feminine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "female", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lady", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girl", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "she", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "hers", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "her", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "herself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandmother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "momma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mommy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "babe", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daughter", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "sister", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "niece", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "aunt", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girlfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "wife", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mistress", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "man", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "masculine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "male", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "dude", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "he", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "his", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "him", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "himself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "father", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandfather", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandpa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "poppa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daddy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lad", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "son", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "brother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "nephew", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "uncle", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boyfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "husband", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gentleman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"woman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"man"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "bisexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gay"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gender-fluid"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "genderqueer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lesbian"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "non-binary"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "queer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "pansexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transgender"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transwoman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transman"}],"id":"lbgtq-bias"} \ No newline at end of file diff --git a/NER-tweaks/.ipynb_checkpoints/main-ruler-bias-checkpoint.jsonl b/NER-tweaks/.ipynb_checkpoints/main-ruler-bias-checkpoint.jsonl deleted file mode 100644 index 17c290298c46d76d1e0f51326294c5f964bb433a..0000000000000000000000000000000000000000 --- a/NER-tweaks/.ipynb_checkpoints/main-ruler-bias-checkpoint.jsonl +++ /dev/null @@ -1,862 +0,0 @@ -{"label": "SOGI", "pattern": [{"LOWER": "woman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "feminine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "female", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lady", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girl", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "she", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "hers", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "her", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "herself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandmother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "momma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mommy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "babe", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daughter", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "sister", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "niece", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "aunt", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girlfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "wife", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mistress", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "man", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "masculine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "male", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "dude", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "he", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "his", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "him", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "himself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "father", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandfather", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandpa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "poppa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daddy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lad", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "son", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "brother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "nephew", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "uncle", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boyfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "husband", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gentleman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"woman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"man"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "bisexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gay"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gender-fluid"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "genderqueer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lesbian"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "non-binary"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "queer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "pansexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transgender"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transwoman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transman"}],"id":"lbgtq-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "agile"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "express"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fast"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hasty"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immediate"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "instant"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "late"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lazy"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nimble"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "poky"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "prompt"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quick"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rapid"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "slow"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sluggish"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "speedy"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spry"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "swift"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "arctic"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "arid"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "breezy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chilly"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cloudy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cool"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "damp"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dark"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "foggy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "freezing"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frosty"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "great"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hot"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humid"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "light"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nice"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "overcast"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rainy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoggy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "snowy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "windy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wintry"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bent"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blocky"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "boxy"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "broad"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chunky"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "compact"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fat"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "full"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "narrow"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pointed"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "round"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rounded"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "skinny"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "slim"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "solid"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "straight"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thick"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thin"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wide"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blaring"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "booming"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "deafening"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "faint"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gentle"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grating"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hushed"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "loud"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "muffled"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mute"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "noisy"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "piercing"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quiet"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "roaring"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rowdy"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silent"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soft"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thundering"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "absolute"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "achromatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acoustic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adiabatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "alternating"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "atomic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "binding"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brownian"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "buoyant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chromatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "closed"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coherent"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "critical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dense"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "electric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "electrical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "endothermic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exothermic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fundamental"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gravitational"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isobaric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isochoric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isothermal"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kinetic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "latent"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "magnetic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mechanical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "natural"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nuclear"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "open"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "optical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "potential"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "primary"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "progressive"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quantum"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radiant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radioactive"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rectilinear"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relative"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resolving"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resonnt"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resultant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rigid"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "volumetric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": ""}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blistering"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burning"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chill"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cool"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "freezing"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frigid"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frosty"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hot"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "molten"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nippy"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "scalding"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "searing"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sizzling"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "central"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chief"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "corporate"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "customer"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "district"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dynamic"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forward"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "future"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "global"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "human"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "international"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "investor"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lead"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "legacy"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "national"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "principal"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "product"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regional"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "senior"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "staff"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bare"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "basic"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clear"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complex"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complicated"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "convoluted"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "easy"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "elaborate"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fancy"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hard"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intricate"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obvious"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pure"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amber"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ash"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "asphalt"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "auburn"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "avocado"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "aquamarine"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "azure"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "beige"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bisque"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "black"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blue"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bone"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bordeaux"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brass"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bronze"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brown"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burgundy"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "camel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "caramel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "canary"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "celeste"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cerulean"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "champagne"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "charcoal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chartreuse"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chestnut"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chocolate"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "citron"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "claret"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cobalt"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coffee"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coral"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "corn"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cream"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crimson"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cyan"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "denim"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "desert"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ebony"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ecru"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "emerald"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "feldspar"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fuchsia"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gold"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gray"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "green"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "heather"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "indigo"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ivory"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jet"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "khaki"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lime"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "magenta"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "maroon"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mint"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "navy"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "olive"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "orange"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pink"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plum"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "purple"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "red"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rust"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salmon"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sienna"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silver"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "snow"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tan"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "teal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tomato"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "violet"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "white"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "yellow"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bitter"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chalky"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chewy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creamy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crispy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crunchy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greasy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gritty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "moist"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oily"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savory"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sour"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sweet"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tangy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tart"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "zesty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "all"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "another"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "each"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "either"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "every"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "few"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "many"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "numerous"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "one"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "other"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "several"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "some"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "average"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "big"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "broad"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "giant"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "huge"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humongous"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immense"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "large"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "little"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "long"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "massive"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "medium"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "miniature"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "short"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "small"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tall"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tiny"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wide"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "absolute"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "abstract"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "active"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acyclic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adaptive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amortized"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "approximate"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ascent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "associative"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "asymptotic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "augmenting"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "average"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "balanced"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "best"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "binary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bipartite"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blocking"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "boolean"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bounded"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brute force"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "commutative"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complete"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concave"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concurrent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "connected"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "constant"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "counting"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "covering"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cyclic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "decidable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "descent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "deterministic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dichotomic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dyadic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dynamic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exact"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exhaustive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exponential"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "extended"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "external"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "extremal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "factorial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "feasible"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "finite"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fixed"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "formal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forward"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greedy"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hidden"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inclusive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intractable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inverse"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inverted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isomorphic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "linear"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "local"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lower"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "matching"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "maximum"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mean"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "median"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "minimum"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mode"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "naive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nearest"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nondeterministic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "null"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nullary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "objective"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "offline"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "online"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "optimal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ordered"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oriented"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "orthogonal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oscillating"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "parallel"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "partial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "perfect"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "persistent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "planar"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "polynomial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proper"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quadratic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ragged"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "random"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "randomized"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rectilinear"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "recursive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "reduced"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relaxed"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shortest"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sparse"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spatial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "square"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "swarm"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "symmetric"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "terminal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ternary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "threaded"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tractable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "undecidable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "undirected"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "uniform"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "universal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unsolvable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unsorted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "visible"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weighted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acute"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adjacent"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "alternate"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "central"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coincident"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "collinear"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "composite"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concave"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concentric"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "congruent"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "convex"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coplanar"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "diagonal"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "distinct"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "equidistant"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "equilateral"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fixed"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "horizontal"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inscribed"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "interior"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "irregular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "linear"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oblique"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obtuse"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "parallel"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "perpendicular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "right"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "similar"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vertical"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brass"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chalky"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concrete"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "felt"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gilded"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glass"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "golden"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "iron"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "leather"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "metal"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "metallic"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oily"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "paper"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plastic"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silver"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steel"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stone"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "watery"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wicker"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wood"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wooden"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "woolen"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "beveled"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chamfered"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coped"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flashed"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flush"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inflammable"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "insulated"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isometric"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "joint"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "knurled"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "laminated"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "level"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plumb"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radial"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rigid"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soluble"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tempered"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warped"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adagio"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "allegro"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "andante"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "animato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "espressivo"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grandioso"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grave"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "largo"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "legato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "libretto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "moderato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "molto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pizzicato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "presto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "staccato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vibrato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blazing"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bright"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brilliant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burning"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clean"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "colorful"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dark"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "drab"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dull"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "faded"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glossy"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glowing"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "light"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "matte"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "muted"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pale"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pallid"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radiant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shiny"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sleek"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vibrant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vivid"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wan"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weathered"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worn"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "descriptive"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "diachronic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "figurative"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "generative"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "marked"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regular"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "synchronic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "taxonomic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unproductive"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "afraid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "angry"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheerful"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crabby"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crazy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cross"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "excited"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frigid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "furious"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glum"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "happy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jolly"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jovial"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kind"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lively"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "livid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ornery"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rosy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "scared"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "seething"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tense"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tranquil"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "upbeat"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wary"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weary"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worried"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "advanced"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "aged"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ancient"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "antique"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "archaic"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "contemporary"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "current"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frayed"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fresh"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grizzled"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hoary"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immature"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "juvenile"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mature"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "modern"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "new"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "novel"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obsolete"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "old"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "primordial"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ragged"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "raw"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "recent"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "senile"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shabby"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stale"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tattered"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "threadbare"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "trite"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vintage"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worn"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "young"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "accepting"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adventurous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "affable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ambitious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amiable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amicable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "annoying"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bold"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brave"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bright"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brutal"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brute"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "callous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "careful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cautious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "charitable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheerful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clever"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "courtly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creative"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cruel"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "curious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "daring"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "devout"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "eager"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "elegant"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "energetic"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "excited"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ferocious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forgiving"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "friendly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "funny"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "generous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "genteel"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gentle"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "graceful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grim"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grouchy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "happy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "heartless"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "helpful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "honest"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humane"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humble"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "impulsive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "independent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "indulgent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intense"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inventive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kind"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lazy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lenient"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "loyal"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "meek"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "merciless"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "merry"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "messy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "neat"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nervous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obliging"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obnoxious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "odious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "patient"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pleasant"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "polite"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proper"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proud"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quick"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quiet"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "refined"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relaxed"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "religious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "respectful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rude"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savage"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "selfish"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sensitive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "serious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shrewd"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smart"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soft"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sophisticated"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stern"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "strong"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stubborn"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tender"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tense"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "timid"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tough"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "trusting"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "urbane"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vain"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vicious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "violent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wise"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "witty"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acidic"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "baked"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bitter"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bland"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blended"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "briny"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "buttery"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "candied"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheesy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chewy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chocolaty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creamy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crispy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crunchy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "delicious"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "doughy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flavorful"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frozen"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "golden"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gourmet"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greasy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grilled"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intense"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jellied"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "juicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jumbo"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lean"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "marinated"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mashed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "minty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nutty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "organic"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "piquant"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "poached"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pounded"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "prepared"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pureed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rancid"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rank"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rich"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ripe"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rubbery"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "saucy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savory"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "seasoned"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sharp"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simmered"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoked"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sour"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steamed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sticky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stringy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "strong"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "succulent"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sugary"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sweet"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "syrupy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tangy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tart"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tender"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "toasted"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "topped"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tossed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "yummy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "zingy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "braised"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fried"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fermented"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "milky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "damaged"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "edible"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nutritious"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "citric"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cloying"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "caramelized"}], "id": "food-bias"} diff --git a/NER-tweaks/age-bias.jsonl b/NER-tweaks/age-bias.jsonl deleted file mode 100644 index eeaf9815cb5bee30508d9ee2d06ec758e667281f..0000000000000000000000000000000000000000 --- a/NER-tweaks/age-bias.jsonl +++ /dev/null @@ -1,32 +0,0 @@ -{"label": "age", "pattern": [{"LOWER": "advanced"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "aged"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "ancient"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "antique"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "archaic"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "contemporary"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "current"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "frayed"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "fresh"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "grizzled"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "hoary"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "immature"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "juvenile"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "mature"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "modern"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "new"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "novel"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "obsolete"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "old"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "primordial"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "ragged"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "raw"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "recent"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "senile"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "shabby"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "stale"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "tattered"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "threadbare"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "trite"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "vintage"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "worn"}], "id": "age-bias"} -{"label": "age", "pattern": [{"LOWER": "young"}], "id": "age-bias"} diff --git a/NER-tweaks/entity-ruler-input.jsonl b/NER-tweaks/entity-ruler-input.jsonl deleted file mode 100644 index f65804c8d00e0f16f5bbf4e171b6cdfba971c3fe..0000000000000000000000000000000000000000 --- a/NER-tweaks/entity-ruler-input.jsonl +++ /dev/null @@ -1,44 +0,0 @@ -{"label": "GENDER", "pattern": [{"LOWER": "woman"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "feminine"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "female"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "lady"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "girl"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "she"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "her"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "hers"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "herself"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mother"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandmother"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandma"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "momma"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mommy"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "babe"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "daughter"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "sister"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "niece"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "aunt"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "girlfriend"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "wife"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "mistress"}],"id":"female-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "man"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "masculine"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "male"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "dude"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "boy"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "he"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "his"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "him"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "himself"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "father"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandfather"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "grandpa"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "poppa"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "daddy"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "lad"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "son"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "brother"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "nephew"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "uncle"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "boyfriend"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "husband"}],"id":"male-bias"} -{"label": "GENDER", "pattern": [{"LOWER": "gentleman"}],"id":"male-bias"} \ No newline at end of file diff --git a/NER-tweaks/gender-test.jsonl b/NER-tweaks/gender-test.jsonl deleted file mode 100644 index 61cd30e9aa31a2f4738661aef433b38a33047001..0000000000000000000000000000000000000000 --- a/NER-tweaks/gender-test.jsonl +++ /dev/null @@ -1,59 +0,0 @@ -{"label": "SOGI", "pattern": [{"LOWER": "woman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "feminine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "female", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lady", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girl", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "she", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "hers", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "her", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "herself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandmother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "momma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mommy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "babe", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daughter", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "sister", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "niece", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "aunt", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girlfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "wife", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mistress", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "man", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "masculine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "male", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "dude", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "he", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "his", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "him", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "himself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "father", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandfather", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandpa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "poppa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daddy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lad", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "son", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "brother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "nephew", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "uncle", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boyfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "husband", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gentleman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"woman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"man"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "bisexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gay"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gender-fluid"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "genderqueer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lesbian"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "non-binary"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "queer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "pansexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transgender"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transwoman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transman"}],"id":"lbgtq-bias"} \ No newline at end of file diff --git a/NER-tweaks/main-ruler-bias.jsonl b/NER-tweaks/main-ruler-bias.jsonl deleted file mode 100644 index 17c290298c46d76d1e0f51326294c5f964bb433a..0000000000000000000000000000000000000000 --- a/NER-tweaks/main-ruler-bias.jsonl +++ /dev/null @@ -1,862 +0,0 @@ -{"label": "SOGI", "pattern": [{"LOWER": "woman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "feminine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "female", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lady", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girl", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "she", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "hers", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "her", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "herself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandmother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "momma", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mommy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "babe", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daughter", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "sister", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "niece", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "aunt", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "girlfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "wife", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "mistress", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"female-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "man", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "masculine", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "male", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "dude", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "he", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "his", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "him", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "himself", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "father", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandfather", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "grandpa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "poppa", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "daddy", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lad", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "son", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "brother", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "nephew", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "uncle", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "boyfriend", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "husband", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gentleman", "POS": {"IN": ["NOUN", "PRON"]}}],"id":"male-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"woman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "trans"}, {"text":"-"}, {"LOWER":"man"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "bisexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gay"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "gender-fluid"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "genderqueer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "lesbian"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "non-binary"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "queer"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "pansexual"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transgender"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transwoman"}],"id":"lbgtq-bias"} -{"label": "SOGI", "pattern": [{"LOWER": "transman"}],"id":"lbgtq-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "agile"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "express"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fast"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hasty"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immediate"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "instant"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "late"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lazy"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nimble"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "poky"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "prompt"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quick"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rapid"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "slow"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sluggish"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "speedy"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spry"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "swift"}], "id": "speed-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "arctic"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "arid"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "breezy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chilly"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cloudy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cool"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "damp"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dark"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "foggy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "freezing"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frosty"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "great"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hot"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humid"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "light"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nice"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "overcast"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rainy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoggy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "snowy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "windy"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wintry"}], "id": "weather-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bent"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blocky"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "boxy"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "broad"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chunky"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "compact"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fat"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "full"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "narrow"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pointed"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "round"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rounded"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "skinny"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "slim"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "solid"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "straight"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thick"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thin"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wide"}], "id": "shape-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blaring"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "booming"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "deafening"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "faint"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gentle"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grating"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hushed"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "loud"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "muffled"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mute"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "noisy"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "piercing"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quiet"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "roaring"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rowdy"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silent"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soft"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "thundering"}], "id": "sound-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "absolute"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "achromatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acoustic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adiabatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "alternating"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "atomic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "binding"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brownian"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "buoyant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chromatic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "closed"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coherent"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "critical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dense"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "electric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "electrical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "endothermic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exothermic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fundamental"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gravitational"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isobaric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isochoric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isothermal"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kinetic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "latent"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "magnetic"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mechanical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "natural"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nuclear"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "open"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "optical"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "potential"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "primary"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "progressive"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quantum"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radiant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radioactive"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rectilinear"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relative"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resolving"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resonnt"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "resultant"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rigid"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "volumetric"}], "id": "physics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": ""}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blistering"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burning"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chill"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cool"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "freezing"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frigid"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frosty"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hot"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "molten"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nippy"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "scalding"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "searing"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sizzling"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "temperature-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "central"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chief"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "corporate"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "customer"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "district"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dynamic"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forward"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "future"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "global"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "human"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "international"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "investor"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lead"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "legacy"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "national"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "principal"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "product"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regional"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "senior"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "staff"}], "id": "corporate_prefixes-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bare"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "basic"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clear"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complex"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complicated"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "convoluted"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "direct"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "easy"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "elaborate"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fancy"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hard"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intricate"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obvious"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pure"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "complexity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amber"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ash"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "asphalt"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "auburn"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "avocado"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "aquamarine"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "azure"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "beige"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bisque"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "black"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blue"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bone"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bordeaux"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brass"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bronze"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brown"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burgundy"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "camel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "caramel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "canary"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "celeste"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cerulean"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "champagne"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "charcoal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chartreuse"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chestnut"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chocolate"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "citron"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "claret"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cobalt"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coffee"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coral"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "corn"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cream"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crimson"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cyan"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "denim"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "desert"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ebony"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ecru"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "emerald"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "feldspar"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fuchsia"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gold"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gray"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "green"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "heather"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "indigo"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ivory"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jet"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "khaki"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lime"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "magenta"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "maroon"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mint"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "navy"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "olive"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "orange"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pink"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plum"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "purple"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "red"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rust"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salmon"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sienna"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silver"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "snow"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steel"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tan"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "teal"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tomato"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "violet"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "white"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "yellow"}], "id": "colors-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bitter"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chalky"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chewy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creamy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crispy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crunchy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greasy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gritty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "moist"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oily"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savory"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sour"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sweet"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tangy"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tart"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "zesty"}], "id": "taste-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "all"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "another"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "each"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "either"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "every"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "few"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "many"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "numerous"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "one"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "other"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "several"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "some"}], "id": "quantity-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "average"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "big"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "broad"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "giant"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "huge"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humongous"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immense"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "large"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "little"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "long"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "massive"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "medium"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "miniature"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "short"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "small"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tall"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tiny"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wide"}], "id": "size-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "absolute"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "abstract"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "active"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acyclic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adaptive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amortized"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "approximate"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ascent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "associative"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "asymptotic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "augmenting"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "average"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "balanced"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "best"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "binary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bipartite"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blocking"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "boolean"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bounded"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brute force"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "commutative"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "complete"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concave"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concurrent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "connected"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "constant"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "counting"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "covering"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cyclic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "decidable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "descent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "deterministic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dichotomic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dyadic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dynamic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exact"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exhaustive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "exponential"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "extended"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "external"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "extremal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "factorial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "feasible"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "finite"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fixed"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "formal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forward"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greedy"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hidden"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inclusive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "internal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intractable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inverse"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inverted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isomorphic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "linear"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "local"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lower"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "matching"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "maximum"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mean"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "median"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "minimum"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mode"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "naive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nearest"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nondeterministic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "null"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nullary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "objective"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "offline"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "online"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "optimal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ordered"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oriented"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "orthogonal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oscillating"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "parallel"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "partial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "perfect"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "persistent"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "planar"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "polynomial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proper"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quadratic"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ragged"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "random"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "randomized"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rectilinear"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "recursive"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "reduced"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relaxed"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shortest"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sparse"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spatial"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "square"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "swarm"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "symmetric"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "terminal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ternary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "threaded"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tractable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unary"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "undecidable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "undirected"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "uniform"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "universal"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unsolvable"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unsorted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "visible"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weighted"}], "id": "algorithms-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acute"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adjacent"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "alternate"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "central"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coincident"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "collinear"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "composite"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concave"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concentric"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "congruent"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "convex"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coplanar"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "diagonal"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "distinct"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "equidistant"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "equilateral"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fixed"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "horizontal"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inscribed"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "interior"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "irregular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "linear"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oblique"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obtuse"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "parallel"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "perpendicular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regular"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "right"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "similar"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vertical"}], "id": "geometry-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brass"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chalky"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "concrete"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "felt"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gilded"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glass"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "golden"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "iron"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "leather"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "metal"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "metallic"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "oily"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "paper"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plastic"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silver"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steel"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stone"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "watery"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wicker"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wood"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wooden"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "woolen"}], "id": "materials-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "beveled"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chamfered"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "coped"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flashed"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flush"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inflammable"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "insulated"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "isometric"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "joint"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "knurled"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "laminated"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "level"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plumb"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radial"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rigid"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soluble"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tempered"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warped"}], "id": "construction-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adagio"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "allegro"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "andante"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "animato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "espressivo"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grandioso"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grave"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "largo"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "legato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "libretto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "moderato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "molto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pizzicato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "presto"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "staccato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vibrato"}], "id": "music_theory-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blazing"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bright"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brilliant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "burning"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clean"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "colorful"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dark"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "drab"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dull"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "faded"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flat"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glossy"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glowing"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "light"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "matte"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "muted"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pale"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pallid"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "radiant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shiny"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sleek"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vibrant"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vivid"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wan"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weathered"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worn"}], "id": "appearance-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "descriptive"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "diachronic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "figurative"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "generative"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "marked"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "regular"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "synchronic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "taxonomic"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "unproductive"}], "id": "linguistics-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "afraid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "angry"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheerful"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crabby"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crazy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cross"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "excited"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frigid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "furious"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "glum"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "happy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jolly"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jovial"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kind"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lively"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "livid"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ornery"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rosy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sad"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "scared"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "seething"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shy"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sunny"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tense"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tranquil"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "upbeat"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wary"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "weary"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worried"}], "id": "emotions-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "advanced"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "aged"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ancient"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "antique"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "archaic"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "contemporary"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "current"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frayed"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fresh"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grizzled"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "hoary"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "immature"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "juvenile"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mature"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "modern"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "new"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "novel"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obsolete"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "old"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "primordial"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ragged"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "raw"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "recent"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "senile"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shabby"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stale"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tattered"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "threadbare"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "trite"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vintage"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "worn"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "young"}], "id": "age-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "accepting"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "adventurous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "affable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ambitious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amiable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "amicable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "annoying"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bold"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brave"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bright"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brutal"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "brute"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "callous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "calm"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "careful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cautious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "charitable"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheerful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "clever"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "courtly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creative"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cruel"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "curious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "daring"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "devout"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "eager"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "elegant"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "energetic"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "excited"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ferocious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "forgiving"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "free"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "friendly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "funny"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "generous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "genteel"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gentle"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "graceful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grim"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grouchy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "happy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "heartless"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "helpful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "honest"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humane"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "humble"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "impulsive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "independent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "indulgent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intense"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "inventive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "kind"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lazy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lenient"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "loyal"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "meek"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "merciless"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "merry"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "messy"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "neat"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nervous"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obliging"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "obnoxious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "odious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "patient"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pleasant"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "polite"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proper"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "proud"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quick"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "quiet"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "refined"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "relaxed"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "religious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "respectful"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rude"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savage"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "selfish"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sensitive"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "serious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "shrewd"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "silly"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simple"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smart"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "soft"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sophisticated"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stern"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "strong"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stubborn"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tender"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tense"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "timid"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tough"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "trusting"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "urbane"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vain"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "vicious"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "violent"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "warm"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "wise"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "witty"}], "id": "character-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "acidic"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "baked"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bitter"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "bland"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "blended"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "briny"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "buttery"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "candied"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cheesy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chewy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "chocolaty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cold"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "creamy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crispy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "crunchy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "delicious"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "doughy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "dry"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "flavorful"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "frozen"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "golden"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "gourmet"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "greasy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "grilled"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "icy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "intense"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jellied"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "juicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "jumbo"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "lean"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "marinated"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mashed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "mild"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "minty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nutty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "organic"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "piquant"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "plain"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "poached"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pounded"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "prepared"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "pureed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rancid"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rank"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rich"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "ripe"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "rubbery"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "salty"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "saucy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "savory"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "seasoned"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sharp"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "simmered"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoked"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "smoky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sour"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "steamed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sticky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "stringy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "strong"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "succulent"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sugary"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "sweet"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "syrupy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tangy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tart"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tender"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "toasted"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "topped"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "tossed"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "yummy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "zingy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "braised"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fried"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "fermented"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "milky"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "damaged"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "spicy"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "edible"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "nutritious"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "citric"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "cloying"}], "id": "food-bias"} -{"label": "adjectives", "pattern": [{"LOWER": "caramelized"}], "id": "food-bias"} diff --git a/NLselector.py b/NLselector.py index bd726f3dfdb77b0c2e839b5a72d2acfd1e930def..469e70a6ea23853d03b5ff3417af8651b872aa47 100644 --- a/NLselector.py +++ b/NLselector.py @@ -2,7 +2,7 @@ import pandas as pd, spacy, nltk, numpy as np, re from spacy.matcher import Matcher #!python -m spacy download en_core_web_md #Not sure if we need this so I'm going to keep it just in case -nlp = spacy.load("en_core_web_lg") +nlp = spacy.load("Assets/Models/en_core_web_lg") import altair as alt import streamlit as st from annotated_text import annotated_text as ant diff --git a/Pipfile b/Pipfile deleted file mode 100644 index e97c6a47481edc081aea7e11747f329d0d336dcc..0000000000000000000000000000000000000000 --- a/Pipfile +++ /dev/null @@ -1,40 +0,0 @@ -[[source]] -url = "https://pypi.org/simple" -verify_ssl = true -name = "pypi" - -[packages] -streamlit = "*" -pandas = "*" -numpy = "*" -altair = "*" -sklearn = "*" -streamlit-vega-lite = "*" -plotly = "*" -gensim = "*" -nltk = "*" -spacy = "*" -lime = "*" -xlrd = "*" -colorama = "*" -st-annotated-text = "*" -shap = "*" -transformers = "*" -torch = "*" -black = "==19.3b0" -pylint = "*" -watchdog = "*" -jupyterlab = "*" -jupyter = "*" - - -[requires] -python_version = "3.8" - -[scripts] -format = "black ." -format_check = "black --check ." -lint = "pylint app.py" -app= "streamlit run app.py" -clear_cache = "streamlit cache clear" -notebook = "jupyter notebook" diff --git a/Pipfile.lock b/Pipfile.lock deleted file mode 100644 index bef4d2804ac5c38e34f09dcfec8c1463553a24c1..0000000000000000000000000000000000000000 --- a/Pipfile.lock +++ /dev/null @@ -1,2486 +0,0 @@ -{ - "_meta": { - "hash": { - "sha256": "ca886a36b5d1541010c402530436ab42ea11f8716229dd563d8f09b671ffe52c" - }, - "pipfile-spec": 6, - "requires": { - "python_version": "3.8" - }, - "sources": [ - { - "name": "pypi", - "url": "https://pypi.org/simple", - "verify_ssl": true - } - ] - }, - "default": { - "altair": { - "hashes": [ - "sha256:0c724848ae53410c13fa28be2b3b9a9dcb7b5caa1a70f7f217bd663bb419935a", - "sha256:d87d9372e63b48cd96b2a6415f0cf9457f50162ab79dc7a31cd7e024dd840026" - ], - "index": "pypi", - "version": "==4.2.0" - }, - "anyio": { - "hashes": [ - "sha256:413adf95f93886e442aea925f3ee43baa5a765a64a0f52c6081894f9992fdd0b", - "sha256:cb29b9c70620506a9a8f87a309591713446953302d7d995344d0d7c6c0c9a7be" - ], - "markers": "python_full_version >= '3.6.2'", - "version": "==3.6.1" - }, - "appdirs": { - "hashes": [ - "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41", - "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128" - ], - "version": "==1.4.4" - }, - "appnope": { - "hashes": [ - "sha256:02bd91c4de869fbb1e1c50aafc4098827a7a54ab2f39d9dcba6c9547ed920e24", - "sha256:265a455292d0bd8a72453494fa24df5a11eb18373a60c7c0430889f22548605e" - ], - "markers": "platform_system == 'Darwin'", - "version": "==0.1.3" - }, - "argon2-cffi": { - "hashes": [ - "sha256:8c976986f2c5c0e5000919e6de187906cfd81fb1c72bf9d88c01177e77da7f80", - "sha256:d384164d944190a7dd7ef22c6aa3ff197da12962bd04b17f64d4e93d934dba5b" - ], - "markers": "python_version >= '3.6'", - "version": "==21.3.0" - }, - "argon2-cffi-bindings": { - "hashes": [ - "sha256:20ef543a89dee4db46a1a6e206cd015360e5a75822f76df533845c3cbaf72670", - "sha256:2c3e3cc67fdb7d82c4718f19b4e7a87123caf8a93fde7e23cf66ac0337d3cb3f", - "sha256:3b9ef65804859d335dc6b31582cad2c5166f0c3e7975f324d9ffaa34ee7e6583", - "sha256:3e385d1c39c520c08b53d63300c3ecc28622f076f4c2b0e6d7e796e9f6502194", - "sha256:58ed19212051f49a523abb1dbe954337dc82d947fb6e5a0da60f7c8471a8476c", - "sha256:5e00316dabdaea0b2dd82d141cc66889ced0cdcbfa599e8b471cf22c620c329a", - "sha256:603ca0aba86b1349b147cab91ae970c63118a0f30444d4bc80355937c950c082", - "sha256:6a22ad9800121b71099d0fb0a65323810a15f2e292f2ba450810a7316e128ee5", - "sha256:8cd69c07dd875537a824deec19f978e0f2078fdda07fd5c42ac29668dda5f40f", - "sha256:93f9bf70084f97245ba10ee36575f0c3f1e7d7724d67d8e5b08e61787c320ed7", - "sha256:9524464572e12979364b7d600abf96181d3541da11e23ddf565a32e70bd4dc0d", - "sha256:b2ef1c30440dbbcba7a5dc3e319408b59676e2e039e2ae11a8775ecf482b192f", - "sha256:b746dba803a79238e925d9046a63aa26bf86ab2a2fe74ce6b009a1c3f5c8f2ae", - "sha256:bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3", - "sha256:bd46088725ef7f58b5a1ef7ca06647ebaf0eb4baff7d1d0d177c6cc8744abd86", - "sha256:ccb949252cb2ab3a08c02024acb77cfb179492d5701c7cbdbfd776124d4d2367", - "sha256:d4966ef5848d820776f5f562a7d45fdd70c2f330c961d0d745b784034bd9f48d", - "sha256:e415e3f62c8d124ee16018e491a009937f8cf7ebf5eb430ffc5de21b900dad93", - "sha256:ed2937d286e2ad0cc79a7087d3c272832865f779430e0cc2b4f3718d3159b0cb", - "sha256:f1152ac548bd5b8bcecfb0b0371f082037e47128653df2e8ba6e914d384f3c3e", - "sha256:f9f8b450ed0547e3d473fdc8612083fd08dd2120d6ac8f73828df9b7d45bb351" - ], - "markers": "python_version >= '3.6'", - "version": "==21.2.0" - }, - "astroid": { - "hashes": [ - "sha256:14ffbb4f6aa2cf474a0834014005487f7ecd8924996083ab411e7fa0b508ce0b", - "sha256:f4e4ec5294c4b07ac38bab9ca5ddd3914d4bf46f9006eb5c0ae755755061044e" - ], - "markers": "python_full_version >= '3.6.2'", - "version": "==2.11.5" - }, - "asttokens": { - "hashes": [ - "sha256:0844691e88552595a6f4a4281a9f7f79b8dd45ca4ccea82e5e05b4bbdb76705c", - "sha256:9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5" - ], - "version": "==2.0.5" - }, - "attrs": { - "hashes": [ - "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", - "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==21.4.0" - }, - "babel": { - "hashes": [ - "sha256:3f349e85ad3154559ac4930c3918247d319f21910d5ce4b25d439ed8693b98d2", - "sha256:98aeaca086133efb3e1e2aad0396987490c8425929ddbcfe0550184fdc54cd13" - ], - "markers": "python_version >= '3.6'", - "version": "==2.10.1" - }, - "backcall": { - "hashes": [ - "sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e", - "sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255" - ], - "version": "==0.2.0" - }, - "backports.zoneinfo": { - "hashes": [ - "sha256:17746bd546106fa389c51dbea67c8b7c8f0d14b5526a579ca6ccf5ed72c526cf", - "sha256:1b13e654a55cd45672cb54ed12148cd33628f672548f373963b0bff67b217328", - "sha256:1c5742112073a563c81f786e77514969acb58649bcdf6cdf0b4ed31a348d4546", - "sha256:4a0f800587060bf8880f954dbef70de6c11bbe59c673c3d818921f042f9954a6", - "sha256:5c144945a7752ca544b4b78c8c41544cdfaf9786f25fe5ffb10e838e19a27570", - "sha256:7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9", - "sha256:8439c030a11780786a2002261569bdf362264f605dfa4d65090b64b05c9f79a7", - "sha256:8961c0f32cd0336fb8e8ead11a1f8cd99ec07145ec2931122faaac1c8f7fd987", - "sha256:89a48c0d158a3cc3f654da4c2de1ceba85263fafb861b98b59040a5086259722", - "sha256:a76b38c52400b762e48131494ba26be363491ac4f9a04c1b7e92483d169f6582", - "sha256:da6013fd84a690242c310d77ddb8441a559e9cb3d3d59ebac9aca1a57b2e18bc", - "sha256:e55b384612d93be96506932a786bbcde5a2db7a9e6a4bb4bffe8b733f5b9036b", - "sha256:e81b76cace8eda1fca50e345242ba977f9be6ae3945af8d46326d776b4cf78d1", - "sha256:e8236383a20872c0cdf5a62b554b27538db7fa1bbec52429d8d106effbaeca08", - "sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac", - "sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2" - ], - "markers": "python_version < '3.9'", - "version": "==0.2.1" - }, - "beautifulsoup4": { - "hashes": [ - "sha256:58d5c3d29f5a36ffeb94f02f0d786cd53014cf9b3b3951d42e0080d8a9498d30", - "sha256:ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693" - ], - "markers": "python_version >= '3.6'", - "version": "==4.11.1" - }, - "black": { - "hashes": [ - "sha256:09a9dcb7c46ed496a9850b76e4e825d6049ecd38b611f1224857a79bd985a8cf", - "sha256:68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c" - ], - "index": "pypi", - "version": "==19.3b0" - }, - "bleach": { - "hashes": [ - "sha256:08a1fe86d253b5c88c92cc3d810fd8048a16d15762e1e5b74d502256e5926aa1", - "sha256:c6d6cc054bdc9c83b48b8083e236e5f00f238428666d2ce2e083eaa5fd568565" - ], - "markers": "python_version >= '3.7'", - "version": "==5.0.0" - }, - "blinker": { - "hashes": [ - "sha256:471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6" - ], - "version": "==1.4" - }, - "blis": { - "hashes": [ - "sha256:148f59a0a47a38ce82e3afc50c709494d5e5a494bef28ce1519c7a17346c645b", - "sha256:1667db8439d9ca41c0c1f0ea954d87462be01b125436c4b264f73603c9fb4e82", - "sha256:3e024f103522e72a27019cfcfe14569522a394f5d651565560a18040fdd69a6c", - "sha256:4a48eeaa506f176bcac306378f5e8063697c93e26d2418fcbe053e8912019090", - "sha256:5d4a81f9438db7a19ac8e64ad41331f65a659ea8f3bb1889a9c2088cfd9fe104", - "sha256:64bef63b1abd5b41819ea53897bdbc03c631a59c1757a9393e6ae0828692f31c", - "sha256:680480dfa16b354f2e4d584edb8d36f0505ed8df12939beee2d161aea7bb3609", - "sha256:76d13dbcd648ca33dfc83569bb219d0696e4f6e5ad00b9f538332a3bdb28ff30", - "sha256:7865e39cac4e10506afc49213938fb7e13bf73ca980c9c20ffad2de4ef858f43", - "sha256:929a6e70b800f9df505f08ed3e863bf5fd0a209aed45fb38a0fd2b8342c04981", - "sha256:a0183760604b14e8eb671a431d06606594def03c36aaaa2a2e7b7f88382dac76", - "sha256:b1e0567cde024e6ef677fe825d934baa7362cd71450c98e5198538026a86e896", - "sha256:b5e0acc760daf5c3b45bce44653943e3a04d81c21c5b92213ed51664525dc24e", - "sha256:bead485e5d79d3eb62a8df55618743878fb3cba606aaf926153db5803270b185", - "sha256:cfb7d730fef706f3ea4389196ce5f610f24cc83f828c498a275c12f05f0cf5c4", - "sha256:d6055ced65d6581ab4f1da0d3f6ec14c60512474c5c9b3210c9f30dd7dd1447d", - "sha256:e22145110864bcffb1d52cb57050b67b8a8ecd43c7c0a1ac0bcdb2c85c8bf416", - "sha256:ee19fddb5964570d97c2096a9a1e595fa48abdde187b14f99dcea7bb546989a6", - "sha256:f4109cce38e644e81d923836b34024905d59e88c8fb48b89b420f4d7661cd89f" - ], - "version": "==0.7.7" - }, - "cachetools": { - "hashes": [ - "sha256:4ebbd38701cdfd3603d1f751d851ed248ab4570929f2d8a7ce69e30c420b141c", - "sha256:8b3b8fa53f564762e5b221e9896798951e7f915513abf2ba072ce0f07f3f5a98" - ], - "markers": "python_version ~= '3.7'", - "version": "==5.1.0" - }, - "catalogue": { - "hashes": [ - "sha256:535d33ae79ebd21ca298551d85da186ae8b8e1df36b0fb0246da774163ec2d6b", - "sha256:cab4feda641fe05da1e6a1a9d123b0869d5ca324dcd93d4a5c384408ab62e7fb" - ], - "markers": "python_version >= '3.6'", - "version": "==2.0.7" - }, - "certifi": { - "hashes": [ - "sha256:9c5705e395cd70084351dd8ad5c41e65655e08ce46f2ec9cf6c2c08390f71eb7", - "sha256:f1d53542ee8cbedbe2118b5686372fb33c297fcd6379b050cca0ef13a597382a" - ], - "markers": "python_version >= '3.6'", - "version": "==2022.5.18.1" - }, - "cffi": { - "hashes": [ - "sha256:00c878c90cb53ccfaae6b8bc18ad05d2036553e6d9d1d9dbcf323bbe83854ca3", - "sha256:0104fb5ae2391d46a4cb082abdd5c69ea4eab79d8d44eaaf79f1b1fd806ee4c2", - "sha256:06c48159c1abed75c2e721b1715c379fa3200c7784271b3c46df01383b593636", - "sha256:0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20", - "sha256:10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728", - "sha256:14cd121ea63ecdae71efa69c15c5543a4b5fbcd0bbe2aad864baca0063cecf27", - "sha256:17771976e82e9f94976180f76468546834d22a7cc404b17c22df2a2c81db0c66", - "sha256:181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443", - "sha256:23cfe892bd5dd8941608f93348c0737e369e51c100d03718f108bf1add7bd6d0", - "sha256:263cc3d821c4ab2213cbe8cd8b355a7f72a8324577dc865ef98487c1aeee2bc7", - "sha256:2756c88cbb94231c7a147402476be2c4df2f6078099a6f4a480d239a8817ae39", - "sha256:27c219baf94952ae9d50ec19651a687b826792055353d07648a5695413e0c605", - "sha256:2a23af14f408d53d5e6cd4e3d9a24ff9e05906ad574822a10563efcef137979a", - "sha256:31fb708d9d7c3f49a60f04cf5b119aeefe5644daba1cd2a0fe389b674fd1de37", - "sha256:3415c89f9204ee60cd09b235810be700e993e343a408693e80ce7f6a40108029", - "sha256:3773c4d81e6e818df2efbc7dd77325ca0dcb688116050fb2b3011218eda36139", - "sha256:3b96a311ac60a3f6be21d2572e46ce67f09abcf4d09344c49274eb9e0bf345fc", - "sha256:3f7d084648d77af029acb79a0ff49a0ad7e9d09057a9bf46596dac9514dc07df", - "sha256:41d45de54cd277a7878919867c0f08b0cf817605e4eb94093e7516505d3c8d14", - "sha256:4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880", - "sha256:45db3a33139e9c8f7c09234b5784a5e33d31fd6907800b316decad50af323ff2", - "sha256:45e8636704eacc432a206ac7345a5d3d2c62d95a507ec70d62f23cd91770482a", - "sha256:4958391dbd6249d7ad855b9ca88fae690783a6be9e86df65865058ed81fc860e", - "sha256:4a306fa632e8f0928956a41fa8e1d6243c71e7eb59ffbd165fc0b41e316b2474", - "sha256:57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024", - "sha256:59888172256cac5629e60e72e86598027aca6bf01fa2465bdb676d37636573e8", - "sha256:5e069f72d497312b24fcc02073d70cb989045d1c91cbd53979366077959933e0", - "sha256:64d4ec9f448dfe041705426000cc13e34e6e5bb13736e9fd62e34a0b0c41566e", - "sha256:6dc2737a3674b3e344847c8686cf29e500584ccad76204efea14f451d4cc669a", - "sha256:74fdfdbfdc48d3f47148976f49fab3251e550a8720bebc99bf1483f5bfb5db3e", - "sha256:75e4024375654472cc27e91cbe9eaa08567f7fbdf822638be2814ce059f58032", - "sha256:786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6", - "sha256:8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e", - "sha256:91d77d2a782be4274da750752bb1650a97bfd8f291022b379bb8e01c66b4e96b", - "sha256:91ec59c33514b7c7559a6acda53bbfe1b283949c34fe7440bcf917f96ac0723e", - "sha256:920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954", - "sha256:a5263e363c27b653a90078143adb3d076c1a748ec9ecc78ea2fb916f9b861962", - "sha256:abb9a20a72ac4e0fdb50dae135ba5e77880518e742077ced47eb1499e29a443c", - "sha256:c2051981a968d7de9dd2d7b87bcb9c939c74a34626a6e2f8181455dd49ed69e4", - "sha256:c21c9e3896c23007803a875460fb786118f0cdd4434359577ea25eb556e34c55", - "sha256:c2502a1a03b6312837279c8c1bd3ebedf6c12c4228ddbad40912d671ccc8a962", - "sha256:d4d692a89c5cf08a8557fdeb329b82e7bf609aadfaed6c0d79f5a449a3c7c023", - "sha256:da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c", - "sha256:e7022a66d9b55e93e1a845d8c9eba2a1bebd4966cd8bfc25d9cd07d515b33fa6", - "sha256:ef1f279350da2c586a69d32fc8733092fd32cc8ac95139a00377841f59a3f8d8", - "sha256:f54a64f8b0c8ff0b64d18aa76675262e1700f3995182267998c31ae974fbc382", - "sha256:f5c7150ad32ba43a07c4479f40241756145a1f03b43480e058cfd862bf5041c7", - "sha256:f6f824dc3bce0edab5f427efcfb1d63ee75b6fcb7282900ccaf925be84efb0fc", - "sha256:fd8a250edc26254fe5b33be00402e6d287f562b6a5b2152dec302fa15bb3e997", - "sha256:ffaa5c925128e29efbde7301d8ecaf35c8c60ffbcd6a1ffd3a552177c8e5e796" - ], - "version": "==1.15.0" - }, - "charset-normalizer": { - "hashes": [ - "sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597", - "sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df" - ], - "markers": "python_version >= '3'", - "version": "==2.0.12" - }, - "click": { - "hashes": [ - "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", - "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb" - ], - "markers": "python_version >= '3.6'", - "version": "==8.0.4" - }, - "cloudpickle": { - "hashes": [ - "sha256:b5c434f75c34624eedad3a14f2be5ac3b5384774d5b0e3caf905c21479e6c4b1", - "sha256:bb233e876a58491d9590a676f93c7a5473a08f747d5ab9df7f9ce564b3e7938e" - ], - "markers": "python_version >= '3.6'", - "version": "==2.1.0" - }, - "colorama": { - "hashes": [ - "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b", - "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2" - ], - "index": "pypi", - "version": "==0.4.4" - }, - "cycler": { - "hashes": [ - "sha256:3a27e95f763a428a739d2add979fa7494c912a32c17c4c38c4d5f082cad165a3", - "sha256:9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f" - ], - "markers": "python_version >= '3.6'", - "version": "==0.11.0" - }, - "cymem": { - "hashes": [ - "sha256:04676d696596b0db3f3c5a3936bab12fb6f24278921a6622bb185e61765b2b4d", - "sha256:169725b5816959d34de2545b33fee6a8021a6e08818794a426c5a4f981f17e5e", - "sha256:228bd261a85d92d870ed358f263ee028ac026302304f2186827377a3895c5819", - "sha256:2aa3fa467d906cd2c27fa0a2e2952dd7925f5fcc7973fab6d815ef6acb25aad8", - "sha256:4749f220e4c06ec44eb10de13794ff0508cdc4f8eff656cf49cab2cdb3122c0c", - "sha256:492084aef23ac2ff3da3729e9d36340bc91a96c2dc8c3a82a1926e384ab52412", - "sha256:4f87fe087f2ae36c3e20e2b1a29d7f76a28c035372d0a97655f26223d975235a", - "sha256:5d631239bfb07293ee444b269656308da952b6b003b12332ccb1c624dbfcda4b", - "sha256:6b0d1a6b0a1296f31fa9e4b7ae5ea49394084ecc883b1ae6fec4844403c43468", - "sha256:700540b68e96a7056d0691d467df2bbaaf0934a3e6fe2383669998cbee19580a", - "sha256:971cf0a8437dfb4185c3049c086e463612fe849efadc0f5cc153fc81c501da7d", - "sha256:a261f51796a2705f3900ed22b8442519a0f230f50a816fb5bd89cb9b027dc5ac", - "sha256:a93fba62fe79dbf6fc4d5b6d804a6e114b44af3ff3d40a28833ee39f21bd336b", - "sha256:af3c01e6b20f9e6c07c7d7cdb7f710e49889d3906c9a3e039546ee6636a34b9a", - "sha256:b8e1c18bb00800425576710468299153caad20c64ddb6819d40a6a34e21ee21c", - "sha256:c59293b232b53ebb47427f16cf648e937022f489cff36c11d1d8a1f0075b6609", - "sha256:d7a59cef8f2fa25d12e2c30138f8623acbd43ad2715e730a709e49c5eef8e1b0", - "sha256:dd52d8a81881804625df88453611175ab7e0099b34f52204da1f6940cf2e83c9", - "sha256:ea535f74ab6024e7416f93de564e5c81fb7c0964b96280de66f60aeb05f0cf53" - ], - "version": "==2.0.6" - }, - "debugpy": { - "hashes": [ - "sha256:0d383b91efee57dbb923ba20801130cf60450a0eda60bce25bccd937de8e323a", - "sha256:0e3aa2368883e83e7b689ddff3cafb595f7b711f6a065886b46a96a7fef874e7", - "sha256:132defb585b518955358321d0f42f6aa815aa15b432be27db654807707c70b2f", - "sha256:1ff853e60e77e1c16f85a31adb8360bb2d98ca588d7ed645b7f0985b240bdb5e", - "sha256:245c7789a012f86210847ec7ee9f38c30a30d4c2223c3e111829a76c9006a5d0", - "sha256:30abefefd2ff5a5481162d613cb70e60e2fa80a5eb4c994717c0f008ed25d2e1", - "sha256:40de9ba137d355538432209d05e0f5fe5d0498dce761c39119ad4b950b51db31", - "sha256:4de7777842da7e08652f2776c552070bbdd758557fdec73a15d7be0e4aab95ce", - "sha256:5c492235d6b68f879df3bdbdb01f25c15be15682665517c2c7d0420e5658d71f", - "sha256:72bcfa97f3afa0064afc77ab811f48ad4a06ac330f290b675082c24437730366", - "sha256:7b79c40852991f7b6c3ea65845ed0f5f6b731c37f4f9ad9c61e2ab4bd48a9275", - "sha256:8e972c717d95f56b6a3a7a29a5ede1ee8f2c3802f6f0e678203b0778eb322bf1", - "sha256:8ee75844242b4537beb5899f3e60a578454d1f136b99e8d57ac424573797b94a", - "sha256:a65a2499761d47df3e9ea9567109be6e73d412e00ac3ffcf74839f3ddfcdf028", - "sha256:a8aaeb53e87225141fda7b9081bd87155c1debc13e2f5a532d341112d1983b65", - "sha256:bd980d533d0ddfc451e03a3bb32acb2900049fec39afc3425b944ebf0889be62", - "sha256:e3513399177dd37af4c1332df52da5da1d0c387e5927dc4c0709e26ee7302e8f", - "sha256:eb1946efac0c0c3d411cea0b5ac772fbde744109fd9520fb0c5a51979faf05ad" - ], - "markers": "python_version >= '3.7'", - "version": "==1.6.0" - }, - "decorator": { - "hashes": [ - "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330", - "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186" - ], - "markers": "python_version >= '3.5'", - "version": "==5.1.1" - }, - "defusedxml": { - "hashes": [ - "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", - "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==0.7.1" - }, - "dill": { - "hashes": [ - "sha256:33501d03270bbe410c72639b350e941882a8b0fd55357580fbc873fba0c59302", - "sha256:d75e41f3eff1eee599d738e76ba8f4ad98ea229db8b085318aa2b3333a208c86" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'", - "version": "==0.3.5.1" - }, - "entrypoints": { - "hashes": [ - "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4", - "sha256:f174b5ff827504fd3cd97cc3f8649f3693f51538c7e4bdf3ef002c8429d42f9f" - ], - "markers": "python_version >= '3.6'", - "version": "==0.4" - }, - "executing": { - "hashes": [ - "sha256:c6554e21c6b060590a6d3be4b82fb78f8f0194d809de5ea7df1c093763311501", - "sha256:d1eef132db1b83649a3905ca6dd8897f71ac6f8cac79a7e58a1a09cf137546c9" - ], - "version": "==0.8.3" - }, - "fastjsonschema": { - "hashes": [ - "sha256:0a572f0836962d844c1fc435e200b2e4f4677e4e6611a2e3bdd01ba697c275ec", - "sha256:ddb0b1d8243e6e3abb822bd14e447a89f4ab7439342912d590444831fa00b6a0" - ], - "version": "==2.15.3" - }, - "filelock": { - "hashes": [ - "sha256:b795f1b42a61bbf8ec7113c341dad679d772567b936fbd1bf43c9a238e673e20", - "sha256:c7b5fdb219b398a5b28c8e4c1893ef5f98ece6a38c6ab2c22e26ec161556fed6" - ], - "markers": "python_version >= '3.7'", - "version": "==3.7.0" - }, - "fonttools": { - "hashes": [ - "sha256:c0fdcfa8ceebd7c1b2021240bd46ef77aa8e7408cf10434be55df52384865f8e", - "sha256:f829c579a8678fa939a1d9e9894d01941db869de44390adb49ce67055a06cc2a" - ], - "markers": "python_version >= '3.7'", - "version": "==4.33.3" - }, - "gensim": { - "hashes": [ - "sha256:1ae06b2d70ed09ba1051b7f37ee142b695c183fd18f2dddb3362379d6dc33d73", - "sha256:4e06f177e537af25e219f6e42f50f78687754fd20aa3a8335fe3103636f747df", - "sha256:4ebc8ec9cccae2d063cef240825658f050c5ad6fd2c81eecc84765f7a87b58ba", - "sha256:636cd376e647200bbc37694541c078a64ce2ddfa70a6cbaafd55de800731000b", - "sha256:662e755a179a4042d1a3c3c39d80479f50fc09b7e1c5df2e40276ec75c8311d2", - "sha256:84a06822c0ad1285f4e8630df5e618e8e2f67eb5edb571fa907433856911f42b", - "sha256:8ff2c9e8e7470701b26b994d29fdf4d77bb3b290b6303dee61859a776bfeeeee", - "sha256:995ebd2970a31d47c100aaac10212f47e2bf12e2b06536d38883c951ff34eef1", - "sha256:bad35d595e5a37b2f082985b31dbd01024949a9b3d4f69f80e54d990e90721ad", - "sha256:cccf80d032dac1d6be8de06a8c8ed763496acda8c37e5c9a9d19c712f16d8fd3", - "sha256:db1bc49dccc3815fa58bddc9e1f953354a131ab510d72fd8af58e9c749bb695e", - "sha256:de68cdee678e63500c832cc17ed768c0fc22550f63782201a50f319a4a6fc385", - "sha256:ec8c5917ec36cfffbe8688af60f444f9e8fa01a3032fb75c50df212772db257f", - "sha256:edb70625065c5d170205cbf108bb01a9fce9487182fdeb2724ce0674ab98a244", - "sha256:f1b59d3559fab86df1e046882531ecc9a653689cf6effb1b089cd3adfc7ec57c", - "sha256:f8199bc532ea041a35c360c65ce418a4730c813fd300a433fd9a3d89b4bb6f1d" - ], - "index": "pypi", - "version": "==4.2.0" - }, - "gitdb": { - "hashes": [ - "sha256:8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd", - "sha256:bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa" - ], - "markers": "python_version >= '3.6'", - "version": "==4.0.9" - }, - "gitpython": { - "hashes": [ - "sha256:1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704", - "sha256:5b68b000463593e05ff2b261acff0ff0972df8ab1b70d3cdbd41b546c8b8fc3d" - ], - "markers": "python_version >= '3.7'", - "version": "==3.1.27" - }, - "htbuilder": { - "hashes": [ - "sha256:85a45c9e6ba981893dd1b90e363f4ce5c9521a196186fc40122396844ee7946e" - ], - "markers": "python_version >= '3.5'", - "version": "==0.6.0" - }, - "huggingface-hub": { - "hashes": [ - "sha256:8154dc2fad84b32a4bca18372a647d9381ed8550a80b11050758357b8fcea639", - "sha256:fd448fd0b738d803411c79bdf9f12f0ba171fecd24a59edf88c1391b473bc2c0" - ], - "markers": "python_version >= '3.7'", - "version": "==0.7.0" - }, - "idna": { - "hashes": [ - "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", - "sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d" - ], - "markers": "python_version >= '3.5'", - "version": "==3.3" - }, - "imageio": { - "hashes": [ - "sha256:2c01611a90ac87119833946a41af53e55d68ec68e25e2780e6c3ce665100d006", - "sha256:46e1e74128837d2a1ebc87476b7f73978b69a128fa238bc989b625a9819bd9b3" - ], - "markers": "python_version >= '3.7'", - "version": "==2.19.2" - }, - "importlib-metadata": { - "hashes": [ - "sha256:5d26852efe48c0a32b0509ffbc583fda1a2266545a78d104a6f4aff3db17d700", - "sha256:c58c8eb8a762858f49e18436ff552e83914778e50e9d2f1660535ffb364552ec" - ], - "markers": "python_version >= '3.7'", - "version": "==4.11.4" - }, - "importlib-resources": { - "hashes": [ - "sha256:b6062987dfc51f0fcb809187cffbd60f35df7acb4589091f154214af6d0d49d3", - "sha256:e447dc01619b1e951286f3929be820029d48c75eb25d265c28b92a16548212b8" - ], - "markers": "python_version < '3.9'", - "version": "==5.7.1" - }, - "ipykernel": { - "hashes": [ - "sha256:0e28273e290858393e86e152b104e5506a79c13d25b951ac6eca220051b4be60", - "sha256:2b0987af43c0d4b62cecb13c592755f599f96f29aafe36c01731aaa96df30d39" - ], - "markers": "python_version >= '3.7'", - "version": "==6.13.0" - }, - "ipython": { - "hashes": [ - "sha256:341456643a764c28f670409bbd5d2518f9b82c013441084ff2c2fc999698f83b", - "sha256:807ae3cf43b84693c9272f70368440a9a7eaa2e7e6882dad943c32fbf7e51402" - ], - "markers": "python_version >= '3.8'", - "version": "==8.3.0" - }, - "ipython-genutils": { - "hashes": [ - "sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8", - "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" - ], - "version": "==0.2.0" - }, - "ipywidgets": { - "hashes": [ - "sha256:ab4a5596855a88b83761921c768707d65e5847068139bc1729ddfe834703542a", - "sha256:e58ff58bc94d481e91ecb6e13a5cb96a87b6b8ade135e055603d0ca24593df38" - ], - "version": "==7.7.0" - }, - "isort": { - "hashes": [ - "sha256:6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7", - "sha256:e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951" - ], - "markers": "python_full_version >= '3.6.1' and python_version < '4.0'", - "version": "==5.10.1" - }, - "iteration-utilities": { - "hashes": [ - "sha256:07edb8a7553fda1cfb59e4d761f7e03b3607b948cbd3549250bcb489a7bb0f81", - "sha256:08a00db7beac8647b00c5d9968e14235b33d387f4e2900ae1b1a4cfbf68894bb", - "sha256:0dc2aed43691d38052fe99d94f04886324818d058fb030068e14343008fe856b", - "sha256:112b615d596c939a427f08943c0e5594bca672bd67dc7ac928deb4a6a9637df7", - "sha256:15f7c88cdaaed2346e086cf993a283a694b74613039aa3d931279e0e40e9dca2", - "sha256:1666e00a4058620f5d2ca2de12927dc1819e36e1f37c8cfa17050c4db9d6703a", - "sha256:17c9418d967fd8020211ebd5770332fc6cf11800eec446a31fcad4fe96fe4009", - "sha256:1c9a1d58ca2f5260eed057e1b9d0b08f62a8e42153224476598f2dd079ae765e", - "sha256:243de0d75c54200350fe2f1aa4c08471f95fe4ca77fca741ae50b495ccd7420c", - "sha256:2593385dbe50636c3fec5a9c73a3413c265062608deba37dc54b7be83c23d663", - "sha256:37f427f2682aad3b27afab8edcfa8002268d1eab30c4957200a004af3d5f5b0e", - "sha256:3d154511cc177872bb843dcc789591f23214bc9d568db542f95c3cf4cc78b4eb", - "sha256:3f276186d2afc979c86ab4f505e398f9f206a8ad42c510d6000b1ed49748ca74", - "sha256:4005c4cbfaacf9897367dc92055e85d4990d5ab43a3234ff5be5b222e42fd511", - "sha256:46485bb3c7db9267014a1453009c612fb658d85ba4a41bee01346663b3797de6", - "sha256:47244350489474d25f516286554a3d9df235505e759ce7381ec1c8acf0734ac4", - "sha256:4805bda63753ad446af8c69035f7b6a1554176147d636a27f8a1f0ad297c405f", - "sha256:72020ff072f61a05974d82e5850dab3088339907e34c0fe20d8a6bf373e0ddbe", - "sha256:7aecba49b749630f30860535156b50399f23175f91fbb2a9849c3b41d40acac2", - "sha256:a074f8bbbfd75b9980819a5f342e90069c421dffebc66724bccc84034c9cdcd2", - "sha256:a9981e55e560389079201b97b10b885050bdfc2cd55d76a830307899a6c475f5", - "sha256:ae7cebc811843de5868400a8cc7e401569452e9cbaa09ebfccc4882f2507c36a", - "sha256:b6541b081a95a1c8b8a0ebb08d2ae49e649b3d8e75bb55e1b4eed7687561bd09", - "sha256:bd40f6af97e887950377777d7ce69bb47356a3f7d29f65f95687f4aaaf33a783", - "sha256:c37f44ee027d35cb25527260ccd4dcdd23ed6015f957dab4dc1398692e6df7a1", - "sha256:c4bb9be1d0ac15b13b0c2f4ada6159a32067f6e1af6ce65e3c72fda4deab4478", - "sha256:d10a7a6564b32a2266b67994264151e073f77463145b0cac8245cbd1da1b0013", - "sha256:d2f5e4acce15dbb731b71f9d109c329eee7bcb4d64c1bd9cc2669afca542ede8", - "sha256:e046738b578a9c7f7ca96a5d7554191d12f22a897ada78ab4d5ac1a92afc47ba", - "sha256:e7ad14f9bd0bb6d69b6ac30811decedcb71a16e2d4e528a469fe865ad8d57305", - "sha256:f06c4862911aad6c21529ecc0d6744048712303eb37afecc9ee5ffa804ba6614", - "sha256:f586a65e72a1120c9427e1903068268f11f0d73af0f56a247419f33ca0d4c3db", - "sha256:f91f41a2549e9a7e40ff5460fdf9033b6ee5b305d9be77943b63a554534c2a77" - ], - "markers": "python_version >= '3.5'", - "version": "==0.11.0" - }, - "jedi": { - "hashes": [ - "sha256:637c9635fcf47945ceb91cd7f320234a7be540ded6f3e99a50cb6febdfd1ba8d", - "sha256:74137626a64a99c8eb6ae5832d99b3bdd7d29a3850fe2aa80a4126b2a7d949ab" - ], - "markers": "python_version >= '3.6'", - "version": "==0.18.1" - }, - "jinja2": { - "hashes": [ - "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852", - "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61" - ], - "markers": "python_version >= '3.7'", - "version": "==3.1.2" - }, - "joblib": { - "hashes": [ - "sha256:4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35", - "sha256:f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6" - ], - "markers": "python_version >= '3.6'", - "version": "==1.1.0" - }, - "json5": { - "hashes": [ - "sha256:0fa6e4d3ef062f93ba9cf2a9103fe8e68c7917dfa33519ae3ac8c7e48e3c84ff" - ], - "version": "==0.9.8" - }, - "jsonschema": { - "hashes": [ - "sha256:71b5e39324422543546572954ce71c67728922c104902cb7ce252e522235b33f", - "sha256:7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc" - ], - "markers": "python_version >= '3.7'", - "version": "==4.5.1" - }, - "jupyter": { - "hashes": [ - "sha256:3e1f86076bbb7c8c207829390305a2b1fe836d471ed54be66a3b8c41e7f46cc7", - "sha256:5b290f93b98ffbc21c0c7e749f054b3267782166d72fa5e3ed1ed4eaf34a2b78", - "sha256:d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f" - ], - "index": "pypi", - "version": "==1.0.0" - }, - "jupyter-client": { - "hashes": [ - "sha256:05d4ff6a0ade25138c6bb0fbeac7ddc26b5fe835e7dd816b64b4a45b931bdc0b", - "sha256:404abe552540aff3527e66e16beb114b6b4ff58479d51a301f4eb9701e4f52ef" - ], - "markers": "python_version >= '3.7'", - "version": "==7.3.1" - }, - "jupyter-console": { - "hashes": [ - "sha256:55f32626b0be647a85e3217ddcdb22db69efc79e8b403b9771eb9ecc696019b5", - "sha256:e630bcb682c0088dda45688ad7c2424d4a825c8acf494cb036ced03ed0424841" - ], - "markers": "python_version >= '3.6'", - "version": "==6.4.3" - }, - "jupyter-core": { - "hashes": [ - "sha256:a6de44b16b7b31d7271130c71a6792c4040f077011961138afed5e5e73181aec", - "sha256:e7f5212177af7ab34179690140f188aa9bf3d322d8155ed972cbded19f55b6f3" - ], - "markers": "python_version >= '3.7'", - "version": "==4.10.0" - }, - "jupyter-server": { - "hashes": [ - "sha256:5aa5e0945e3dbf29390cfe9c418a9af245d812ce282932ae97d0671e10c147a0", - "sha256:7b3aa524790ab0da64f06dfe0b2af149d0a3f59aad71fdedcf1d8bae6508018c" - ], - "markers": "python_version >= '3.7'", - "version": "==1.17.0" - }, - "jupyterlab": { - "hashes": [ - "sha256:38abd3a4f83a8f97e3f15bebbcc0825903c15519809eedfaa41340d260be2160", - "sha256:f749fff221e12fe384dd91e6f8c004e6a59cd3bf4271208002ab02cb4218618c" - ], - "index": "pypi", - "version": "==3.4.2" - }, - "jupyterlab-pygments": { - "hashes": [ - "sha256:2405800db07c9f770863bcf8049a529c3dd4d3e28536638bd7c1c01d2748309f", - "sha256:7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d" - ], - "markers": "python_version >= '3.7'", - "version": "==0.2.2" - }, - "jupyterlab-server": { - "hashes": [ - "sha256:b04eaf68fe1ef96f70dd38b256417abe0b6ba1a07dd8ca0c97da5b0ebade57ec", - "sha256:ea72e8cf36824a99af08c93202aa2d4d0deb069445335e190586d1dc7c9a4b6c" - ], - "markers": "python_version >= '3.7'", - "version": "==2.14.0" - }, - "jupyterlab-widgets": { - "hashes": [ - "sha256:c2a9bd3789f120f64d73268c066ed3b000c56bc1dda217be5cdc43e7b4ebad3f", - "sha256:d5f41bc1713795385f718d44dcba47e1e1473c6289f28a95aa6b2c0782ee372a" - ], - "markers": "python_version >= '3.6'", - "version": "==1.1.0" - }, - "kiwisolver": { - "hashes": [ - "sha256:0b7f50a1a25361da3440f07c58cd1d79957c2244209e4f166990e770256b6b0b", - "sha256:0c380bb5ae20d829c1a5473cfcae64267b73aaa4060adc091f6df1743784aae0", - "sha256:0d98dca86f77b851350c250f0149aa5852b36572514d20feeadd3c6b1efe38d0", - "sha256:0e45e780a74416ef2f173189ef4387e44b5494f45e290bcb1f03735faa6779bf", - "sha256:0e8afdf533b613122e4bbaf3c1e42c2a5e9e2d1dd3a0a017749a7658757cb377", - "sha256:1008346a7741620ab9cc6c96e8ad9b46f7a74ce839dbb8805ddf6b119d5fc6c2", - "sha256:1d1078ba770d6165abed3d9a1be1f9e79b61515de1dd00d942fa53bba79f01ae", - "sha256:1dcade8f6fe12a2bb4efe2cbe22116556e3b6899728d3b2a0d3b367db323eacc", - "sha256:240009fdf4fa87844f805e23f48995537a8cb8f8c361e35fda6b5ac97fcb906f", - "sha256:240c2d51d098395c012ddbcb9bd7b3ba5de412a1d11840698859f51d0e643c4f", - "sha256:262c248c60f22c2b547683ad521e8a3db5909c71f679b93876921549107a0c24", - "sha256:2e6cda72db409eefad6b021e8a4f964965a629f577812afc7860c69df7bdb84a", - "sha256:3c032c41ae4c3a321b43a3650e6ecc7406b99ff3e5279f24c9b310f41bc98479", - "sha256:42f6ef9b640deb6f7d438e0a371aedd8bef6ddfde30683491b2e6f568b4e884e", - "sha256:484f2a5f0307bc944bc79db235f41048bae4106ffa764168a068d88b644b305d", - "sha256:69b2d6c12f2ad5f55104a36a356192cfb680c049fe5e7c1f6620fc37f119cdc2", - "sha256:6e395ece147f0692ca7cdb05a028d31b83b72c369f7b4a2c1798f4b96af1e3d8", - "sha256:6ece2e12e4b57bc5646b354f436416cd2a6f090c1dadcd92b0ca4542190d7190", - "sha256:71469b5845b9876b8d3d252e201bef6f47bf7456804d2fbe9a1d6e19e78a1e65", - "sha256:7f606d91b8a8816be476513a77fd30abe66227039bd6f8b406c348cb0247dcc9", - "sha256:7f88c4b8e449908eeddb3bbd4242bd4dc2c7a15a7aa44bb33df893203f02dc2d", - "sha256:81237957b15469ea9151ec8ca08ce05656090ffabc476a752ef5ad7e2644c526", - "sha256:89b57c2984f4464840e4b768affeff6b6809c6150d1166938ade3e22fbe22db8", - "sha256:8a830a03970c462d1a2311c90e05679da56d3bd8e78a4ba9985cb78ef7836c9f", - "sha256:8ae5a071185f1a93777c79a9a1e67ac46544d4607f18d07131eece08d415083a", - "sha256:8b6086aa6936865962b2cee0e7aaecf01ab6778ce099288354a7229b4d9f1408", - "sha256:8ec2e55bf31b43aabe32089125dca3b46fdfe9f50afbf0756ae11e14c97b80ca", - "sha256:8ff3033e43e7ca1389ee59fb7ecb8303abb8713c008a1da49b00869e92e3dd7c", - "sha256:91eb4916271655dfe3a952249cb37a5c00b6ba68b4417ee15af9ba549b5ba61d", - "sha256:9d2bb56309fb75a811d81ed55fbe2208aa77a3a09ff5f546ca95e7bb5fac6eff", - "sha256:a4e8f072db1d6fb7a7cc05a6dbef8442c93001f4bb604f1081d8c2db3ca97159", - "sha256:b1605c7c38cc6a85212dfd6a641f3905a33412e49f7c003f35f9ac6d71f67720", - "sha256:b3e251e5c38ac623c5d786adb21477f018712f8c6fa54781bd38aa1c60b60fc2", - "sha256:b978afdb913ca953cf128d57181da2e8798e8b6153be866ae2a9c446c6162f40", - "sha256:be9a650890fb60393e60aacb65878c4a38bb334720aa5ecb1c13d0dac54dd73b", - "sha256:c222f91a45da9e01a9bc4f760727ae49050f8e8345c4ff6525495f7a164c8973", - "sha256:c839bf28e45d7ddad4ae8f986928dbf5a6d42ff79760d54ec8ada8fb263e097c", - "sha256:cbb5eb4a2ea1ffec26268d49766cafa8f957fe5c1b41ad00733763fae77f9436", - "sha256:e348f1904a4fab4153407f7ccc27e43b2a139752e8acf12e6640ba683093dd96", - "sha256:e677cc3626287f343de751e11b1e8a5b915a6ac897e8aecdbc996cd34de753a0", - "sha256:f74f2a13af201559e3d32b9ddfc303c94ae63d63d7f4326d06ce6fe67e7a8255", - "sha256:fa4d97d7d2b2c082e67907c0b8d9f31b85aa5d3ba0d33096b7116f03f8061261", - "sha256:ffbdb9a96c536f0405895b5e21ee39ec579cb0ed97bdbd169ae2b55f41d73219" - ], - "markers": "python_version >= '3.7'", - "version": "==1.4.2" - }, - "langcodes": { - "hashes": [ - "sha256:4d89fc9acb6e9c8fdef70bcdf376113a3db09b67285d9e1d534de6d8818e7e69", - "sha256:794d07d5a28781231ac335a1561b8442f8648ca07cd518310aeb45d6f0807ef6" - ], - "markers": "python_version >= '3.6'", - "version": "==3.3.0" - }, - "lazy-object-proxy": { - "hashes": [ - "sha256:043651b6cb706eee4f91854da4a089816a6606c1428fd391573ef8cb642ae4f7", - "sha256:07fa44286cda977bd4803b656ffc1c9b7e3bc7dff7d34263446aec8f8c96f88a", - "sha256:12f3bb77efe1367b2515f8cb4790a11cffae889148ad33adad07b9b55e0ab22c", - "sha256:2052837718516a94940867e16b1bb10edb069ab475c3ad84fd1e1a6dd2c0fcfc", - "sha256:2130db8ed69a48a3440103d4a520b89d8a9405f1b06e2cc81640509e8bf6548f", - "sha256:39b0e26725c5023757fc1ab2a89ef9d7ab23b84f9251e28f9cc114d5b59c1b09", - "sha256:46ff647e76f106bb444b4533bb4153c7370cdf52efc62ccfc1a28bdb3cc95442", - "sha256:4dca6244e4121c74cc20542c2ca39e5c4a5027c81d112bfb893cf0790f96f57e", - "sha256:553b0f0d8dbf21890dd66edd771f9b1b5f51bd912fa5f26de4449bfc5af5e029", - "sha256:677ea950bef409b47e51e733283544ac3d660b709cfce7b187f5ace137960d61", - "sha256:6a24357267aa976abab660b1d47a34aaf07259a0c3859a34e536f1ee6e76b5bb", - "sha256:6a6e94c7b02641d1311228a102607ecd576f70734dc3d5e22610111aeacba8a0", - "sha256:6aff3fe5de0831867092e017cf67e2750c6a1c7d88d84d2481bd84a2e019ec35", - "sha256:6ecbb350991d6434e1388bee761ece3260e5228952b1f0c46ffc800eb313ff42", - "sha256:7096a5e0c1115ec82641afbdd70451a144558ea5cf564a896294e346eb611be1", - "sha256:70ed0c2b380eb6248abdef3cd425fc52f0abd92d2b07ce26359fcbc399f636ad", - "sha256:8561da8b3dd22d696244d6d0d5330618c993a215070f473b699e00cf1f3f6443", - "sha256:85b232e791f2229a4f55840ed54706110c80c0a210d076eee093f2b2e33e1bfd", - "sha256:898322f8d078f2654d275124a8dd19b079080ae977033b713f677afcfc88e2b9", - "sha256:8f3953eb575b45480db6568306893f0bd9d8dfeeebd46812aa09ca9579595148", - "sha256:91ba172fc5b03978764d1df5144b4ba4ab13290d7bab7a50f12d8117f8630c38", - "sha256:9d166602b525bf54ac994cf833c385bfcc341b364e3ee71e3bf5a1336e677b55", - "sha256:a57d51ed2997e97f3b8e3500c984db50a554bb5db56c50b5dab1b41339b37e36", - "sha256:b9e89b87c707dd769c4ea91f7a31538888aad05c116a59820f28d59b3ebfe25a", - "sha256:bb8c5fd1684d60a9902c60ebe276da1f2281a318ca16c1d0a96db28f62e9166b", - "sha256:c19814163728941bb871240d45c4c30d33b8a2e85972c44d4e63dd7107faba44", - "sha256:c4ce15276a1a14549d7e81c243b887293904ad2d94ad767f42df91e75fd7b5b6", - "sha256:c7a683c37a8a24f6428c28c561c80d5f4fd316ddcf0c7cab999b15ab3f5c5c69", - "sha256:d609c75b986def706743cdebe5e47553f4a5a1da9c5ff66d76013ef396b5a8a4", - "sha256:d66906d5785da8e0be7360912e99c9188b70f52c422f9fc18223347235691a84", - "sha256:dd7ed7429dbb6c494aa9bc4e09d94b778a3579be699f9d67da7e6804c422d3de", - "sha256:df2631f9d67259dc9620d831384ed7732a198eb434eadf69aea95ad18c587a28", - "sha256:e368b7f7eac182a59ff1f81d5f3802161932a41dc1b1cc45c1f757dc876b5d2c", - "sha256:e40f2013d96d30217a51eeb1db28c9ac41e9d0ee915ef9d00da639c5b63f01a1", - "sha256:f769457a639403073968d118bc70110e7dce294688009f5c24ab78800ae56dc8", - "sha256:fccdf7c2c5821a8cbd0a9440a456f5050492f2270bd54e94360cac663398739b", - "sha256:fd45683c3caddf83abbb1249b653a266e7069a09f486daa8863fb0e7496a9fdb" - ], - "markers": "python_version >= '3.6'", - "version": "==1.7.1" - }, - "lime": { - "hashes": [ - "sha256:76960e4f055feb53e89b5022383bafc87b63f25bac6265984b0a333d1a57f781" - ], - "index": "pypi", - "version": "==0.2.0.1" - }, - "llvmlite": { - "hashes": [ - "sha256:0622a86301fcf81cc50d7ed5b4bebe992c030580d413a8443b328ed4f4d82561", - "sha256:0c0adce1793d66d009c554809f27baeb6258bf13f6fbaa12eff7443500caec25", - "sha256:0e609f7312a439b53b6f622d99180c3ff6a3e1e4ceca4d18aca1c5b46f4e3664", - "sha256:3d76c0fa42390bef56979ed213fbf0150c3fef36f5ea68d3d780d5d725da8c01", - "sha256:41e638a71c85a9a4a33f279c4cd812bc2f84122505b1f6ab8984ec7debb8548b", - "sha256:4c1e5805c92e049b4956ed01204c6647de6160ab9aefb0d67ea83ca02a1d889a", - "sha256:4e11bd9929dcbd55d5eb5cd7b08bf71b0097ea48cc192b69d102a90dd6e9816f", - "sha256:5559e46c79b4017c3c25edc3b9512d11adc3689b9046120c685b0905c08d48a5", - "sha256:5c07d63df4578f31b39b764d3b4291f70157af7f42e171a8884ae7aaf989d1f7", - "sha256:633c9026eb43b9903cc4ffbc1c7d5293b2e3ad95d06fa9eab0f6ce6ff6ea15b3", - "sha256:66462d768c30d5f648ca3361d657b434efa8b09f6cf04d6b6eae66e62e993644", - "sha256:7a5e0ed215a576f0f872f47a70b8cb49864e0aefc8586aff5ce83e3bff47bc23", - "sha256:7db018da2863034ad9c73c946625637f3a89635bc70576068bab4bd085eea90d", - "sha256:84d5a0163c172db2b2ae561d2fc0866fbd9f716cf13f92c0d41ca4338e682672", - "sha256:8c4f26c6c370e134a909ac555a671fa1376e74c69af0208f25c0979472577a9d", - "sha256:8c64c90a8b0b7b7e1ed1912ba82c1a3f43cf25affbe06aa3c56c84050edee8ac", - "sha256:9c8fac4edbadefa4dddf5dc6cca76bc2ae81df211dcd16a6638d60cc41249e56", - "sha256:9f53c3448410cc84d0e1af84dbc0d60ad32779853d40bcc8b1ee3c67ebbe94b1", - "sha256:a263252a68d85450110ec1f2b406c0414e49b04a4d216d31c0515ea1d59c3882", - "sha256:a7dd2bd1d6406e7789273e3f8a304ed5d9adcfaa5768052fca7dc233a857be98", - "sha256:ab070266f0f51304789a6c20d4be91a9e69683ad9bd4861eb89980e8eb613b3a", - "sha256:b98da8436dbc29013ea301f1fdb0d596ab53bf0ab65c976d96d00bb6faa0b479", - "sha256:de8bd61480173930f2a029673e7cd0738fbbb5171dfe490340839ad7301d4cf0", - "sha256:ed7528b8b85de930b76407e44b080e4f376b7a007c2879749599ff8e2fe32753", - "sha256:edfa2c761cfa56cf76e783290d82e117f829bb691d8d90aa375505204888abac", - "sha256:ef9aa574eff2e15f8c47b255da0db5dab326dc7f76384c307ae35490e2d2489a", - "sha256:f95f455697c44d7c04ef95fdfce04629f48df08a832d0a0d9eb2363186dbb969", - "sha256:fbfbe546394c39db39a6898a51972aa131c8d6b0628517728b350552f58bdc19" - ], - "markers": "python_version < '3.11' and python_version >= '3.7'", - "version": "==0.38.1" - }, - "markupsafe": { - "hashes": [ - "sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", - "sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", - "sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5", - "sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7", - "sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a", - "sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603", - "sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", - "sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135", - "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247", - "sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6", - "sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", - "sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77", - "sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02", - "sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e", - "sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", - "sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", - "sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980", - "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", - "sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812", - "sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff", - "sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96", - "sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", - "sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", - "sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a", - "sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6", - "sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e", - "sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f", - "sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4", - "sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f", - "sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3", - "sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c", - "sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a", - "sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417", - "sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a", - "sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a", - "sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37", - "sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", - "sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933", - "sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a", - "sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7" - ], - "markers": "python_version >= '3.7'", - "version": "==2.1.1" - }, - "matplotlib": { - "hashes": [ - "sha256:03bbb3f5f78836855e127b5dab228d99551ad0642918ccbf3067fcd52ac7ac5e", - "sha256:24173c23d1bcbaed5bf47b8785d27933a1ac26a5d772200a0f3e0e38f471b001", - "sha256:2a0967d4156adbd0d46db06bc1a877f0370bce28d10206a5071f9ecd6dc60b79", - "sha256:2e8bda1088b941ead50caabd682601bece983cadb2283cafff56e8fcddbf7d7f", - "sha256:31fbc2af27ebb820763f077ec7adc79b5a031c2f3f7af446bd7909674cd59460", - "sha256:364e6bca34edc10a96aa3b1d7cd76eb2eea19a4097198c1b19e89bee47ed5781", - "sha256:3d8e129af95b156b41cb3be0d9a7512cc6d73e2b2109f82108f566dbabdbf377", - "sha256:44c6436868186564450df8fd2fc20ed9daaef5caad699aa04069e87099f9b5a8", - "sha256:48cf850ce14fa18067f2d9e0d646763681948487a8080ec0af2686468b4607a2", - "sha256:49a5938ed6ef9dda560f26ea930a2baae11ea99e1c2080c8714341ecfda72a89", - "sha256:4a05f2b37222319753a5d43c0a4fd97ed4ff15ab502113e3f2625c26728040cf", - "sha256:4a44cdfdb9d1b2f18b1e7d315eb3843abb097869cd1ef89cfce6a488cd1b5182", - "sha256:4fa28ca76ac5c2b2d54bc058b3dad8e22ee85d26d1ee1b116a6fd4d2277b6a04", - "sha256:5844cea45d804174bf0fac219b4ab50774e504bef477fc10f8f730ce2d623441", - "sha256:5a32ea6e12e80dedaca2d4795d9ed40f97bfa56e6011e14f31502fdd528b9c89", - "sha256:6c623b355d605a81c661546af7f24414165a8a2022cddbe7380a31a4170fa2e9", - "sha256:751d3815b555dcd6187ad35b21736dc12ce6925fc3fa363bbc6dc0f86f16484f", - "sha256:75c406c527a3aa07638689586343f4b344fcc7ab1f79c396699eb550cd2b91f7", - "sha256:77157be0fc4469cbfb901270c205e7d8adb3607af23cef8bd11419600647ceed", - "sha256:7d7705022df2c42bb02937a2a824f4ec3cca915700dd80dc23916af47ff05f1a", - "sha256:7f409716119fa39b03da3d9602bd9b41142fab7a0568758cd136cd80b1bf36c8", - "sha256:9480842d5aadb6e754f0b8f4ebeb73065ac8be1855baa93cd082e46e770591e9", - "sha256:9776e1a10636ee5f06ca8efe0122c6de57ffe7e8c843e0fb6e001e9d9256ec95", - "sha256:a91426ae910819383d337ba0dc7971c7cefdaa38599868476d94389a329e599b", - "sha256:b4fedaa5a9aa9ce14001541812849ed1713112651295fdddd640ea6620e6cf98", - "sha256:b6c63cd01cad0ea8704f1fd586e9dc5777ccedcd42f63cbbaa3eae8dd41172a1", - "sha256:b8d3f4e71e26307e8c120b72c16671d70c5cd08ae412355c11254aa8254fb87f", - "sha256:c4b82c2ae6d305fcbeb0eb9c93df2602ebd2f174f6e8c8a5d92f9445baa0c1d3", - "sha256:c772264631e5ae61f0bd41313bbe48e1b9bcc95b974033e1118c9caa1a84d5c6", - "sha256:c87973ddec10812bddc6c286b88fdd654a666080fbe846a1f7a3b4ba7b11ab78", - "sha256:e2b696699386766ef171a259d72b203a3c75d99d03ec383b97fc2054f52e15cf", - "sha256:ea75df8e567743207e2b479ba3d8843537be1c146d4b1e3e395319a4e1a77fe9", - "sha256:ebc27ad11df3c1661f4677a7762e57a8a91dd41b466c3605e90717c9a5f90c82", - "sha256:ee0b8e586ac07f83bb2950717e66cb305e2859baf6f00a9c39cc576e0ce9629c", - "sha256:ee175a571e692fc8ae8e41ac353c0e07259113f4cb063b0ec769eff9717e84bb" - ], - "markers": "python_version >= '3.7'", - "version": "==3.5.2" - }, - "matplotlib-inline": { - "hashes": [ - "sha256:a04bfba22e0d1395479f866853ec1ee28eea1485c1d69a6faf00dc3e24ff34ee", - "sha256:aed605ba3b72462d64d475a21a9296f400a19c4f74a31b59103d2a99ffd5aa5c" - ], - "markers": "python_version >= '3.5'", - "version": "==0.1.3" - }, - "mccabe": { - "hashes": [ - "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325", - "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e" - ], - "markers": "python_version >= '3.6'", - "version": "==0.7.0" - }, - "mistune": { - "hashes": [ - "sha256:59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e", - "sha256:88a1051873018da288eee8538d476dffe1262495144b33ecb586c4ab266bb8d4" - ], - "version": "==0.8.4" - }, - "murmurhash": { - "hashes": [ - "sha256:0b317021f38505d48a9ab89ce32e3a06d7f3f32b06b16ceda8bb93c82eb6aea8", - "sha256:13723aeb2b0f5ebc96bbcf133410481b28bfc7341ce65ae86fc32f02b54a68c1", - "sha256:2165e2d0e8fa806e5aacc7fd9e7e79c633618b23c11aa724192fad5dda6599ef", - "sha256:2f0ef0c80b590b4ad5cd474771f0bed81ecdb1942c549319d6895fa985d96dc3", - "sha256:3d2cc5e8ff2ee28b124bf32a944e31e5e164000233b772d72281f6b62568dc86", - "sha256:400c6a0a96f4fee3a3a384091044acb54f509af8b582d339de329d82ac4585f6", - "sha256:630a396ebd31ca44d89b4eca36fa74ea8aae724adf0afaa2de7680c350b2936f", - "sha256:65d9c6c39bb4c71689963109a1a3519acfa074280a94501c64f5e8d2a0cc257a", - "sha256:6b151ab593132cae6529575515ed664b618095590c08b41beda9f47689408623", - "sha256:789f19c0c566e87bfb74368a9f74388a6fe608dad10a2568f5da36c390de2eee", - "sha256:78adacef6767250cb7422e36d4e3f0d7359176f17f79fef9d1529656f8e73167", - "sha256:7e0837d2e02186eeac5aacb1e7ce7a8cada0da6fa7b366100e70c7d6c119206f", - "sha256:8797bc59cc5c0c6aa5019951d503be5329328ade5bc61d96348bcb8201ac6e52", - "sha256:92bdc94f5c898f68ae2e334dd7385d801d666d3ea31d5fb64bb2654af8445cfc", - "sha256:966d2efec6e01aa32c5774c44906724efca00da3507f06faa11acafb47ea1230", - "sha256:dee39a6f4067cdfefb2156374de230f49405850bc3280eb787e8f6c8daefeb8d", - "sha256:f53f16ef143f93127e9aa920a30cda11a799e172b28508c32fb538a82b487a0c", - "sha256:f7da66418c84982eca3494528b54ded4185d10a6b3231d53e1a2c83751e701e6", - "sha256:fe79b40470885c5accfa7e378a0405407ebf0d8b0cd06a726748dcfd2d8dfa50" - ], - "version": "==1.0.7" - }, - "nbclassic": { - "hashes": [ - "sha256:36dbaa88ffaf5dc05d149deb97504b86ba648f4a80a60b8a58ac94acab2daeb5", - "sha256:89184baa2d66b8ac3c8d3df57cbcf16f34148954d410a2fb3e897d7c18f2479d" - ], - "markers": "python_version >= '3.7'", - "version": "==0.3.7" - }, - "nbclient": { - "hashes": [ - "sha256:2747ac9b385720d8a6c34f2f71e72cbe64aec6cadaadcc064a4df0b0e99c5874", - "sha256:b80726fc1fb89a0e8f8be1e77e28d0026b1e8ed90bc143c8a0c7622e4f8cdd9e" - ], - "markers": "python_version >= '3.7'", - "version": "==0.6.3" - }, - "nbconvert": { - "hashes": [ - "sha256:223e46e27abe8596b8aed54301fadbba433b7ffea8196a68fd7b1ff509eee99d", - "sha256:c56dd0b8978a1811a5654f74c727ff16ca87dd5a43abd435a1c49b840fcd8360" - ], - "markers": "python_version >= '3.7'", - "version": "==6.5.0" - }, - "nbformat": { - "hashes": [ - "sha256:0d6072aaec95dddc39735c144ee8bbc6589c383fb462e4058abc855348152dad", - "sha256:44ba5ca6acb80c5d5a500f1e5b83ede8cbe364d5a495c4c8cf60aaf1ba656501" - ], - "markers": "python_version >= '3.7'", - "version": "==5.4.0" - }, - "nest-asyncio": { - "hashes": [ - "sha256:b98e3ec1b246135e4642eceffa5a6c23a3ab12c82ff816a92c612d68205813b2", - "sha256:e442291cd942698be619823a17a86a5759eabe1f8613084790de189fe9e16d65" - ], - "markers": "python_version >= '3.5'", - "version": "==1.5.5" - }, - "networkx": { - "hashes": [ - "sha256:51d6ae63c24dcd33901357688a2ad20d6bcd38f9a4c5307720048d3a8081059c", - "sha256:ae99c9b0d35e5b4a62cf1cfea01e5b3633d8d02f4a0ead69685b6e7de5b85eab" - ], - "markers": "python_version >= '3.8'", - "version": "==2.8.2" - }, - "nltk": { - "hashes": [ - "sha256:ba3de02490308b248f9b94c8bc1ac0683e9aa2ec49ee78536d8667afb5e3eec8", - "sha256:d6507d6460cec76d70afea4242a226a7542f85c669177b9c7f562b7cf1b05502" - ], - "index": "pypi", - "version": "==3.7" - }, - "notebook": { - "hashes": [ - "sha256:709b1856a564fe53054796c80e17a67262071c86bfbdfa6b96aaa346113c555a", - "sha256:b4a6baf2eba21ce67a0ca11a793d1781b06b8078f34d06c710742e55f3eee505" - ], - "markers": "python_version >= '3.7'", - "version": "==6.4.11" - }, - "notebook-shim": { - "hashes": [ - "sha256:02432d55a01139ac16e2100888aa2b56c614720cec73a27e71f40a5387e45324", - "sha256:7897e47a36d92248925a2143e3596f19c60597708f7bef50d81fcd31d7263e85" - ], - "markers": "python_version >= '3.7'", - "version": "==0.1.0" - }, - "numba": { - "hashes": [ - "sha256:02fb0ecd218ab1e1171cbaee11235a3a1f7dcf79dee3fa786243a2a6411f2fea", - "sha256:03e9069a2666d1c84f93b00dbd716fb8fedde8bb2c6efafa2f04842a46442ea3", - "sha256:0dc8294b2b6b2dbe3a709787bbb1e6f9dcef62197429de8daaa714d77052eefe", - "sha256:230e542649c7087454bc851d2e22b5e15694b6cf0549a27234d1baea6c2e0a87", - "sha256:39a109efc317e8eb786feff0a29476036971ce08e3280be8153c3b6c1ccba415", - "sha256:4a5cb8930e729aeed96809524ca4df41b6f2432b379f220014ef4fdff21dbfe6", - "sha256:53909143917ea4962cfbfae7038ac882987ff54cb2c408538ce71f83b356f106", - "sha256:53ee562b873e00eaa26390690ac5d36b706782d429e5a18b255161f607f13c17", - "sha256:64209d71b1e33415d5b1b177ed218d679062f844667dd279ee9094c4e3e2babc", - "sha256:6aa8f18a003a0e4876826fe080e6038fc6da083899873b77172ec29c32e49b56", - "sha256:6d0042371880fa56ed58be27502b11a08bff0b6335f0ebde82af1a7aef5e1287", - "sha256:71815c501b2f6309c432e98ff93a582a9bfb61da943e0cb9a52595fadbb1131d", - "sha256:77187ed09e6b25ae24b840e1acc4b5f9886b551cdc5f919ddad8e5933a6027d5", - "sha256:a5af7f1d30f56029d1b9ea288372f924f9dcb322f0e6358f6d5203b20eb6f7a0", - "sha256:ac6ae19ff5093a42bf8b365550322a2e39650d608daa379dff71571272d88d93", - "sha256:adc88fe64f5235c8b1e7230ae29476a08ffb61a65e9f79f745bd357f215e2d52", - "sha256:b72350160eb9a73a36aa17d808f954353a263a0295d495497c87439d79bdaec7", - "sha256:bcd5e09dba5e19ff7a1b9716a1ce58f0931cec09515683011e57415c6a33ac3d", - "sha256:be56fb78303973e6c19c7c2759996a5863bac69ca87570543d9f18f2f287a441", - "sha256:cddc13939e2b27782258826686800ae9c2e90b35c36ef1ab5ccfae7cedca0516", - "sha256:d5ee721ce884f8313802295633fdd3e7c83541e0917bafea2bdfed6aabab93bf", - "sha256:d80afc5618e66af2d101eff0e6214acb865136ae886d8b01414ca3dedd9166d6", - "sha256:ee71407be9cba09b4f68afa668317e97d66d5f83c37ab4caa20d8abcf5fad32b", - "sha256:fee529ddc9c0584b932f7885735162e52344eded8c01c78c17e2768aa6787780", - "sha256:ff5ed5c7665f8a5405af53332d224caca68358909abde9ca8dfef3495cdea789" - ], - "markers": "python_version < '3.11' and python_version >= '3.7'", - "version": "==0.55.1" - }, - "numpy": { - "hashes": [ - "sha256:1dbe1c91269f880e364526649a52eff93ac30035507ae980d2fed33aaee633ac", - "sha256:357768c2e4451ac241465157a3e929b265dfac85d9214074985b1786244f2ef3", - "sha256:3820724272f9913b597ccd13a467cc492a0da6b05df26ea09e78b171a0bb9da6", - "sha256:4391bd07606be175aafd267ef9bea87cf1b8210c787666ce82073b05f202add1", - "sha256:4aa48afdce4660b0076a00d80afa54e8a97cd49f457d68a4342d188a09451c1a", - "sha256:58459d3bad03343ac4b1b42ed14d571b8743dc80ccbf27444f266729df1d6f5b", - "sha256:5c3c8def4230e1b959671eb959083661b4a0d2e9af93ee339c7dada6759a9470", - "sha256:5f30427731561ce75d7048ac254dbe47a2ba576229250fb60f0fb74db96501a1", - "sha256:643843bcc1c50526b3a71cd2ee561cf0d8773f062c8cbaf9ffac9fdf573f83ab", - "sha256:67c261d6c0a9981820c3a149d255a76918278a6b03b6a036800359aba1256d46", - "sha256:67f21981ba2f9d7ba9ade60c9e8cbaa8cf8e9ae51673934480e45cf55e953673", - "sha256:6aaf96c7f8cebc220cdfc03f1d5a31952f027dda050e5a703a0d1c396075e3e7", - "sha256:7c4068a8c44014b2d55f3c3f574c376b2494ca9cc73d2f1bd692382b6dffe3db", - "sha256:7c7e5fa88d9ff656e067876e4736379cc962d185d5cd808014a8a928d529ef4e", - "sha256:7f5ae4f304257569ef3b948810816bc87c9146e8c446053539947eedeaa32786", - "sha256:82691fda7c3f77c90e62da69ae60b5ac08e87e775b09813559f8901a88266552", - "sha256:8737609c3bbdd48e380d463134a35ffad3b22dc56295eff6f79fd85bd0eeeb25", - "sha256:9f411b2c3f3d76bba0865b35a425157c5dcf54937f82bbeb3d3c180789dd66a6", - "sha256:a6be4cb0ef3b8c9250c19cc122267263093eee7edd4e3fa75395dfda8c17a8e2", - "sha256:bcb238c9c96c00d3085b264e5c1a1207672577b93fa666c3b14a45240b14123a", - "sha256:bf2ec4b75d0e9356edea834d1de42b31fe11f726a81dfb2c2112bc1eaa508fcf", - "sha256:d136337ae3cc69aa5e447e78d8e1514be8c3ec9b54264e680cf0b4bd9011574f", - "sha256:d4bf4d43077db55589ffc9009c0ba0a94fa4908b9586d6ccce2e0b164c86303c", - "sha256:d6a96eef20f639e6a97d23e57dd0c1b1069a7b4fd7027482a4c5c451cd7732f4", - "sha256:d9caa9d5e682102453d96a0ee10c7241b72859b01a941a397fd965f23b3e016b", - "sha256:dd1c8f6bd65d07d3810b90d02eba7997e32abbdf1277a481d698969e921a3be0", - "sha256:e31f0bb5928b793169b87e3d1e070f2342b22d5245c755e2b81caa29756246c3", - "sha256:ecb55251139706669fdec2ff073c98ef8e9a84473e51e716211b41aa0f18e656", - "sha256:ee5ec40fdd06d62fe5d4084bef4fd50fd4bb6bfd2bf519365f569dc470163ab0", - "sha256:f17e562de9edf691a42ddb1eb4a5541c20dd3f9e65b09ded2beb0799c0cf29bb", - "sha256:fdffbfb6832cd0b300995a2b08b8f6fa9f6e856d562800fea9182316d99c4e8e" - ], - "index": "pypi", - "version": "==1.21.6" - }, - "packaging": { - "hashes": [ - "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", - "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522" - ], - "markers": "python_version >= '3.6'", - "version": "==21.3" - }, - "pandas": { - "hashes": [ - "sha256:0010771bd9223f7afe5f051eb47c4a49534345dfa144f2f5470b27189a4dd3b5", - "sha256:061609334a8182ab500a90fe66d46f6f387de62d3a9cb9aa7e62e3146c712167", - "sha256:09d8be7dd9e1c4c98224c4dfe8abd60d145d934e9fc1f5f411266308ae683e6a", - "sha256:295872bf1a09758aba199992c3ecde455f01caf32266d50abc1a073e828a7b9d", - "sha256:3228198333dd13c90b6434ddf61aa6d57deaca98cf7b654f4ad68a2db84f8cfe", - "sha256:385c52e85aaa8ea6a4c600a9b2821181a51f8be0aee3af6f2dcb41dafc4fc1d0", - "sha256:51649ef604a945f781105a6d2ecf88db7da0f4868ac5d45c51cb66081c4d9c73", - "sha256:5586cc95692564b441f4747c47c8a9746792e87b40a4680a2feb7794defb1ce3", - "sha256:5a206afa84ed20e07603f50d22b5f0db3fb556486d8c2462d8bc364831a4b417", - "sha256:5b79af3a69e5175c6fa7b4e046b21a646c8b74e92c6581a9d825687d92071b51", - "sha256:5c54ea4ef3823108cd4ec7fb27ccba4c3a775e0f83e39c5e17f5094cb17748bc", - "sha256:8c5bf555b6b0075294b73965adaafb39cf71c312e38c5935c93d78f41c19828a", - "sha256:92bc1fc585f1463ca827b45535957815b7deb218c549b7c18402c322c7549a12", - "sha256:95c1e422ced0199cf4a34385ff124b69412c4bc912011ce895582bee620dfcaa", - "sha256:b8134651258bce418cb79c71adeff0a44090c98d955f6953168ba16cc285d9f7", - "sha256:be67c782c4f1b1f24c2f16a157e12c2693fd510f8df18e3287c77f33d124ed07", - "sha256:c072c7f06b9242c855ed8021ff970c0e8f8b10b35e2640c657d2a541c5950f59", - "sha256:d0d4f13e4be7ce89d7057a786023c461dd9370040bdb5efa0a7fe76b556867a0", - "sha256:df82739e00bb6daf4bba4479a40f38c718b598a84654cbd8bb498fd6b0aa8c16", - "sha256:f549097993744ff8c41b5e8f2f0d3cbfaabe89b4ae32c8c08ead6cc535b80139", - "sha256:ff08a14ef21d94cdf18eef7c569d66f2e24e0bc89350bcd7d243dd804e3b5eb2" - ], - "index": "pypi", - "version": "==1.4.2" - }, - "pandocfilters": { - "hashes": [ - "sha256:0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38", - "sha256:33aae3f25fd1a026079f5d27bdd52496f0e0803b3469282162bafdcbdf6ef14f" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.5.0" - }, - "parso": { - "hashes": [ - "sha256:8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0", - "sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75" - ], - "markers": "python_version >= '3.6'", - "version": "==0.8.3" - }, - "pathy": { - "hashes": [ - "sha256:25fd04cec6393661113086730ce69c789d121bea83ab1aa18452e8fd42faf29a", - "sha256:838624441f799a06b446a657e4ecc9ebc3fdd05234397e044a7c87e8f6e76b1c" - ], - "markers": "python_version >= '3.6'", - "version": "==0.6.1" - }, - "pexpect": { - "hashes": [ - "sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937", - "sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c" - ], - "markers": "sys_platform != 'win32'", - "version": "==4.8.0" - }, - "pickleshare": { - "hashes": [ - "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca", - "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56" - ], - "version": "==0.7.5" - }, - "pillow": { - "hashes": [ - "sha256:088df396b047477dd1bbc7de6e22f58400dae2f21310d9e2ec2933b2ef7dfa4f", - "sha256:09e67ef6e430f90caa093528bd758b0616f8165e57ed8d8ce014ae32df6a831d", - "sha256:0b4d5ad2cd3a1f0d1df882d926b37dbb2ab6c823ae21d041b46910c8f8cd844b", - "sha256:0b525a356680022b0af53385944026d3486fc8c013638cf9900eb87c866afb4c", - "sha256:1d4331aeb12f6b3791911a6da82de72257a99ad99726ed6b63f481c0184b6fb9", - "sha256:20d514c989fa28e73a5adbddd7a171afa5824710d0ab06d4e1234195d2a2e546", - "sha256:2b291cab8a888658d72b575a03e340509b6b050b62db1f5539dd5cd18fd50578", - "sha256:3f6c1716c473ebd1649663bf3b42702d0d53e27af8b64642be0dd3598c761fb1", - "sha256:42dfefbef90eb67c10c45a73a9bc1599d4dac920f7dfcbf4ec6b80cb620757fe", - "sha256:488f3383cf5159907d48d32957ac6f9ea85ccdcc296c14eca1a4e396ecc32098", - "sha256:4d45dbe4b21a9679c3e8b3f7f4f42a45a7d3ddff8a4a16109dff0e1da30a35b2", - "sha256:53c27bd452e0f1bc4bfed07ceb235663a1df7c74df08e37fd6b03eb89454946a", - "sha256:55e74faf8359ddda43fee01bffbc5bd99d96ea508d8a08c527099e84eb708f45", - "sha256:59789a7d06c742e9d13b883d5e3569188c16acb02eeed2510fd3bfdbc1bd1530", - "sha256:5b650dbbc0969a4e226d98a0b440c2f07a850896aed9266b6fedc0f7e7834108", - "sha256:66daa16952d5bf0c9d5389c5e9df562922a59bd16d77e2a276e575d32e38afd1", - "sha256:6e760cf01259a1c0a50f3c845f9cad1af30577fd8b670339b1659c6d0e7a41dd", - "sha256:7502539939b53d7565f3d11d87c78e7ec900d3c72945d4ee0e2f250d598309a0", - "sha256:769a7f131a2f43752455cc72f9f7a093c3ff3856bf976c5fb53a59d0ccc704f6", - "sha256:7c150dbbb4a94ea4825d1e5f2c5501af7141ea95825fadd7829f9b11c97aaf6c", - "sha256:8844217cdf66eabe39567118f229e275f0727e9195635a15e0e4b9227458daaf", - "sha256:8a66fe50386162df2da701b3722781cbe90ce043e7d53c1fd6bd801bca6b48d4", - "sha256:9370d6744d379f2de5d7fa95cdbd3a4d92f0b0ef29609b4b1687f16bc197063d", - "sha256:937a54e5694684f74dcbf6e24cc453bfc5b33940216ddd8f4cd8f0f79167f765", - "sha256:9c857532c719fb30fafabd2371ce9b7031812ff3889d75273827633bca0c4602", - "sha256:a4165205a13b16a29e1ac57efeee6be2dfd5b5408122d59ef2145bc3239fa340", - "sha256:b3fe2ff1e1715d4475d7e2c3e8dabd7c025f4410f79513b4ff2de3d51ce0fa9c", - "sha256:b6617221ff08fbd3b7a811950b5c3f9367f6e941b86259843eab77c8e3d2b56b", - "sha256:b761727ed7d593e49671d1827044b942dd2f4caae6e51bab144d4accf8244a84", - "sha256:baf3be0b9446a4083cc0c5bb9f9c964034be5374b5bc09757be89f5d2fa247b8", - "sha256:c17770a62a71718a74b7548098a74cd6880be16bcfff5f937f900ead90ca8e92", - "sha256:c67db410508b9de9c4694c57ed754b65a460e4812126e87f5052ecf23a011a54", - "sha256:d78ca526a559fb84faaaf84da2dd4addef5edb109db8b81677c0bb1aad342601", - "sha256:e9ed59d1b6ee837f4515b9584f3d26cf0388b742a11ecdae0d9237a94505d03a", - "sha256:f054b020c4d7e9786ae0404278ea318768eb123403b18453e28e47cdb7a0a4bf", - "sha256:f372d0f08eff1475ef426344efe42493f71f377ec52237bf153c5713de987251", - "sha256:f3f6a6034140e9e17e9abc175fc7a266a6e63652028e157750bd98e804a8ed9a", - "sha256:ffde4c6fabb52891d81606411cbfaf77756e3b561b566efd270b3ed3791fde4e" - ], - "markers": "python_version >= '3.7'", - "version": "==9.1.1" - }, - "platformdirs": { - "hashes": [ - "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788", - "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19" - ], - "markers": "python_version >= '3.7'", - "version": "==2.5.2" - }, - "plotly": { - "hashes": [ - "sha256:0e6e2382aafe2b2978d2c1b10ea93e73ad1ec80fa9a195ff6eea62af7905dfdc", - "sha256:58cef3292f5994d82154d51fbc7338c48009fc47ea32ffe052ad29aaa15e0df9" - ], - "index": "pypi", - "version": "==5.8.0" - }, - "preshed": { - "hashes": [ - "sha256:3af09f4cfcdaca085fd87dac8107617c4e2bb0ad1458f953841b71e9728287f5", - "sha256:58661bea8d0d63a648588511407285e43d43627e27f836e30819801fb3c75d70", - "sha256:5f99837e7353ce1fa81f0074d4b15f36e0af5af60a2a54d4d11e13cb09768a9e", - "sha256:61b2ea656cb1c38d544cc774f1c2ad1cdab23167b46b35310a7e211d4ba9c6d0", - "sha256:66a71ced487516cf81fd0431a3a843514262ae2f33e9a7688b87562258fa75d5", - "sha256:6c98f725d8478f3ade4ab1ea00f50a92d2d9406d37276bc46fd8bab1d47452c4", - "sha256:87e1add41b7f6236a3ccc34788f47ab8682bc28e8a2d369089062e274494c1a0", - "sha256:8c60a400babfc5b25ba371fda7041be227f7c625e1fb7a43329c2c08fe00a53b", - "sha256:92a8f49d17a63537a8beed48a049b62ef168ca07e0042a5b2bcdf178a1fb5d48", - "sha256:9c7809491e26a41bd6e4e2e93ddf3e8989cff256c3829a7953b57c97a8268a6c", - "sha256:9fb3d1da40abe3d99a9ee28c0df7090c1bab7c09042421d3cade7dc12e868c70", - "sha256:a279c138ad1d5be02547b1545254929588414b01571fe637016367f6a1aa11de", - "sha256:ab8b5232255ebf7ee96e3cb4f1bedaace6ae0925d1113d4ede9d44c78f088ef2", - "sha256:cfe1495fcfc7f479de840ddc4f426dbb55351e218ae5c8712c1269183a4d0060", - "sha256:e03ae3eee961106a517fcd827b5a7c51f7317236b3e665c989054ab8dc381d28", - "sha256:ea8aa9610837e907e8442e79300df0a861bfdb4dcaf026a5d9642a688ad04815", - "sha256:eaffbc71fdb8625f9aac4fe7e19e20bf318d1421ea05903bebe3e6ffef27b587", - "sha256:f92e752a868ea2690e1b38c4b775251a145e0fce36b9bdd972539e8271b7a23a", - "sha256:fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73a37025aea1df7215af3772a" - ], - "version": "==3.0.6" - }, - "prometheus-client": { - "hashes": [ - "sha256:522fded625282822a89e2773452f42df14b5a8e84a86433e3f8a189c1d54dc01", - "sha256:5459c427624961076277fdc6dc50540e2bacb98eebde99886e59ec55ed92093a" - ], - "markers": "python_version >= '3.6'", - "version": "==0.14.1" - }, - "prompt-toolkit": { - "hashes": [ - "sha256:62291dad495e665fca0bda814e342c69952086afb0f4094d0893d357e5c78752", - "sha256:bd640f60e8cecd74f0dc249713d433ace2ddc62b65ee07f96d358e0b152b6ea7" - ], - "markers": "python_full_version >= '3.6.2'", - "version": "==3.0.29" - }, - "protobuf": { - "hashes": [ - "sha256:06059eb6953ff01e56a25cd02cca1a9649a75a7e65397b5b9b4e929ed71d10cf", - "sha256:097c5d8a9808302fb0da7e20edf0b8d4703274d140fd25c5edabddcde43e081f", - "sha256:284f86a6207c897542d7e956eb243a36bb8f9564c1742b253462386e96c6b78f", - "sha256:32ca378605b41fd180dfe4e14d3226386d8d1b002ab31c969c366549e66a2bb7", - "sha256:3cc797c9d15d7689ed507b165cd05913acb992d78b379f6014e013f9ecb20996", - "sha256:62f1b5c4cd6c5402b4e2d63804ba49a327e0c386c99b1675c8a0fefda23b2067", - "sha256:69ccfdf3657ba59569c64295b7d51325f91af586f8d5793b734260dfe2e94e2c", - "sha256:6f50601512a3d23625d8a85b1638d914a0970f17920ff39cec63aaef80a93fb7", - "sha256:7403941f6d0992d40161aa8bb23e12575637008a5a02283a930addc0508982f9", - "sha256:755f3aee41354ae395e104d62119cb223339a8f3276a0cd009ffabfcdd46bb0c", - "sha256:77053d28427a29987ca9caf7b72ccafee011257561259faba8dd308fda9a8739", - "sha256:7e371f10abe57cee5021797126c93479f59fccc9693dafd6bd5633ab67808a91", - "sha256:9016d01c91e8e625141d24ec1b20fed584703e527d28512aa8c8707f105a683c", - "sha256:9be73ad47579abc26c12024239d3540e6b765182a91dbc88e23658ab71767153", - "sha256:adc31566d027f45efe3f44eeb5b1f329da43891634d61c75a5944e9be6dd42c9", - "sha256:adfc6cf69c7f8c50fd24c793964eef18f0ac321315439d94945820612849c388", - "sha256:af0ebadc74e281a517141daad9d0f2c5d93ab78e9d455113719a45a49da9db4e", - "sha256:cb29edb9eab15742d791e1025dd7b6a8f6fcb53802ad2f6e3adcb102051063ab", - "sha256:cd68be2559e2a3b84f517fb029ee611546f7812b1fdd0aa2ecc9bc6ec0e4fdde", - "sha256:cdee09140e1cd184ba9324ec1df410e7147242b94b5f8b0c64fc89e38a8ba531", - "sha256:db977c4ca738dd9ce508557d4fce0f5aebd105e158c725beec86feb1f6bc20d8", - "sha256:dd5789b2948ca702c17027c84c2accb552fc30f4622a98ab5c51fcfe8c50d3e7", - "sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20", - "sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3" - ], - "markers": "python_version >= '3.7'", - "version": "==3.20.1" - }, - "psutil": { - "hashes": [ - "sha256:068935df39055bf27a29824b95c801c7a5130f118b806eee663cad28dca97685", - "sha256:0904727e0b0a038830b019551cf3204dd48ef5c6868adc776e06e93d615fc5fc", - "sha256:0f15a19a05f39a09327345bc279c1ba4a8cfb0172cc0d3c7f7d16c813b2e7d36", - "sha256:19f36c16012ba9cfc742604df189f2f28d2720e23ff7d1e81602dbe066be9fd1", - "sha256:20b27771b077dcaa0de1de3ad52d22538fe101f9946d6dc7869e6f694f079329", - "sha256:28976df6c64ddd6320d281128817f32c29b539a52bdae5e192537bc338a9ec81", - "sha256:29a442e25fab1f4d05e2655bb1b8ab6887981838d22effa2396d584b740194de", - "sha256:3054e923204b8e9c23a55b23b6df73a8089ae1d075cb0bf711d3e9da1724ded4", - "sha256:32c52611756096ae91f5d1499fe6c53b86f4a9ada147ee42db4991ba1520e574", - "sha256:3a76ad658641172d9c6e593de6fe248ddde825b5866464c3b2ee26c35da9d237", - "sha256:44d1826150d49ffd62035785a9e2c56afcea66e55b43b8b630d7706276e87f22", - "sha256:4b6750a73a9c4a4e689490ccb862d53c7b976a2a35c4e1846d049dcc3f17d83b", - "sha256:56960b9e8edcca1456f8c86a196f0c3d8e3e361320071c93378d41445ffd28b0", - "sha256:57f1819b5d9e95cdfb0c881a8a5b7d542ed0b7c522d575706a80bedc848c8954", - "sha256:58678bbadae12e0db55186dc58f2888839228ac9f41cc7848853539b70490021", - "sha256:645bd4f7bb5b8633803e0b6746ff1628724668681a434482546887d22c7a9537", - "sha256:799759d809c31aab5fe4579e50addf84565e71c1dc9f1c31258f159ff70d3f87", - "sha256:79c9108d9aa7fa6fba6e668b61b82facc067a6b81517cab34d07a84aa89f3df0", - "sha256:91c7ff2a40c373d0cc9121d54bc5f31c4fa09c346528e6a08d1845bce5771ffc", - "sha256:9272167b5f5fbfe16945be3db475b3ce8d792386907e673a209da686176552af", - "sha256:944c4b4b82dc4a1b805329c980f270f170fdc9945464223f2ec8e57563139cf4", - "sha256:a6a11e48cb93a5fa606306493f439b4aa7c56cb03fc9ace7f6bfa21aaf07c453", - "sha256:a8746bfe4e8f659528c5c7e9af5090c5a7d252f32b2e859c584ef7d8efb1e689", - "sha256:abd9246e4cdd5b554a2ddd97c157e292ac11ef3e7af25ac56b08b455c829dca8", - "sha256:b14ee12da9338f5e5b3a3ef7ca58b3cba30f5b66f7662159762932e6d0b8f680", - "sha256:b88f75005586131276634027f4219d06e0561292be8bd6bc7f2f00bdabd63c4e", - "sha256:c7be9d7f5b0d206f0bbc3794b8e16fb7dbc53ec9e40bbe8787c6f2d38efcf6c9", - "sha256:d2d006286fbcb60f0b391741f520862e9b69f4019b4d738a2a45728c7e952f1b", - "sha256:db417f0865f90bdc07fa30e1aadc69b6f4cad7f86324b02aa842034efe8d8c4d", - "sha256:e7e10454cb1ab62cc6ce776e1c135a64045a11ec4c6d254d3f7689c16eb3efd2", - "sha256:f65f9a46d984b8cd9b3750c2bdb419b2996895b005aefa6cbaba9a143b1ce2c5", - "sha256:fea896b54f3a4ae6f790ac1d017101252c93f6fe075d0e7571543510f11d2676" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==5.9.1" - }, - "ptyprocess": { - "hashes": [ - "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", - "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" - ], - "version": "==0.7.0" - }, - "pure-eval": { - "hashes": [ - "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350", - "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3" - ], - "version": "==0.2.2" - }, - "pyarrow": { - "hashes": [ - "sha256:03a10daad957970e914920b793f6a49416699e791f4c827927fd4e4d892a5d16", - "sha256:15511ce2f50343f3fd5e9f7c30e4d004da9134e9597e93e9c96c3985928cbe82", - "sha256:1dd482ccb07c96188947ad94d7536ab696afde23ad172df8e18944ec79f55055", - "sha256:25a5f7c7f36df520b0b7363ba9f51c3070799d4b05d587c60c0adaba57763479", - "sha256:3bd201af6e01f475f02be88cf1f6ee9856ab98c11d8bbb6f58347c58cd07be00", - "sha256:3fee786259d986f8c046100ced54d63b0c8c9f7cdb7d1bbe07dc69e0f928141c", - "sha256:42b7982301a9ccd06e1dd4fabd2e8e5df74b93ce4c6b87b81eb9e2d86dc79871", - "sha256:4a18a211ed888f1ac0b0ebcb99e2d9a3e913a481120ee9b1fe33d3fedb945d4e", - "sha256:51e58778fcb8829fca37fbfaea7f208d5ce7ea89ea133dd13d8ce745278ee6f0", - "sha256:541e7845ce5f27a861eb5b88ee165d931943347eec17b9ff1e308663531c9647", - "sha256:65c7f4cc2be195e3db09296d31a654bb6d8786deebcab00f0e2455fd109d7456", - "sha256:69b043a3fce064ebd9fbae6abc30e885680296e5bd5e6f7353e6a87966cf2ad7", - "sha256:6ea2c54e6b5ecd64e8299d2abb40770fe83a718f5ddc3825ddd5cd28e352cce1", - "sha256:78a6ac39cd793582998dac88ab5c1c1dd1e6503df6672f064f33a21937ec1d8d", - "sha256:81b87b782a1366279411f7b235deab07c8c016e13f9af9f7c7b0ee564fedcc8f", - "sha256:8392b9a1e837230090fe916415ed4c3433b2ddb1a798e3f6438303c70fbabcfc", - "sha256:863be6bad6c53797129610930794a3e797cb7d41c0a30e6794a2ac0e42ce41b8", - "sha256:8cd86e04a899bef43e25184f4b934584861d787cf7519851a8c031803d45c6d8", - "sha256:95c7822eb37663e073da9892f3499fe28e84f3464711a3e555e0c5463fd53a19", - "sha256:98c13b2e28a91b0fbf24b483df54a8d7814c074c2623ecef40dce1fa52f6539b", - "sha256:ba2b7aa7efb59156b87987a06f5241932914e4d5bbb74a465306b00a6c808849", - "sha256:c9c97c8e288847e091dfbcdf8ce51160e638346f51919a9e74fe038b2e8aee62", - "sha256:cb06cacc19f3b426681f2f6803cc06ff481e7fe5b3a533b406bc5b2138843d4f", - "sha256:ce64bc1da3109ef5ab9e4c60316945a7239c798098a631358e9ab39f6e5529e9", - "sha256:d5ef4372559b191cafe7db8932801eee252bfc35e983304e7d60b6954576a071", - "sha256:d6f1e1040413651819074ef5b500835c6c42e6c446532a1ddef8bc5054e8dba5", - "sha256:deb400df8f19a90b662babceb6dd12daddda6bb357c216e558b207c0770c7654", - "sha256:ea132067ec712d1b1116a841db1c95861508862b21eddbcafefbce8e4b96b867", - "sha256:ece333706a94c1221ced8b299042f85fd88b5db802d71be70024433ddf3aecab", - "sha256:edad25522ad509e534400d6ab98cf1872d30c31bc5e947712bfd57def7af15bb" - ], - "markers": "python_version >= '3.7'", - "version": "==8.0.0" - }, - "pycparser": { - "hashes": [ - "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", - "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206" - ], - "version": "==2.21" - }, - "pydantic": { - "hashes": [ - "sha256:021ea0e4133e8c824775a0cfe098677acf6fa5a3cbf9206a376eed3fc09302cd", - "sha256:05ddfd37c1720c392f4e0d43c484217b7521558302e7069ce8d318438d297739", - "sha256:05ef5246a7ffd2ce12a619cbb29f3307b7c4509307b1b49f456657b43529dc6f", - "sha256:10e5622224245941efc193ad1d159887872776df7a8fd592ed746aa25d071840", - "sha256:18b5ea242dd3e62dbf89b2b0ec9ba6c7b5abaf6af85b95a97b00279f65845a23", - "sha256:234a6c19f1c14e25e362cb05c68afb7f183eb931dd3cd4605eafff055ebbf287", - "sha256:244ad78eeb388a43b0c927e74d3af78008e944074b7d0f4f696ddd5b2af43c62", - "sha256:26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b", - "sha256:41b542c0b3c42dc17da70554bc6f38cbc30d7066d2c2815a94499b5684582ecb", - "sha256:4a03cbbe743e9c7247ceae6f0d8898f7a64bb65800a45cbdc52d65e370570820", - "sha256:4be75bebf676a5f0f87937c6ddb061fa39cbea067240d98e298508c1bda6f3f3", - "sha256:54cd5121383f4a461ff7644c7ca20c0419d58052db70d8791eacbbe31528916b", - "sha256:589eb6cd6361e8ac341db97602eb7f354551482368a37f4fd086c0733548308e", - "sha256:8621559dcf5afacf0069ed194278f35c255dc1a1385c28b32dd6c110fd6531b3", - "sha256:8b223557f9510cf0bfd8b01316bf6dd281cf41826607eada99662f5e4963f316", - "sha256:99a9fc39470010c45c161a1dc584997f1feb13f689ecf645f59bb4ba623e586b", - "sha256:a7c6002203fe2c5a1b5cbb141bb85060cbff88c2d78eccbc72d97eb7022c43e4", - "sha256:a83db7205f60c6a86f2c44a61791d993dff4b73135df1973ecd9eed5ea0bda20", - "sha256:ac8eed4ca3bd3aadc58a13c2aa93cd8a884bcf21cb019f8cfecaae3b6ce3746e", - "sha256:e710876437bc07bd414ff453ac8ec63d219e7690128d925c6e82889d674bb505", - "sha256:ea5cb40a3b23b3265f6325727ddfc45141b08ed665458be8c6285e7b85bd73a1", - "sha256:fec866a0b59f372b7e776f2d7308511784dace622e0992a0b59ea3ccee0ae833" - ], - "markers": "python_full_version >= '3.6.1'", - "version": "==1.8.2" - }, - "pydeck": { - "hashes": [ - "sha256:7fc49b00840608068b930f9269169c7c9f3198b8b4635c934ba6d887c4e54503", - "sha256:907601c99f7510e16d27d7cb62bfa145216d166a2b5c9c50cfe2b65b032ebd2e" - ], - "markers": "python_version >= '3.7'", - "version": "==0.7.1" - }, - "pygments": { - "hashes": [ - "sha256:5eb116118f9612ff1ee89ac96437bb6b49e8f04d8a13b514ba26f620208e26eb", - "sha256:dc9c10fb40944260f6ed4c688ece0cd2048414940f1cea51b8b226318411c519" - ], - "markers": "python_version >= '3.6'", - "version": "==2.12.0" - }, - "pylint": { - "hashes": [ - "sha256:095567c96e19e6f57b5b907e67d265ff535e588fe26b12b5ebe1fc5645b2c731", - "sha256:705c620d388035bdd9ff8b44c5bcdd235bfb49d276d488dd2c8ff1736aa42526" - ], - "index": "pypi", - "version": "==2.13.9" - }, - "pympler": { - "hashes": [ - "sha256:993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa", - "sha256:d260dda9ae781e1eab6ea15bacb84015849833ba5555f141d2d9b7b7473b307d" - ], - "markers": "python_version >= '3.6'", - "version": "==1.0.1" - }, - "pyparsing": { - "hashes": [ - "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb", - "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc" - ], - "markers": "python_full_version >= '3.6.8'", - "version": "==3.0.9" - }, - "pyrsistent": { - "hashes": [ - "sha256:0e3e1fcc45199df76053026a51cc59ab2ea3fc7c094c6627e93b7b44cdae2c8c", - "sha256:1b34eedd6812bf4d33814fca1b66005805d3640ce53140ab8bbb1e2651b0d9bc", - "sha256:4ed6784ceac462a7d6fcb7e9b663e93b9a6fb373b7f43594f9ff68875788e01e", - "sha256:5d45866ececf4a5fff8742c25722da6d4c9e180daa7b405dc0a2a2790d668c26", - "sha256:636ce2dc235046ccd3d8c56a7ad54e99d5c1cd0ef07d9ae847306c91d11b5fec", - "sha256:6455fc599df93d1f60e1c5c4fe471499f08d190d57eca040c0ea182301321286", - "sha256:6bc66318fb7ee012071b2792024564973ecc80e9522842eb4e17743604b5e045", - "sha256:7bfe2388663fd18bd8ce7db2c91c7400bf3e1a9e8bd7d63bf7e77d39051b85ec", - "sha256:7ec335fc998faa4febe75cc5268a9eac0478b3f681602c1f27befaf2a1abe1d8", - "sha256:914474c9f1d93080338ace89cb2acee74f4f666fb0424896fcfb8d86058bf17c", - "sha256:b568f35ad53a7b07ed9b1b2bae09eb15cdd671a5ba5d2c66caee40dbf91c68ca", - "sha256:cdfd2c361b8a8e5d9499b9082b501c452ade8bbf42aef97ea04854f4a3f43b22", - "sha256:d1b96547410f76078eaf66d282ddca2e4baae8964364abb4f4dcdde855cd123a", - "sha256:d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96", - "sha256:d7a096646eab884bf8bed965bad63ea327e0d0c38989fc83c5ea7b8a87037bfc", - "sha256:df46c854f490f81210870e509818b729db4488e1f30f2a1ce1698b2295a878d1", - "sha256:e24a828f57e0c337c8d8bb9f6b12f09dfdf0273da25fda9e314f0b684b415a07", - "sha256:e4f3149fd5eb9b285d6bfb54d2e5173f6a116fe19172686797c056672689daf6", - "sha256:e92a52c166426efbe0d1ec1332ee9119b6d32fc1f0bbfd55d5c1088070e7fc1b", - "sha256:f87cc2863ef33c709e237d4b5f4502a62a00fab450c9e020892e8e2ede5847f5", - "sha256:fd8da6d0124efa2f67d86fa70c851022f87c98e205f0594e1fae044e7119a5a6" - ], - "markers": "python_version >= '3.7'", - "version": "==0.18.1" - }, - "python-dateutil": { - "hashes": [ - "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", - "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", - "version": "==2.8.2" - }, - "pytz": { - "hashes": [ - "sha256:1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7", - "sha256:e68985985296d9a66a881eb3193b0906246245294a881e7c8afe623866ac6a5c" - ], - "version": "==2022.1" - }, - "pytz-deprecation-shim": { - "hashes": [ - "sha256:8314c9692a636c8eb3bda879b9f119e350e93223ae83e70e80c31675a0fdc1a6", - "sha256:af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", - "version": "==0.1.0.post0" - }, - "pywavelets": { - "hashes": [ - "sha256:0ed3afbda88498b3ea3c861bf5b55e4feca41747730a71a22102ed5a74d1e453", - "sha256:27e99818d3c26481de3c68dbe880a7fcafe661cc031b22eff4a64237fe17a7ff", - "sha256:307ab8a4c3e5c2b8f7d3d371de4a5f019cf4b030b897c3394a4a7ad157369367", - "sha256:3383d106fa8da0c2df30401ad056cd7a11b76d885f4bfa16ca7bcc6b4ca2831c", - "sha256:35a945bea9da6db9755e42e06e871846514ae91bde3ae24a08a1d090b003a23b", - "sha256:38cc635c08a050e175a492e66c9b63a8e1f42254e6879e614b6c9d8d69e0887f", - "sha256:3c4ebe7ff2c9092f6bdd1f8bf98ce2745f5d43a9936d6e342ee83fbcae548116", - "sha256:3d3ecc2ee87be94fb2dc8c2d35bcae3f24708677196e80028d24ba0fd2f6a70a", - "sha256:3eeffcf2f7eebae5cc27cb11a7d0d96118e2e9f75ac38ff1a05373d5fe75accb", - "sha256:41e4f0a3a6a088e955006513fe72f863cea3ce293033131cacb8a1a3068ed228", - "sha256:437806465cfa5f2d91809ec13154be050b84a11025784a6b6ce04ac452872b36", - "sha256:5b76731d2077242611b32f2e11c72adbf126b432ceae92e2ce8d0f693974c96d", - "sha256:69e9a46facf89b51e5700d10f6d831f29745471c1ab42917f2f849a257b9fd77", - "sha256:6ecfe051ccb097c2dcdcb0977e0a684e76144d6694a202badf0780143d8536f0", - "sha256:84c58a179bdb9fc71039b1f68bcd0718a7d9814b5e3741d7681d3e027bb81b52", - "sha256:8a5941d1f4eb1bc9569c655b63ecb31aa15b3ef0fc9b57df275892c39bccc59e", - "sha256:91e1b220f0ddd4c127bab718363c2c4a07dbcd95b9c4bfed09a3cdae47dbba43", - "sha256:a354979e2ee8cd71a8952ded381f3d9f981692b73c6842bcc6c9f64047e0a5be", - "sha256:a486160f83efd8517cd748796adbab7c445ee8a3e1d168b4b8b60ed0f5aee3a0", - "sha256:a51225d24811ba7ef5184c03bb7072db0aa9651c4370a115d4069dedfb8d2f7a", - "sha256:a555a7a85da01357d8258cb45f751881f69013f8920f8738718c60cf8a47b755", - "sha256:c98ac1cee6276db05768e450dc3002033be6c2819c906103a974e0fb0d436f41", - "sha256:cbaa9d62052d9daf8da765fc8e7c30c38ea2b8e9e1c18841913dfb4aec671ee5", - "sha256:d4f9ed4f175c66c9b8646a93fd54c588fd8f4b2517f53c59aea5cdf370f9c9ba", - "sha256:d7369597e1b1d125eb4b458a36cef052beed188444e55ed21445c1196008e200", - "sha256:de67deb275474094e160900ab7e07f2a721b9cd351cf3826c4a3ab89bb71d4b3", - "sha256:e8876764e349673ee8d48bc3cd0afd2f9f7b65378998e2665af12c277c8a56de", - "sha256:eebaa9c28600da336743fefd650332460c132792660e70eb09abf343b0664b87", - "sha256:f6e7d969a6ef64ae8be1766b0b0e32debb13424543d331911b8d7e967d60dd42", - "sha256:fccf468c55427828a3c534b651311f2759210836491c1112e1548e1babe368a5" - ], - "markers": "python_version >= '3.7'", - "version": "==1.3.0" - }, - "pyyaml": { - "hashes": [ - "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293", - "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b", - "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57", - "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b", - "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4", - "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07", - "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba", - "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9", - "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287", - "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513", - "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0", - "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0", - "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92", - "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f", - "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2", - "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc", - "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c", - "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86", - "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4", - "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c", - "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34", - "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b", - "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c", - "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb", - "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737", - "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3", - "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d", - "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53", - "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78", - "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803", - "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a", - "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174", - "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5" - ], - "markers": "python_version >= '3.6'", - "version": "==6.0" - }, - "pyzmq": { - "hashes": [ - "sha256:011a45c846ec69a3671ed15893b74b6ad608800c89ac6d0f0411e2137c6b313d", - "sha256:011f26841dd56ed87e464c98023dbbd4c0b3ab8802a045de3ea83e0187eb8145", - "sha256:0258563bf69f6ca305204354f171e0627a9bf8fe78c9d4f63a5e2447035cbb4b", - "sha256:07d2008e51718fba60641e5d1a0646b222b7929f16f6e7cf0834b8439f42c9e8", - "sha256:0a787f7870cba38d655c68ea7ae14bb6c3e9e19bb618d0c2412513321eeaeb80", - "sha256:0a89b9860d2171bcf674648dc8186db9cf3b773ad3c0610a2c7bf189cf3560b6", - "sha256:0de8a7e13ffacfe33c89acc0d7bfa2f5bde94e3f74b7f1e4d43c97ce17864d77", - "sha256:12a53f5c13edf12547ce495afebdd5ab11c1b67ea078a941b21e13161783741a", - "sha256:12eac2294d48ee27d1eaef7e214acedb394e4c95e3a1f6e4467099b82d58ef73", - "sha256:176be6c348dbec04e8e0d41e810743b7084b73e50954a6fedeeafc65d7fa9290", - "sha256:1d480d48253f61ff90115b8069ed32f51a0907eb19101c4a5ae0b9a5973e40ad", - "sha256:21792f4d0fcc5040978ee211c033e915d8b6608ea8a5b33fe197a04f0d43e991", - "sha256:277b3ebc684b369a57a186a9acf629c1b01247eb04d1105536ef2dae5f61168a", - "sha256:2f227150148e7c3db7ecd8a58500439979f556e15455841a30b6d121755b14bc", - "sha256:34b143751e9b2b89cf9b656081f1b2842a563c4c9ffc8465531875daf546e772", - "sha256:3f3807e81bf51d4c63eb12a21920614e0e840645418e9f2e3b5ffdd5991b3415", - "sha256:3fa7126d532effee452c0ab395ab3cbef1c06fd6870ab7e681f812ba9e685cfa", - "sha256:434044eec7f9df08fc5ca5c9bdd1a4bb08663679d43ebe7b9849713956f4d85f", - "sha256:4d861ae20040afc17adef33053c328667da78d4d3676b2936788fd031665e3a8", - "sha256:536491ad640448f14d8aa2dc497c354a348f216eb23513bf5aa0ac40e2b02577", - "sha256:5619f6598d6fd30778053ae2daa48a7c54029816648b908270b751411fd52e74", - "sha256:591b455546d34bb96aa453dd9666bddb8c81314e23dbf2606f9614acf7e73d9f", - "sha256:5a13171268f05d127e31b4c369b753733f67dbb0d765901ef625a115feb5c7de", - "sha256:5eaf7e0841d3d8d1d92838c8b56f98cb9bf35b14bcbe4efa281e4812ef4be728", - "sha256:6c09e6e5c4baf0959287943dc8170624d739ae555d334e896a94d9de01c7bb21", - "sha256:6e2093a97bf3f6008a4be6b5bae8ae3fc409f18373593bef19dd7b381ab8030c", - "sha256:7b518ad9cdbaaeb1a9da3444797698871ae2eeae34ff9a656d5150d37e1e42a1", - "sha256:7ca7d77f24644298cbe53bc279eb7ca05f3b8637473d392f0c9f34b37f08b49a", - "sha256:7eca5902ff41575d9a26f91fc750018b7eb129600ea600fe69ce852fbdfab4e2", - "sha256:8951830d6a00636b3af478091f9668ecc486f1dad01b975527957fd1d8c31bfd", - "sha256:8c234aefeef034c5d6de452e2af5173a95ea06315b685db703091e6f937a6e60", - "sha256:9273f6d1da1018822f41630fb0f3fe208e8e70e5d5e780795326900cfa22d8b6", - "sha256:9622d9560a6fd8d589816cdcec6946642cb4e070b3f68be1d3779b52cf240f73", - "sha256:9ef2d1476cea927ba33a29f59aa128ce3b174e81083cbd091dd3149af741c85d", - "sha256:9feb7ccd426ff2158ce79f4c87a8a1600ed4f77e65e2fffda2b42638b2bc73e4", - "sha256:a0b8528aefceb787f41ad429f3210a3c6b52e99f85413416e3d0c9e6d035f8ac", - "sha256:a2e4d70d34112997a32c8193fae2579aec854745f8730031e5d84cc579fd98ff", - "sha256:a37f0ec88e220326803084208d80229218b309d728954ab747ab21cca33424aa", - "sha256:a45f5c0477d12df05ef2e2922b49b7c0ae9d0f4ff9b6bb0d666558df0ef37122", - "sha256:a64b9cce166396df5f33894074d6515778d48c63aae5ee1abd86d8bbc5a711d8", - "sha256:a89285fedbeca483a855a77285453e21e4fc86ef0944bc018ef4b3033aa04ad2", - "sha256:a8f40604437ec8010f77f7053fd135ccb202d6ca18329903831087cab8dbdab1", - "sha256:b2a4af5e6fa85ee1743c725b46579f8de0b97024eb5ae1a0b5c5711adc436665", - "sha256:b97dc1273f16f85a38cff6668a07b636ef14e30591039efbfd21f5f91efae964", - "sha256:bdd008629293a0d4f00b516841ac0df89f17a64bc2d83bcfa48212d3f3b3ca1a", - "sha256:be3425dfdb9c46dc62d490fc1a6142a5f3dc6605ebb9048ae675056ef621413c", - "sha256:c2394bb857607494c3750b5040f852a1ad7831d7a7907b6106f0af2c70860cef", - "sha256:cb45b7ea577283b547b907a3389d62ca2eaddaf725fbb79cd360802440fa9c91", - "sha256:cd3f563b98e2a8730c93bdc550f119ae766b2d3da1f0d6a3c7735b59adfa1642", - "sha256:cda55ff0a7566405fb29ca38db1829fecb4c041b8dc3f91754f337bb7b27cbd8", - "sha256:df0b05fa4321b090abe5601dea9b1c8933c06f496588ccb397a0b1f9dfe32ebe", - "sha256:e464e7b1be2216eba54b47256c15bf307ae4a656aa0f73becea7b3e7283c5ac2", - "sha256:e730d490b1421e52b43b1b9f5e1f8c3973499206e188f29b582577531e11033b", - "sha256:e7ae3e520bd182a0cbfff3cc69dda3a2c26f69847e81bd3f090ed04471fc1282", - "sha256:e9631c6a339843e4f95efb80ff9a1bfaaf3d611ba9677a7a5cc61ffb923b4e06", - "sha256:f3daabbe42ca31712e29d906dfa4bf1890341d2fd5178de118bc9977a8d2b23b", - "sha256:fe8807d67456e7cf0e9a33b85e0d05bb9d2977dbdb23977e4cc2b843633618fd" - ], - "markers": "python_version >= '3.6'", - "version": "==23.0.0" - }, - "qtconsole": { - "hashes": [ - "sha256:75f2ded876444454edcb5a53262149e33b53db3a4a53116b7c3df52830905b0f", - "sha256:8e3520fdc75e46abc4cc6cffeca16fa2652754109b8ae839fa28e27d1eba5625" - ], - "markers": "python_version >= '3.7'", - "version": "==5.3.0" - }, - "qtpy": { - "hashes": [ - "sha256:aee0586081f943029312becece9f63977b0a9e3788f77a6ac8cc74802bb173d6", - "sha256:ca8cd4217175186344299ee4c0f7e7adcf362c70852ba35b255a534077025c06" - ], - "markers": "python_version >= '3.7'", - "version": "==2.1.0" - }, - "regex": { - "hashes": [ - "sha256:02543d6d5c32d361b7cc468079ba4cddaaf4a6544f655901ba1ff9d8e3f18755", - "sha256:036d1c1fbe69eba3ee253c107e71749cdbb4776db93d674bc0d5e28f30300734", - "sha256:071bcb625e890f28b7c4573124a6512ea65107152b1d3ca101ce33a52dad4593", - "sha256:0f8da3145f4b72f7ce6181c804eaa44cdcea313c8998cdade3d9e20a8717a9cb", - "sha256:0fb6cb16518ac7eff29d1e0b0cce90275dfae0f17154165491058c31d58bdd1d", - "sha256:0fd464e547dbabf4652ca5fe9d88d75ec30182981e737c07b3410235a44b9939", - "sha256:12af15b6edb00e425f713160cfd361126e624ec0de86e74f7cad4b97b7f169b3", - "sha256:165cc75cfa5aa0f12adb2ac6286330e7229a06dc0e6c004ec35da682b5b89579", - "sha256:1a07e8366115069f26822c47732122ab61598830a69f5629a37ea8881487c107", - "sha256:1c2de7f32fa87d04d40f54bce3843af430697aba51c3a114aa62837a0772f219", - "sha256:253f858a0255cd91a0424a4b15c2eedb12f20274f85731b0d861c8137e843065", - "sha256:275afc7352982ee947fc88f67a034b52c78395977b5fc7c9be15f7dc95b76f06", - "sha256:2bde99f2cdfd6db1ec7e02d68cadd384ffe7413831373ea7cc68c5415a0cb577", - "sha256:3241db067a7f69da57fba8bca543ac8a7ca415d91e77315690202749b9fdaba1", - "sha256:37903d5ca11fa47577e8952d2e2c6de28553b11c70defee827afb941ab2c6729", - "sha256:3dfbadb7b74d95f72f9f9dbf9778f7de92722ab520a109ceaf7927461fa85b10", - "sha256:3e35c50b27f36176c792738cb9b858523053bc495044d2c2b44db24376b266f1", - "sha256:3e9e983fc8e0d4d5ded7caa5aed39ca2cf6026d7e39801ef6f0af0b1b6cd9276", - "sha256:3f6bd8178cce5bb56336722d5569d19c50bba5915a69a2050c497fb921e7cb0f", - "sha256:43ee0df35925ae4b0cc6ee3f60b73369e559dd2ac40945044da9394dd9d3a51d", - "sha256:45b761406777a681db0c24686178532134c937d24448d9e085279b69e9eb7da4", - "sha256:46cbc5b23f85e94161b093dba1b49035697cf44c7db3c930adabfc0e6d861b95", - "sha256:4f2e2cef324ca9355049ee1e712f68e2e92716eba24275e6767b9bfa15f1f478", - "sha256:50b77622016f03989cd06ecf6b602c7a6b4ed2e3ce04133876b041d109c934ee", - "sha256:582ea06079a03750b5f71e20a87cd99e646d796638b5894ff85987ebf5e04924", - "sha256:58521abdab76583bd41ef47e5e2ddd93b32501aee4ee8cee71dee10a45ba46b1", - "sha256:5b9c7b6895a01204296e9523b3e12b43e013835a9de035a783907c2c1bc447f0", - "sha256:6165e737acb3bea3271372e8aa5ebe7226c8a8e8da1b94af2d6547c5a09d689d", - "sha256:66fb765b2173d90389384708e3e1d3e4be1148bd8d4d50476b1469da5a2f0229", - "sha256:68aed3fb0c61296bd6d234f558f78c51671f79ccb069cbcd428c2eea6fee7a5b", - "sha256:6a0ef57cccd8089b4249eebad95065390e56c04d4a92c51316eab4131bca96a9", - "sha256:709396c0c95b95045fac89b94f997410ff39b81a09863fe21002f390d48cc7d3", - "sha256:73ed1b06abadbf6b61f6033a07c06f36ec0ddca117e41ef2ac37056705e46458", - "sha256:7a608022f4593fc67518c6c599ae5abdb03bb8acd75993c82cd7a4c8100eff81", - "sha256:7c4d9770e579eb11b582b2e2fd19fa204a15cb1589ae73cd4dcbb63b64f3e828", - "sha256:7dbc96419ef0fb6ac56626014e6d3a345aeb8b17a3df8830235a88626ffc8d84", - "sha256:7f271d0831d8ebc56e17b37f9fa1824b0379221d1238ae77c18a6e8c47f1fdce", - "sha256:82b7fc67e49fdce671bdbec1127189fc979badf062ce6e79dc95ef5e07a8bf92", - "sha256:85b7ee4d0c7a46296d884f6b489af8b960c4291d76aea4b22fd4fbe05e6ec08e", - "sha256:8b747cef8e5dcdaf394192d43a0c02f5825aeb0ecd3d43e63ae500332ab830b0", - "sha256:8bf867ba71856414a482e4b683500f946c300c4896e472e51d3db8dfa8dc8f32", - "sha256:8e0da7ef160d4f3eb3d4d3e39a02c3c42f7dbcfce62c81f784cc99fc7059765f", - "sha256:8e7d33f93cdd01868327d834d0f5bb029241cd293b47d51b96814dec27fc9b4b", - "sha256:92183e9180c392371079262879c6532ccf55f808e6900df5d9f03c9ca8807255", - "sha256:92ad03f928675ca05b79d3b1d3dfc149e2226d57ed9d57808f82105d511d0212", - "sha256:97af238389cb029d63d5f2d931a7e8f5954ad96e812de5faaed373b68e74df86", - "sha256:9913bcf730eb6e9b441fb176832eea9acbebab6035542c7c89d90c803f5cd3be", - "sha256:9dae5affbb66178dad6c6fd5b02221ca9917e016c75ee3945e9a9563eb1fbb6f", - "sha256:a850f5f369f1e3b6239da7fb43d1d029c1e178263df671819889c47caf7e4ff3", - "sha256:aa6daa189db9104787ff1fd7a7623ce017077aa59eaac609d0d25ba95ed251a0", - "sha256:aabc28f7599f781ddaeac168d0b566d0db82182cc3dcf62129f0a4fc2927b811", - "sha256:af1e687ffab18a75409e5e5d6215b6ccd41a5a1a0ea6ce9665e01253f737a0d3", - "sha256:b1d53835922cd0f9b74b2742453a444865a70abae38d12eb41c59271da66f38d", - "sha256:b2df3ede85d778c949d9bd2a50237072cee3df0a423c91f5514f78f8035bde87", - "sha256:b415b82e5be7389ec5ee7ee35431e4a549ea327caacf73b697c6b3538cb5c87f", - "sha256:b7ba3c304a4a5d8112dbd30df8b3e4ef59b4b07807957d3c410d9713abaee9a8", - "sha256:bcc6f7a3a95119c3568c572ca167ada75f8319890706283b9ba59b3489c9bcb3", - "sha256:be392d9cd5309509175a9d7660dc17bf57084501108dbff0c5a8bfc3646048c3", - "sha256:bea61de0c688198e3d9479344228c7accaa22a78b58ec408e41750ebafee6c08", - "sha256:bedb3d01ad35ea1745bdb1d57f3ee0f996f988c98f5bbae9d068c3bb3065d210", - "sha256:c36906a7855ec33a9083608e6cd595e4729dab18aeb9aad0dd0b039240266239", - "sha256:c4fdf837666f7793a5c3cfa2f2f39f03eb6c7e92e831bc64486c2f547580c2b3", - "sha256:cfad3a770839aa456ff9a9aa0e253d98b628d005a3ccb37da1ff9be7c84fee16", - "sha256:d128e278e5e554c5c022c7bed410ca851e00bacebbb4460de546a73bc53f8de4", - "sha256:dffd9114ade73137ab2b79a8faf864683dbd2dbbb6b23a305fbbd4cbaeeb2187", - "sha256:e2acf5c66fbb62b5fe4c40978ddebafa50818f00bf79d60569d9762f6356336e", - "sha256:e65580ae3137bce712f505ec7c2d700aef0014a3878c4767b74aff5895fc454f", - "sha256:e944268445b5694f5d41292c9228f0ca46d5a32a67f195d5f8547c1f1d91f4bc", - "sha256:ed26c3d2d62c6588e0dad175b8d8cc0942a638f32d07b80f92043e5d73b7db67", - "sha256:ed625205f5f26984382b68e4cbcbc08e6603c9e84c14b38457170b0cc71c823b", - "sha256:f2a5d9f612091812dee18375a45d046526452142e7b78c4e21ab192db15453d5", - "sha256:f86aef546add4ff1202e1f31e9bb54f9268f17d996b2428877283146bf9bc013", - "sha256:f89d26e50a4c7453cb8c415acd09e72fbade2610606a9c500a1e48c43210a42d", - "sha256:fb7107faf0168de087f62a2f2ed00f9e9da12e0b801582b516ddac236b871cda" - ], - "markers": "python_version >= '3.6'", - "version": "==2022.4.24" - }, - "requests": { - "hashes": [ - "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61", - "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", - "version": "==2.27.1" - }, - "scikit-image": { - "hashes": [ - "sha256:0af44a48bb369be936303680511cea3c717b51218275ea5ea339a2aefa25c0ac", - "sha256:1bba9378cd77e7ff57b0f7a60ca167a728cffcac56d3e283ca7423e0c7d5e4a0", - "sha256:477d3166da104b4914920d6db84183dd3af46430d13a0a3451a92eb58b5c9259", - "sha256:498d0e4fe70776238c7d1362dea7c2b41bf4a40617f6a742ffa3f59aa0392bb7", - "sha256:4ce41df8e06724f8fdb20c555988666520c322d47df7c898422330d4e3cd3900", - "sha256:52c683e8615e28bfe5fe6fa2ac2563898d0c0b37f231d5b59e18abb8ed3805a2", - "sha256:56ffd1394aacd994963774e927a16f1ba2c094a9254b230da2c50147c661362a", - "sha256:5ab19b11bd5f836a3de07f087d24db5ea734365122956f53dc5c5c9e018e2ec0", - "sha256:66bb26ca1e9c0924557ef3e6aee9fd8c21da96c7d5ba2b8864868c53723b45df", - "sha256:935c95d207c9bcaff20b69164401089ef2efd7f89dbbbf13ab75a5f65ff695b5", - "sha256:956cb8b60f6668974cadb70b0c4f5e13dd4673ffff3d5906d5d23333c76350e9", - "sha256:99696479cf6fd19bb06ea43269c0728bb75c2ce9cd3710829ac0f1590eecf0dc", - "sha256:9b88590c243692d21f2b772bc83ad1aacdc7d605fbf0be32ea60b1e96aac920e", - "sha256:9d3fd65ec424de83e6fee22480db5431a9b91d280a34ab3e6bf83528e4289f5c", - "sha256:a0025edbe1412c413d6b3251cc8ff94530cf45b31819daed1811340b93f51e38", - "sha256:a2a0a3df8ab2e862fda4363551801d630dc2fd7f1036f14479acde418315a38b", - "sha256:aa40f84383961a1a4afebb92f373e42a3d86e2540f012a4f7d2661a417f9e995", - "sha256:ad89c6ddbcc4d8ea8b7ebe1ae587be2067dad7927276576fe4097e42e370dadc", - "sha256:b0f294ed7f0ea1e90fb6c764d04b8c298096b3403fad7539b9c6f22777d879c6", - "sha256:b98cfa8aa9aa31519d5510973362748753c5d420d5cc60112a65e000fe3d3068", - "sha256:cabf07a7886861510d4a39ed64fc121708fb7d72a6fe601d87388d36240f4242", - "sha256:cd115a4412b4561d62036e309c8cb543bfc2ca6b7b184ac23a65f6350959a716", - "sha256:d2c022044eb762d3f03ed6e08a3e06c067953393036e4ca2bf16b0bffde36acb", - "sha256:d3d0a85c6f53f0d4f704e67b35b3e8c6570846ec37eaeb1ca0f47a1088708cb8", - "sha256:d433b4642a6f8219e749dfbbe4b5e742d560996540c9749ede510274d061866d", - "sha256:f0e5c6e7c7c54c0b827e6288d9f44ae6d290c0aef979e7de1511d2f5fc6f9c0f" - ], - "markers": "python_version >= '3.7'", - "version": "==0.19.2" - }, - "scikit-learn": { - "hashes": [ - "sha256:0403ad13f283e27d43b0ad875f187ec7f5d964903d92d1ed06c51439560ecea0", - "sha256:102f51797cd8944bf44a038d106848ddf2804f2c1edf7aea45fba81a4fdc4d80", - "sha256:22145b60fef02e597a8e7f061ebc7c51739215f11ce7fcd2ca9af22c31aa9f86", - "sha256:33cf061ed0b79d647a3e4c3f6c52c412172836718a7cd4d11c1318d083300133", - "sha256:3be10d8d325821ca366d4fe7083d87c40768f842f54371a9c908d97c45da16fc", - "sha256:3e77b71e8e644f86c8b5be7f1c285ef597de4c384961389ee3e9ca36c445b256", - "sha256:45c0f6ae523353f1d99b85469d746f9c497410adff5ba8b24423705b6956a86e", - "sha256:47464c110eaa9ed9d1fe108cb403510878c3d3a40f110618d2a19b2190a3e35c", - "sha256:542ccd2592fe7ad31f5c85fed3a3deb3e252383960a85e4b49a629353fffaba4", - "sha256:723cdb278b1fa57a55f68945bc4e501a2f12abe82f76e8d21e1806cbdbef6fc5", - "sha256:8fe80df08f5b9cee5dd008eccc672e543976198d790c07e5337f7dfb67eaac05", - "sha256:8ff56d07b9507fbe07ca0f4e5c8f3e171f74a429f998da03e308166251316b34", - "sha256:b2db720e13e697d912a87c1a51194e6fb085dc6d8323caa5ca51369ca6948f78", - "sha256:b928869072366dc138762fe0929e7dc88413f8a469aebc6a64adc10a9226180c", - "sha256:c2dad2bfc502344b869d4a3f4aa7271b2a5f4fe41f7328f404844c51612e2c58", - "sha256:e851f8874398dcd50d1e174e810e9331563d189356e945b3271c0e19ee6f4d6f", - "sha256:e9d228ced1214d67904f26fb820c8abbea12b2889cd4aa8cda20a4ca0ed781c1", - "sha256:f2d5b5d6e87d482e17696a7bfa03fe9515fdfe27e462a4ad37f3d7774a5e2fd6" - ], - "markers": "python_version >= '3.8'", - "version": "==1.1.1" - }, - "scipy": { - "hashes": [ - "sha256:02b567e722d62bddd4ac253dafb01ce7ed8742cf8031aea030a41414b86c1125", - "sha256:1166514aa3bbf04cb5941027c6e294a000bba0cf00f5cdac6c77f2dad479b434", - "sha256:1da52b45ce1a24a4a22db6c157c38b39885a990a566748fc904ec9f03ed8c6ba", - "sha256:23b22fbeef3807966ea42d8163322366dd89da9bebdc075da7034cee3a1441ca", - "sha256:28d2cab0c6ac5aa131cc5071a3a1d8e1366dad82288d9ec2ca44df78fb50e649", - "sha256:2ef0fbc8bcf102c1998c1f16f15befe7cffba90895d6e84861cd6c6a33fb54f6", - "sha256:3b69b90c9419884efeffaac2c38376d6ef566e6e730a231e15722b0ab58f0328", - "sha256:4b93ec6f4c3c4d041b26b5f179a6aab8f5045423117ae7a45ba9710301d7e462", - "sha256:4e53a55f6a4f22de01ffe1d2f016e30adedb67a699a310cdcac312806807ca81", - "sha256:6311e3ae9cc75f77c33076cb2794fb0606f14c8f1b1c9ff8ce6005ba2c283621", - "sha256:65b77f20202599c51eb2771d11a6b899b97989159b7975e9b5259594f1d35ef4", - "sha256:6cc6b33139eb63f30725d5f7fa175763dc2df6a8f38ddf8df971f7c345b652dc", - "sha256:70de2f11bf64ca9921fda018864c78af7147025e467ce9f4a11bc877266900a6", - "sha256:70ebc84134cf0c504ce6a5f12d6db92cb2a8a53a49437a6bb4edca0bc101f11c", - "sha256:83606129247e7610b58d0e1e93d2c5133959e9cf93555d3c27e536892f1ba1f2", - "sha256:93d07494a8900d55492401917a119948ed330b8c3f1d700e0b904a578f10ead4", - "sha256:9c4e3ae8a716c8b3151e16c05edb1daf4cb4d866caa385e861556aff41300c14", - "sha256:9dd4012ac599a1e7eb63c114d1eee1bcfc6dc75a29b589ff0ad0bb3d9412034f", - "sha256:9e3fb1b0e896f14a85aa9a28d5f755daaeeb54c897b746df7a55ccb02b340f33", - "sha256:a0aa8220b89b2e3748a2836fbfa116194378910f1a6e78e4675a095bcd2c762d", - "sha256:d3b3c8924252caaffc54d4a99f1360aeec001e61267595561089f8b5900821bb", - "sha256:e013aed00ed776d790be4cb32826adb72799c61e318676172495383ba4570aa4", - "sha256:f3e7a8867f307e3359cc0ed2c63b61a1e33a19080f92fe377bc7d49f646f2ec1" - ], - "markers": "python_version < '3.11' and python_version >= '3.8'", - "version": "==1.8.1" - }, - "semver": { - "hashes": [ - "sha256:ced8b23dceb22134307c1b8abfa523da14198793d9787ac838e70e29e77458d4", - "sha256:fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.13.0" - }, - "send2trash": { - "hashes": [ - "sha256:d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d", - "sha256:f20eaadfdb517eaca5ce077640cb261c7d2698385a6a0f072a4a5447fd49fa08" - ], - "version": "==1.8.0" - }, - "setuptools": { - "hashes": [ - "sha256:68e45d17c9281ba25dc0104eadd2647172b3472d9e01f911efa57965e8d51a36", - "sha256:a43bdedf853c670e5fed28e5623403bad2f73cf02f9a2774e91def6bda8265a7" - ], - "markers": "python_version >= '3.7'", - "version": "==62.3.2" - }, - "shap": { - "hashes": [ - "sha256:0d12f7d86481afd000d5f144c10cadb31d52fb1f77f68659472d6f6d89f7843b", - "sha256:18b4ca36a43409b784dc76810f76aaa504c467eac17fa89ef5ee330cb460b2b7", - "sha256:2e72a47407f010f845b3ed6cb4f5160f0907ec8ab97df2bca164ebcb263b4205", - "sha256:399325caecc7306eb7de17ac19aa797abbf2fcda47d2bb4588d9492adb2dce65", - "sha256:3d3c5ace8bd5222b455fa5650f9043146e19d80d701f95b25c4c5fb81f628547", - "sha256:46e7084ce021eea450306bf7434adaead53921fd32504f04d1804569839e2979", - "sha256:4ec50bd0aa24efe1add177371b8b62080484efb87c6dbcf321895c5a08cf68d6", - "sha256:5c220632ba57426d450dcc8ca43c55f657fe18e18f5d223d2a4e2aa02d905047", - "sha256:649c905f9a4629839142e1769235989fb61730eb789a70d27ec7593eb02186a7", - "sha256:86ea1466244c7e0d0c5dd91d26a90e0b645f5c9d7066810462a921263463529b", - "sha256:8bb8b4c01bd33592412dae5246286f62efbb24ad774b63e59b8b16969b915b6d", - "sha256:add0a27bb4eb57f0a363c2c4265b1a1328a8c15b01c14c7d432d9cc387dd8579", - "sha256:ba06256568747aaab9ad0091306550bfe826c1f195bf2cf57b405ae1de16faed", - "sha256:bbf0cfa30cd8c51f8830d3f25c3881b9949e062124cd0d0b3d8efdc7e0cf5136", - "sha256:d2844acab55e18bcb3d691237a720301223a38805e6e43752e6717f3a8b2cc28", - "sha256:dbb1ec9b2c05c3939425529437c5f3cfba7a3929fed0e820fb84a42e82358cdd", - "sha256:dbd07e48fc7f4d5916f6cdd9dbb8d29b7711a265cc9beac92e7d4a4d9e738bc7", - "sha256:e2b5f2d3cac82de0c49afde6529bebb6d5b20334325640267bf25dce572175a1", - "sha256:e7dd3040b0ec91bc9f477a354973d231d3a6beebe2fa7a5c6a565a79ba7746e8", - "sha256:f282fa12ca6fc594bcadca389309d733f73fe071e29ab49cb6e51beaa8b01a1a", - "sha256:fb1b325a55fdf58061d332ed3308d44162084d4cb5f53f2c7774ce943d60b0ad" - ], - "index": "pypi", - "version": "==0.40.0" - }, - "six": { - "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", - "version": "==1.16.0" - }, - "sklearn": { - "hashes": [ - "sha256:e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31" - ], - "index": "pypi", - "version": "==0.0" - }, - "slicer": { - "hashes": [ - "sha256:0b94faa5251c0f23782c03f7b7eedda91d80144059645f452c4bc80fab875976", - "sha256:f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec" - ], - "markers": "python_version >= '3.6'", - "version": "==0.0.7" - }, - "smart-open": { - "hashes": [ - "sha256:71d14489da58b60ce12fc3ecb823facc59a8b23cd1b58edb97175640350d3a62", - "sha256:75abf758717a92a8f53aa96953f0c245c8cedf8e1e4184903db3659b419d4c17" - ], - "markers": "python_version >= '3.6' and python_version < '4.0'", - "version": "==5.2.1" - }, - "smmap": { - "hashes": [ - "sha256:2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94", - "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936" - ], - "markers": "python_version >= '3.6'", - "version": "==5.0.0" - }, - "sniffio": { - "hashes": [ - "sha256:471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663", - "sha256:c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de" - ], - "markers": "python_version >= '3.5'", - "version": "==1.2.0" - }, - "soupsieve": { - "hashes": [ - "sha256:3b2503d3c7084a42b1ebd08116e5f81aadfaea95863628c80a3b774a11b7c759", - "sha256:fc53893b3da2c33de295667a0e19f078c14bf86544af307354de5fcf12a3f30d" - ], - "markers": "python_version >= '3.6'", - "version": "==2.3.2.post1" - }, - "spacy": { - "hashes": [ - "sha256:00e99c1c4c655283e1165fdb49a234034af09050d2c68b87fe1fb9d49fbb7aa4", - "sha256:054f6596c0ac52fbdd1690ccdab37d8b286706bfa698abf6c7db3194f0c8dc59", - "sha256:1f1c5b86daee2b1b4e60ce7c9f7a953ea60dbfe6c9c4acf3bc3c0b5a4332d475", - "sha256:2070074032a1f008751cd298d32785fbcc07ec09916fa94e962f81c2a76e4976", - "sha256:3639e0381b70e27841c0ce5e96bd83d7173c8356bcae69163598964b12db2646", - "sha256:3e5da14df6f1e9bf490962fd2390cc3a7271994a0cec2c8f1936f177617d1d52", - "sha256:521df508803a924df0ea489f286e3a17d5e6eb58a22ea643ddaa544fe5a02226", - "sha256:6ed92892c3d5829ed79fea188f134a9c99ff7bfa60354d023f64a77bacabd761", - "sha256:7dd213224a9429cc190698294607fae0b9b94d06995e155f72c551fec66c39f4", - "sha256:818aa0fde582f4c839831b40704622c4b7e4e59bdffa68eda328e6f6bd2855b0", - "sha256:899c857cb6b193783a483fbc46c2ed39cc02f97252489ee6029944e6ca140046", - "sha256:a2fb91e326c7f6682751a194447f6708b957fcad7589f97546986973c70774a7", - "sha256:b3bdbafaf2f084cadffab95df70bc4c99441c13de9c3364078dbd99888736931", - "sha256:be8bd1d5805aa974453edbcf387289ebb47c881ba3a347e03359d16bcacf1866", - "sha256:c49d50fbe3715adc5741419367b39a468d2556648422f10b6fc4edf38eae2cb3", - "sha256:cae5187f1fdb4f3478ebdb3f299d1f6c7c7f9c4b3cdd3ba9e74a7a3e566ecd7f", - "sha256:df252e1b1d55068600eab4ef3e602eb32487f08704e44a85f82478e56aed9838", - "sha256:ea9cabc081a7732e755dd44fbd818185ac829fcb431273a994af33d65e709281", - "sha256:ebdb29392c7c6d9137127b2a4fee293c8b12e7e69277362bf744f20f3dba7a89" - ], - "index": "pypi", - "version": "==3.3.0" - }, - "spacy-legacy": { - "hashes": [ - "sha256:4f7dcbc4e6c8e8cb4eadbb009f9c0a1a2a67442e0032c8d6776c9470c3759903", - "sha256:dfd58b0cc65b3596cb06f7b95e7bf4fff34668297c59eb179eb050db07b199df" - ], - "markers": "python_version >= '3.6'", - "version": "==3.0.9" - }, - "spacy-loggers": { - "hashes": [ - "sha256:d48c9313a577ad1818da961cf6db71a73fd1e556ae47e6e68d7e28b541d11e18", - "sha256:e75d44f4cf99e6763d7132ca7c8c420e0a92790222a08bc8eb9e24ea2c13536e" - ], - "markers": "python_version >= '3.6'", - "version": "==1.0.2" - }, - "srsly": { - "hashes": [ - "sha256:0d2b92c40f9aa9ba7cb0d8048bd7bfaa13d79d02e9ad6808ca7a8879ba5ed50b", - "sha256:11f1b0fc837aae9ad2853dc52eb1c59e563f553196813ec7ef0bee8b2ca0bc48", - "sha256:27b3f693296d8a24c306aacd5df38a565ec43214f2aeb51a38170af5dc8b48bc", - "sha256:2c986766d83cf8f508ef2296da5263d47f68766122bbb0306d8bfbd83f596a6e", - "sha256:2d0236feafe3805b384532221596e6749a54d0ff10ba022b333dc1de7aa1b2f7", - "sha256:61e31a72370238387a8ff2a4cebea402227215a1450648b852cad9e511a8b59e", - "sha256:62630dbf20e240610fa64b6717545fcc28d9f18a6085ee93656be000678592a6", - "sha256:82cbf1ec388ed0c16f8062fee30dc54ba8513bd51aae0602570143c6d9218e4c", - "sha256:97a67c8f86ce3207e5e810b998a94ea49d439139adc21d9aadbd0bfab9faa64b", - "sha256:a906c9b1f62c109ddcfaeaf242b19b2ebc5d2f865eb38ef4af35959027c5185b", - "sha256:ab31586fd89e5e5fe6f38664209577b03e85fb834f238c928c15ed3c80ab9c73", - "sha256:acbb14546da9bdf287dfefa0883e793ac563c7868eca32cd65504463980022fa", - "sha256:cffec31143c6e1c783ead11245c08938cae859115d4cb0f4cf423e2895707b74", - "sha256:d1d13dc2133d5a83d30774793adb2c3fd9be905da339e2d54e2c79d55248c1a5", - "sha256:d3b93531f086c516a26f729beac9b052c2ad0528d72e80f9d193de26aa2202be", - "sha256:dbe91f6dd4aea9e819493628356dc715bd9c606486297bb7ca5748e6e003841c", - "sha256:f5ddcc5f36eb318d011c6f142e826c1ca15cb34bd5beab2f21fee62d4ae4d590", - "sha256:f96af9fde9f58d5923091fa723fa0fed58a83781b98e143a5d1fac5e738b9f0d", - "sha256:fb08416fd6ef04c51fdeefd6d28592b64563b2853243c571a9b0d67403b5be7f" - ], - "markers": "python_version >= '3.6'", - "version": "==2.4.3" - }, - "st-annotated-text": { - "hashes": [ - "sha256:b63a55ef03411ce4e37bf9269a32e6ee4b344a658552e3fb0b4924bca0c5dc40" - ], - "index": "pypi", - "version": "==3.0.0" - }, - "stack-data": { - "hashes": [ - "sha256:45692d41bd633a9503a5195552df22b583caf16f0b27c4e58c98d88c8b648e12", - "sha256:999762f9c3132308789affa03e9271bbbe947bf78311851f4d485d8402ed858e" - ], - "version": "==0.2.0" - }, - "streamlit": { - "hashes": [ - "sha256:543c809843b0561f5aa3850af2e90f7a6df17c80906b09ab76bab498846e6797", - "sha256:dd7718147cfc8eb4c5a18b36b67a36de37454e7fe49ac72470ad2a43771aef13" - ], - "index": "pypi", - "version": "==1.9.0" - }, - "streamlit-vega-lite": { - "hashes": [ - "sha256:0a492b7b88d7984c07628ccfff18c91ba608b0ec1d3e138abce9b77e2bc87a75", - "sha256:1884459ab5921834115b568393e421d84fd173c7d8d9c16c7e2d05834583c699" - ], - "index": "pypi", - "version": "==0.1.0" - }, - "tenacity": { - "hashes": [ - "sha256:43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f", - "sha256:f78f4ea81b0fabc06728c11dc2a8c01277bfc5181b321a4770471902e3eb844a" - ], - "markers": "python_version >= '3.6'", - "version": "==8.0.1" - }, - "terminado": { - "hashes": [ - "sha256:0d5f126fbfdb5887b25ae7d9d07b0d716b1cc0ccaacc71c1f3c14d228e065197", - "sha256:ab4eeedccfcc1e6134bfee86106af90852c69d602884ea3a1e8ca6d4486e9bfe" - ], - "markers": "python_version >= '3.7'", - "version": "==0.15.0" - }, - "thinc": { - "hashes": [ - "sha256:05dbe98419c226d3904d178f968873f6be3d36dd4c6ae8baf716f5ba4a4a7fd9", - "sha256:122d29a289bc8bcae75dbc0cb0d382256ef68ba6946a44891cda5ca9a071aa3e", - "sha256:151e2667cef683a87aba4ada41b1ef3e8a79417b8e2151d8832dd2e65d611693", - "sha256:1caaf36b2dd2d0281e0ee0e68e496a875b64d52524b31ae3771d73431aa3ba11", - "sha256:24ebf1ff4057a7844e0ad31588128a81b7f746984f8ba5f256262091d536cad4", - "sha256:2a57e163205c73df8b0507fc74e06b34b74827832541c1d41efc1975b6fcb818", - "sha256:2fca903aa2844bf7caa4e3709e1ffe193e8dbc2834e1cd8c1534707316866546", - "sha256:30f5d16491e5c476b0712c9501d6c7b28fbdb046a321b1397cf5be527442b505", - "sha256:4bc781a51a8789ac402b36ef2e07d17636d12a7890002754f8d70f05bb68df51", - "sha256:5a2136c9c3712b0854437698932b48e532c1f3bbaaea7c048eec79fc4901f22d", - "sha256:5b14aa6fddeb15076222f8df84a42050e49e9615e0f4e9a6df454f26a70f23d6", - "sha256:61f57435206d2a1c9900d5c9eb754ec4040e55ef79077cc9a88fbb2851d02944", - "sha256:72888464081460a6764fcce9bcbc49e5d0ce99658993f01044051f7f8383e481", - "sha256:885945d971f65432f2e06796dd9e1632aa84530e2ac2f0dd3ac57e71f2cb140f", - "sha256:90a38c846c8597ad5636f9c50f8f6ecd9655662d6fea14b28dde1d91e71591fe", - "sha256:a3bba61bddf1c26edb131b9433ec20b3dd580b19f02a2bfa4d0abe4816fabd63", - "sha256:ae1c765dc7ce87033f2137ccf33b75b8ba1493320ccf0eea11e1a144fbe2450a", - "sha256:ca13f31a35d62b16546cee6f6d874e6a64481be02aa6fb7f0bf7462b61cfc2ed", - "sha256:e544febd6adaa936e57432b1bba84328d51b6071695044b7844c63460c048f97" - ], - "markers": "python_version >= '3.6'", - "version": "==8.0.16" - }, - "threadpoolctl": { - "hashes": [ - "sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b", - "sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380" - ], - "markers": "python_version >= '3.6'", - "version": "==3.1.0" - }, - "tifffile": { - "hashes": [ - "sha256:52b4c02040d00c1811e26c0f6abd41e77e2d57559b3657ff3e873955f74f5c57", - "sha256:b03147a15862b7c1d90d47435197f149bef7a52c25ad67cf1f9b465faa71b8d2" - ], - "markers": "python_version >= '3.8'", - "version": "==2022.5.4" - }, - "tinycss2": { - "hashes": [ - "sha256:b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf", - "sha256:fe794ceaadfe3cf3e686b22155d0da5780dd0e273471a51846d0a02bc204fec8" - ], - "markers": "python_version >= '3.6'", - "version": "==1.1.1" - }, - "tokenizers": { - "hashes": [ - "sha256:01abe6fbfe55e4131ca0c4c3d1a9d7ef5df424a8d536e998d2a4fc0bc57935f4", - "sha256:070746f86efa6c873db341e55cf17bb5e7bdd5450330ca8eca542f5c3dab2c66", - "sha256:0bf2380ad59c50222959a9b6f231339200a826fc5cb2be09ff96d8a59f65fc5e", - "sha256:2158baf80cbc09259bfd6e0e0fc4597b611e7a72ad5443dad63918a90f1dd304", - "sha256:230f51a0a82ca7b90077eaca2415f12ff9bd144607888b9c50c2ee543452322e", - "sha256:258873634406bd1d438c799993a5e44bbc0132ff055985c03c4fe30f702e9a33", - "sha256:27d93b712aa2d4346aa506ecd4ec9e94edeebeaf2d484357b482cdeffc02b5f5", - "sha256:28825dade9e52ad464164020758f9d49eb7251c32b6ae146601c506a23c67c0e", - "sha256:38625595b2fd37bfcce64ff9bfb6868c07e9a7b7f205c909d94a615ce9472287", - "sha256:3f2647cc256d6a53d18b9dcd71d377828e9f8991fbcbd6fcd8ca2ceb174552b0", - "sha256:411ebc89228f30218ffa9d9c49d414864b0df5026a47c24820431821c4360460", - "sha256:419d113e3bcc4fe20a313afc47af81e62906306b08fe1601e1443d747d46af1f", - "sha256:5188e13fc09edfe05712ca3ae5a44e7f2b0137927b1ca210d0fad90d3e58315a", - "sha256:53b5f4012ce3ffddd5b00827441b80dc7a0f6b41f4fc5248ae6d36e7d3920c6d", - "sha256:619728df2551bdfe6f96ff177f9ded958e7ed9e2af94c8d5ac2834d1eb06d112", - "sha256:62a723bd4b18bc55121f5c34cd8efd6c651f2d3b81f81dd50e5351fb65b8a617", - "sha256:664f36f0a0d409c24f2201d495161fec4d8bc93e091fbb78814eb426f29905a3", - "sha256:6a38b2019d4807d42afeff603a119094ee00f63bea2921136524c8814e9003f8", - "sha256:6a7a106d04154c2159db6cd7d042af2e2e0e53aee432f872fe6c8be45100436a", - "sha256:7c5c54080a7d5c89c990e0d478e0882dbac88926d43323a3aa236492a3c9455f", - "sha256:7d43de14b4469b57490dbaf136a31c266cb676fa22320f01f230af9219ae9034", - "sha256:7f4cb68dc538b52240d1986d2034eb0a6373be2ab5f0787d1be3ad1444ce71b7", - "sha256:8cea98f3f9577d1541b7bb0f7a3308a911751067e1d83e01485c9d3411bbf087", - "sha256:8d4339c376b695de2ad8ccaebffa75e4dc1d7857be1103d80e7925b34af8cf78", - "sha256:91906d725cb84d8ee71ce05fbb155d39d494849622b4f9349e5176a8eb01c49b", - "sha256:ae6c04b629ac2cd2f695739988cb70b9bd8d5e7f849f5b14c4510e942bee5770", - "sha256:b9779944559cb7ace6a8516e402895f239b0d9d3c833c67dbaec496310e7e206", - "sha256:bdbca79726fe883c696088ea163715b2f902aec638a8e24bcf9790ff8fa45019", - "sha256:cdeba37c2fb44e1aec8a72af4cb369655b59ba313181b1b4b8183f08e759c49c", - "sha256:d737df0f8f26e093a82bfb106b6cfb510a0e9302d35834568e5b20b73ddc5a9c", - "sha256:eff5ff411f18a201eec137b7b32fcb55e0c48b372d370bd24f965f5bad471fa4", - "sha256:f1271224acafb27639c432e1ce4e7d38eab40305ba1c546e871d5c8a32f4f195", - "sha256:fde8dccb9033fa344ffce3ee1837939a50e7a210a768f1cf2059beeafa755481" - ], - "version": "==0.12.1" - }, - "toml": { - "hashes": [ - "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", - "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" - ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'", - "version": "==0.10.2" - }, - "tomli": { - "hashes": [ - "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" - ], - "markers": "python_version < '3.11'", - "version": "==2.0.1" - }, - "toolz": { - "hashes": [ - "sha256:6b312d5e15138552f1bda8a4e66c30e236c831b612b2bf0005f8a1df10a4bc33", - "sha256:a5700ce83414c64514d82d60bcda8aabfde092d1c1a8663f9200c07fdcc6da8f" - ], - "markers": "python_version >= '3.5'", - "version": "==0.11.2" - }, - "torch": { - "hashes": [ - "sha256:0ccc85cd06227a3edf809e2c795fd5762c3d4e8a38b5c9f744c6e7cf841361bb", - "sha256:0e48af66ad755f0f9c5f2664028a414f57c49d6adc37e77e06fe0004da4edb61", - "sha256:34ce5ea4d8d85da32cdbadb50d4585106901e9f8a3527991daa70c13a09de1f7", - "sha256:4322aa29f50da7f404db06cdf30896ea67b09f673af4a985afc7162bc897864d", - "sha256:44a1d02fd20f827f0f36dc26fdcfc45e793806a6ad52769a22260655a77a4369", - "sha256:50fd9bf85c578c871c28f1cb0ace9dfc6024401c7f399b174fb0f370899f4454", - "sha256:58c7814502b1c129a650d7092033bbb0bbd64faf1a7941631aaa1aeaddc37570", - "sha256:5d77b5ece78fdafa5c7f42995ff9474399d22571cd6b2de21a5d666306a2ff8c", - "sha256:62052b50fffc29ca7afc0c04ef8206b6f1ca9d10629cb543077e12967e8d0398", - "sha256:6860b1d1bf0bb0b67a6bd47f85a0e4c825b518eea13b5d6101999dbbcbd5bc0c", - "sha256:831cf588f01dda9409e75576741d2823453990dee2983d670f2584b37a01adf7", - "sha256:866bfba29ac98dec35d893d8e17eaec149d0ac7a53be7baae5c98069897db667", - "sha256:8ee7c2e8d7f7020d5bfbc1bb91b9591044c26bbd0cee5e4f694cfd7ed8649260", - "sha256:951640fb8db308a59d9b510e7d1ad910aff92913323bbe4bc75435347ddd346d", - "sha256:b5a38682769b544c875ecc34bcb81fbad5c922139b61319aacffcfd8a32f528c", - "sha256:b96654d42566080a134e784705f33f8536b3b95b5dcde357ed7879b1692a5f78", - "sha256:c1554e49d74f1b2c3e7202d77056ba2dd7465437585bac64062b580f714a44e9", - "sha256:e4d2e0ddd652f30e94cff750220324ec45705d4ecc69658f773b3cb1c7a28dd0", - "sha256:f82d77695a60626f2b7382d85bc566de8a6b3e50d32080755abc040db802e419" - ], - "index": "pypi", - "version": "==1.11.0" - }, - "tornado": { - "hashes": [ - "sha256:0a00ff4561e2929a2c37ce706cb8233b7907e0cdc22eab98888aca5dd3775feb", - "sha256:0d321a39c36e5f2c4ff12b4ed58d41390460f798422c4504e09eb5678e09998c", - "sha256:1e8225a1070cd8eec59a996c43229fe8f95689cb16e552d130b9793cb570a288", - "sha256:20241b3cb4f425e971cb0a8e4ffc9b0a861530ae3c52f2b0434e6c1b57e9fd95", - "sha256:25ad220258349a12ae87ede08a7b04aca51237721f63b1808d39bdb4b2164558", - "sha256:33892118b165401f291070100d6d09359ca74addda679b60390b09f8ef325ffe", - "sha256:33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791", - "sha256:3447475585bae2e77ecb832fc0300c3695516a47d46cefa0528181a34c5b9d3d", - "sha256:34ca2dac9e4d7afb0bed4677512e36a52f09caa6fded70b4e3e1c89dbd92c326", - "sha256:3e63498f680547ed24d2c71e6497f24bca791aca2fe116dbc2bd0ac7f191691b", - "sha256:548430be2740e327b3fe0201abe471f314741efcb0067ec4f2d7dcfb4825f3e4", - "sha256:6196a5c39286cc37c024cd78834fb9345e464525d8991c21e908cc046d1cc02c", - "sha256:61b32d06ae8a036a6607805e6720ef00a3c98207038444ba7fd3d169cd998910", - "sha256:6286efab1ed6e74b7028327365cf7346b1d777d63ab30e21a0f4d5b275fc17d5", - "sha256:65d98939f1a2e74b58839f8c4dab3b6b3c1ce84972ae712be02845e65391ac7c", - "sha256:66324e4e1beede9ac79e60f88de548da58b1f8ab4b2f1354d8375774f997e6c0", - "sha256:6c77c9937962577a6a76917845d06af6ab9197702a42e1346d8ae2e76b5e3675", - "sha256:70dec29e8ac485dbf57481baee40781c63e381bebea080991893cd297742b8fd", - "sha256:7250a3fa399f08ec9cb3f7b1b987955d17e044f1ade821b32e5f435130250d7f", - "sha256:748290bf9112b581c525e6e6d3820621ff020ed95af6f17fedef416b27ed564c", - "sha256:7da13da6f985aab7f6f28debab00c67ff9cbacd588e8477034c0652ac141feea", - "sha256:8f959b26f2634a091bb42241c3ed8d3cedb506e7c27b8dd5c7b9f745318ddbb6", - "sha256:9de9e5188a782be6b1ce866e8a51bc76a0fbaa0e16613823fc38e4fc2556ad05", - "sha256:a48900ecea1cbb71b8c71c620dee15b62f85f7c14189bdeee54966fbd9a0c5bd", - "sha256:b87936fd2c317b6ee08a5741ea06b9d11a6074ef4cc42e031bc6403f82a32575", - "sha256:c77da1263aa361938476f04c4b6c8916001b90b2c2fdd92d8d535e1af48fba5a", - "sha256:cb5ec8eead331e3bb4ce8066cf06d2dfef1bfb1b2a73082dfe8a161301b76e37", - "sha256:cc0ee35043162abbf717b7df924597ade8e5395e7b66d18270116f8745ceb795", - "sha256:d14d30e7f46a0476efb0deb5b61343b1526f73ebb5ed84f23dc794bdb88f9d9f", - "sha256:d371e811d6b156d82aa5f9a4e08b58debf97c302a35714f6f45e35139c332e32", - "sha256:d3d20ea5782ba63ed13bc2b8c291a053c8d807a8fa927d941bd718468f7b950c", - "sha256:d3f7594930c423fd9f5d1a76bee85a2c36fd8b4b16921cae7e965f22575e9c01", - "sha256:dcef026f608f678c118779cd6591c8af6e9b4155c44e0d1bc0c87c036fb8c8c4", - "sha256:e0791ac58d91ac58f694d8d2957884df8e4e2f6687cdf367ef7eb7497f79eaa2", - "sha256:e385b637ac3acaae8022e7e47dfa7b83d3620e432e3ecb9a3f7f58f150e50921", - "sha256:e519d64089b0876c7b467274468709dadf11e41d65f63bba207e04217f47c085", - "sha256:e7229e60ac41a1202444497ddde70a48d33909e484f96eb0da9baf8dc68541df", - "sha256:ed3ad863b1b40cd1d4bd21e7498329ccaece75db5a5bf58cd3c9f130843e7102", - "sha256:f0ba29bafd8e7e22920567ce0d232c26d4d47c8b5cf4ed7b562b5db39fa199c5", - "sha256:fa2ba70284fa42c2a5ecb35e322e68823288a4251f9ba9cc77be04ae15eada68", - "sha256:fba85b6cd9c39be262fcd23865652920832b61583de2a2ca907dbd8e8a8c81e5" - ], - "markers": "python_version >= '3.5'", - "version": "==6.1" - }, - "tqdm": { - "hashes": [ - "sha256:40be55d30e200777a307a7585aee69e4eabb46b4ec6a4b4a5f2d9f11e7d5408d", - "sha256:74a2cdefe14d11442cedf3ba4e21a3b84ff9a2dbdc6cfae2c34addb2a14a5ea6" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==4.64.0" - }, - "traitlets": { - "hashes": [ - "sha256:70815ecb20ec619d1af28910ade523383be13754283aef90528eb3d47b77c5db", - "sha256:f44b708d33d98b0addb40c29d148a761f44af740603a8fd0e2f8b5b27cf0f087" - ], - "markers": "python_version >= '3.7'", - "version": "==5.2.1.post0" - }, - "transformers": { - "hashes": [ - "sha256:1416315b7c5ff1f56d3915f416b67aa254a9907fbb73ef7f7bffc9210446b5fa", - "sha256:e19a4ff07458eda143c738e5259caf48449fcf078a63d6b1bd1aa806543440a3" - ], - "index": "pypi", - "version": "==4.19.2" - }, - "typer": { - "hashes": [ - "sha256:5646aef0d936b2c761a10393f0384ee6b5c7fe0bb3e5cd710b17134ca1d99cff", - "sha256:e8467f0ebac0c81366c2168d6ad9f888efdfb6d4e1d3d5b4a004f46fa444b5c3" - ], - "markers": "python_version >= '3.6'", - "version": "==0.4.1" - }, - "typing-extensions": { - "hashes": [ - "sha256:6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708", - "sha256:f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376" - ], - "markers": "python_version < '3.10'", - "version": "==4.2.0" - }, - "tzdata": { - "hashes": [ - "sha256:238e70234214138ed7b4e8a0fab0e5e13872edab3be586ab8198c407620e2ab9", - "sha256:8b536a8ec63dc0751342b3984193a3118f8fca2afe25752bb9b7fffd398552d3" - ], - "markers": "python_version >= '3.6'", - "version": "==2022.1" - }, - "tzlocal": { - "hashes": [ - "sha256:89885494684c929d9191c57aa27502afc87a579be5cdd3225c77c463ea043745", - "sha256:ee5842fa3a795f023514ac2d801c4a81d1743bbe642e3940143326b3a00addd7" - ], - "markers": "python_version >= '3.6'", - "version": "==4.2" - }, - "urllib3": { - "hashes": [ - "sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", - "sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'", - "version": "==1.26.9" - }, - "validators": { - "hashes": [ - "sha256:dec45f4381f042f1e705cfa74949505b77f1e27e8b05409096fee8152c839cbe" - ], - "markers": "python_version >= '3.4'", - "version": "==0.19.0" - }, - "wasabi": { - "hashes": [ - "sha256:217edcb2850993c7931399e7419afccde13539d589e333bc85f9053cf0bb1772", - "sha256:ada6f13e9b70ef26bf95fad0febdfdebe2005e29a08ad58f4bbae383a97298cf" - ], - "version": "==0.9.1" - }, - "watchdog": { - "hashes": [ - "sha256:036ed15f7cd656351bf4e17244447be0a09a61aaa92014332d50719fc5973bc0", - "sha256:0c520009b8cce79099237d810aaa19bc920941c268578436b62013b2f0102320", - "sha256:0fb60c7d31474b21acba54079ce9ff0136411183e9a591369417cddb1d7d00d7", - "sha256:156ec3a94695ea68cfb83454b98754af6e276031ba1ae7ae724dc6bf8973b92a", - "sha256:1ae17b6be788fb8e4d8753d8d599de948f0275a232416e16436363c682c6f850", - "sha256:1e5d0fdfaa265c29dc12621913a76ae99656cf7587d03950dfeb3595e5a26102", - "sha256:24dedcc3ce75e150f2a1d704661f6879764461a481ba15a57dc80543de46021c", - "sha256:2962628a8777650703e8f6f2593065884c602df7bae95759b2df267bd89b2ef5", - "sha256:47598fe6713fc1fee86b1ca85c9cbe77e9b72d002d6adeab9c3b608f8a5ead10", - "sha256:4978db33fc0934c92013ee163a9db158ec216099b69fce5aec790aba704da412", - "sha256:5e2e51c53666850c3ecffe9d265fc5d7351db644de17b15e9c685dd3cdcd6f97", - "sha256:676263bee67b165f16b05abc52acc7a94feac5b5ab2449b491f1a97638a79277", - "sha256:68dbe75e0fa1ba4d73ab3f8e67b21770fbed0651d32ce515cd38919a26873266", - "sha256:6d03149126864abd32715d4e9267d2754cede25a69052901399356ad3bc5ecff", - "sha256:6ddf67bc9f413791072e3afb466e46cc72c6799ba73dea18439b412e8f2e3257", - "sha256:746e4c197ec1083581bb1f64d07d1136accf03437badb5ff8fcb862565c193b2", - "sha256:7721ac736170b191c50806f43357407138c6748e4eb3e69b071397f7f7aaeedd", - "sha256:88ef3e8640ef0a64b7ad7394b0f23384f58ac19dd759da7eaa9bc04b2898943f", - "sha256:aa68d2d9a89d686fae99d28a6edf3b18595e78f5adf4f5c18fbfda549ac0f20c", - "sha256:b962de4d7d92ff78fb2dbc6a0cb292a679dea879a0eb5568911484d56545b153", - "sha256:ce7376aed3da5fd777483fe5ebc8475a440c6d18f23998024f832134b2938e7b", - "sha256:ddde157dc1447d8130cb5b8df102fad845916fe4335e3d3c3f44c16565becbb7", - "sha256:efcc8cbc1b43902571b3dce7ef53003f5b97fe4f275fe0489565fc6e2ebe3314", - "sha256:f9ee4c6bf3a1b2ed6be90a2d78f3f4bbd8105b6390c04a86eb48ed67bbfa0b0b", - "sha256:fed4de6e45a4f16e4046ea00917b4fe1700b97244e5d114f594b4a1b9de6bed8" - ], - "index": "pypi", - "version": "==2.1.8" - }, - "wcwidth": { - "hashes": [ - "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784", - "sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83" - ], - "version": "==0.2.5" - }, - "webencodings": { - "hashes": [ - "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", - "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - ], - "version": "==0.5.1" - }, - "websocket-client": { - "hashes": [ - "sha256:50b21db0058f7a953d67cc0445be4b948d7fc196ecbeb8083d68d94628e4abf6", - "sha256:722b171be00f2b90e1d4fb2f2b53146a536ca38db1da8ff49c972a4e1365d0ef" - ], - "markers": "python_version >= '3.7'", - "version": "==1.3.2" - }, - "widgetsnbextension": { - "hashes": [ - "sha256:4fd321cad39fdcf8a8e248a657202d42917ada8e8ed5dd3f60f073e0d54ceabd", - "sha256:e84a7a9fcb9baf3d57106e184a7389a8f8eb935bf741a5eb9d60aa18cc029a80" - ], - "version": "==3.6.0" - }, - "wrapt": { - "hashes": [ - "sha256:00b6d4ea20a906c0ca56d84f93065b398ab74b927a7a3dbd470f6fc503f95dc3", - "sha256:01c205616a89d09827986bc4e859bcabd64f5a0662a7fe95e0d359424e0e071b", - "sha256:02b41b633c6261feff8ddd8d11c711df6842aba629fdd3da10249a53211a72c4", - "sha256:07f7a7d0f388028b2df1d916e94bbb40624c59b48ecc6cbc232546706fac74c2", - "sha256:11871514607b15cfeb87c547a49bca19fde402f32e2b1c24a632506c0a756656", - "sha256:1b376b3f4896e7930f1f772ac4b064ac12598d1c38d04907e696cc4d794b43d3", - "sha256:21ac0156c4b089b330b7666db40feee30a5d52634cc4560e1905d6529a3897ff", - "sha256:257fd78c513e0fb5cdbe058c27a0624c9884e735bbd131935fd49e9fe719d310", - "sha256:2b39d38039a1fdad98c87279b48bc5dce2c0ca0d73483b12cb72aa9609278e8a", - "sha256:2cf71233a0ed05ccdabe209c606fe0bac7379fdcf687f39b944420d2a09fdb57", - "sha256:2fe803deacd09a233e4762a1adcea5db5d31e6be577a43352936179d14d90069", - "sha256:3232822c7d98d23895ccc443bbdf57c7412c5a65996c30442ebe6ed3df335383", - "sha256:34aa51c45f28ba7f12accd624225e2b1e5a3a45206aa191f6f9aac931d9d56fe", - "sha256:36f582d0c6bc99d5f39cd3ac2a9062e57f3cf606ade29a0a0d6b323462f4dd87", - "sha256:380a85cf89e0e69b7cfbe2ea9f765f004ff419f34194018a6827ac0e3edfed4d", - "sha256:40e7bc81c9e2b2734ea4bc1aceb8a8f0ceaac7c5299bc5d69e37c44d9081d43b", - "sha256:43ca3bbbe97af00f49efb06e352eae40434ca9d915906f77def219b88e85d907", - "sha256:4fcc4649dc762cddacd193e6b55bc02edca674067f5f98166d7713b193932b7f", - "sha256:5a0f54ce2c092aaf439813735584b9537cad479575a09892b8352fea5e988dc0", - "sha256:5a9a0d155deafd9448baff28c08e150d9b24ff010e899311ddd63c45c2445e28", - "sha256:5b02d65b9ccf0ef6c34cba6cf5bf2aab1bb2f49c6090bafeecc9cd81ad4ea1c1", - "sha256:60db23fa423575eeb65ea430cee741acb7c26a1365d103f7b0f6ec412b893853", - "sha256:642c2e7a804fcf18c222e1060df25fc210b9c58db7c91416fb055897fc27e8cc", - "sha256:6a9a25751acb379b466ff6be78a315e2b439d4c94c1e99cb7266d40a537995d3", - "sha256:6b1a564e6cb69922c7fe3a678b9f9a3c54e72b469875aa8018f18b4d1dd1adf3", - "sha256:6d323e1554b3d22cfc03cd3243b5bb815a51f5249fdcbb86fda4bf62bab9e164", - "sha256:6e743de5e9c3d1b7185870f480587b75b1cb604832e380d64f9504a0535912d1", - "sha256:709fe01086a55cf79d20f741f39325018f4df051ef39fe921b1ebe780a66184c", - "sha256:7b7c050ae976e286906dd3f26009e117eb000fb2cf3533398c5ad9ccc86867b1", - "sha256:7d2872609603cb35ca513d7404a94d6d608fc13211563571117046c9d2bcc3d7", - "sha256:7ef58fb89674095bfc57c4069e95d7a31cfdc0939e2a579882ac7d55aadfd2a1", - "sha256:80bb5c256f1415f747011dc3604b59bc1f91c6e7150bd7db03b19170ee06b320", - "sha256:81b19725065dcb43df02b37e03278c011a09e49757287dca60c5aecdd5a0b8ed", - "sha256:833b58d5d0b7e5b9832869f039203389ac7cbf01765639c7309fd50ef619e0b1", - "sha256:88bd7b6bd70a5b6803c1abf6bca012f7ed963e58c68d76ee20b9d751c74a3248", - "sha256:8ad85f7f4e20964db4daadcab70b47ab05c7c1cf2a7c1e51087bfaa83831854c", - "sha256:8c0ce1e99116d5ab21355d8ebe53d9460366704ea38ae4d9f6933188f327b456", - "sha256:8d649d616e5c6a678b26d15ece345354f7c2286acd6db868e65fcc5ff7c24a77", - "sha256:903500616422a40a98a5a3c4ff4ed9d0066f3b4c951fa286018ecdf0750194ef", - "sha256:9736af4641846491aedb3c3f56b9bc5568d92b0692303b5a305301a95dfd38b1", - "sha256:988635d122aaf2bdcef9e795435662bcd65b02f4f4c1ae37fbee7401c440b3a7", - "sha256:9cca3c2cdadb362116235fdbd411735de4328c61425b0aa9f872fd76d02c4e86", - "sha256:9e0fd32e0148dd5dea6af5fee42beb949098564cc23211a88d799e434255a1f4", - "sha256:9f3e6f9e05148ff90002b884fbc2a86bd303ae847e472f44ecc06c2cd2fcdb2d", - "sha256:a85d2b46be66a71bedde836d9e41859879cc54a2a04fad1191eb50c2066f6e9d", - "sha256:a9a52172be0b5aae932bef82a79ec0a0ce87288c7d132946d645eba03f0ad8a8", - "sha256:aa31fdcc33fef9eb2552cbcbfee7773d5a6792c137b359e82879c101e98584c5", - "sha256:b014c23646a467558be7da3d6b9fa409b2c567d2110599b7cf9a0c5992b3b471", - "sha256:b21bb4c09ffabfa0e85e3a6b623e19b80e7acd709b9f91452b8297ace2a8ab00", - "sha256:b5901a312f4d14c59918c221323068fad0540e34324925c8475263841dbdfe68", - "sha256:b9b7a708dd92306328117d8c4b62e2194d00c365f18eff11a9b53c6f923b01e3", - "sha256:d1967f46ea8f2db647c786e78d8cc7e4313dbd1b0aca360592d8027b8508e24d", - "sha256:d52a25136894c63de15a35bc0bdc5adb4b0e173b9c0d07a2be9d3ca64a332735", - "sha256:d77c85fedff92cf788face9bfa3ebaa364448ebb1d765302e9af11bf449ca36d", - "sha256:d79d7d5dc8a32b7093e81e97dad755127ff77bcc899e845f41bf71747af0c569", - "sha256:dbcda74c67263139358f4d188ae5faae95c30929281bc6866d00573783c422b7", - "sha256:ddaea91abf8b0d13443f6dac52e89051a5063c7d014710dcb4d4abb2ff811a59", - "sha256:dee0ce50c6a2dd9056c20db781e9c1cfd33e77d2d569f5d1d9321c641bb903d5", - "sha256:dee60e1de1898bde3b238f18340eec6148986da0455d8ba7848d50470a7a32fb", - "sha256:e2f83e18fe2f4c9e7db597e988f72712c0c3676d337d8b101f6758107c42425b", - "sha256:e3fb1677c720409d5f671e39bac6c9e0e422584e5f518bfd50aa4cbbea02433f", - "sha256:ee2b1b1769f6707a8a445162ea16dddf74285c3964f605877a20e38545c3c462", - "sha256:ee6acae74a2b91865910eef5e7de37dc6895ad96fa23603d1d27ea69df545015", - "sha256:ef3f72c9666bba2bab70d2a8b79f2c6d2c1a42a7f7e2b0ec83bb2f9e383950af" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==1.14.1" - }, - "xlrd": { - "hashes": [ - "sha256:6a33ee89877bd9abc1158129f6e94be74e2679636b8a205b43b85206c3f0bbdd", - "sha256:f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88" - ], - "index": "pypi", - "version": "==2.0.1" - }, - "zipp": { - "hashes": [ - "sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad", - "sha256:c4f6e5bbf48e74f7a38e7cc5b0480ff42b0ae5178957d564d18932525d5cf099" - ], - "markers": "python_version >= '3.7'", - "version": "==3.8.0" - } - }, - "develop": {} -} diff --git a/README OG.md b/README OG.md deleted file mode 100644 index 7aa7225d020d2cbd9554797512f92ce299b70472..0000000000000000000000000000000000000000 --- a/README OG.md +++ /dev/null @@ -1,34 +0,0 @@ -# NLC-Gen -### A Natural Language Counterfactual Generator for Exploring Bias in Sentiment Analysis Algorithms - -##### Overview -This project is an extension of [Interactive Model Cards](https://github.com/amcrisan/interactive-model-cards). It focuses on providing a person more ways to explore the bias of a model through the generation of alternatives (technically [counterfactuals](https://plato.stanford.edu/entries/counterfactuals/#WhatCoun)). We believe the use of alternatives people can better understand the limitations of a model and develop productive skepticism around its usage and trustworthiness. - -##### Set up - -Download the files from Github then perform the commands below in -```sh -cd NLC-Gen -pipenv install -pipenv shell -python -m spacy download en_core_web_lg -streamlit run NLC-app.py -``` - -##### Known Limitations -* Words not in the spaCy vocab for `en_core_web_lg` won't have vectors and so won't have the ability to create similarity scores. -* WordNet provides many limitations due to its age and lack of funding for ongoing maintenance. It provides access to a large variety of the English language but certain words simply do not exist. -* There are currently only 2 lists (Countries and Professions). We would like to find community curated lists for: Race, Sexual Orientation and Gender Identity (SOGI), Religion, age, and protected status. - - -##### Key Dependencies and Packages - -1. [Hugging Face Transformers](https://huggingface.co/) - the model we've designed this iteration for is hosted on hugging face. It is: [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english). -2. [Streamlit](https://streamlit.io) - This is the library we're using to build the prototype app because it is easy to stand up and quick to fix. -3. [spaCy](https://spacy.io) - This is the main NLP Library we're using and it runs most of the text manipulation we're doing as part of the project. -4. [NLTK + WordNet](https://www.nltk.org/howto/wordnet.html) - This is the initial lexical database we're using because it is accessible directly through Python and it is free. We will be considering a move to [ConceptNet](https://conceptnet.io/) for future iterations based on better lateral movement across edges. -5. [Lime](https://github.com/marcotcr/lime) - We chose Lime over Shap because Lime has more of the functionality we need. Shap appears to provide greater performance but is not as easily suited to our original designs. -6. [Altair](https://altair-viz.github.io/user_guide/encoding.html) - We're using Altair because it's well integrated into Streamlit. - - - diff --git a/README.md b/README.md index 3ba3f53a20cffdebc49a78168d069657e12e3fd3..3172118cabb16fa169524c1e620e4d904e4adb78 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,23 @@ pinned: false license: mit --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference +# NLC-Explorer +### A Natural Language Counterfactual Generator for Exploring Bias in Sentiment Analysis Algorithms + +##### Overview +This project is an extension of [Interactive Model Cards](https://github.com/amcrisan/interactive-model-cards). It focuses on providing a person more ways to explore the bias of a model through the generation of alternatives (technically [counterfactuals](https://plato.stanford.edu/entries/counterfactuals/#WhatCoun)). We believe the use of alternatives people can better understand the limitations of a model and develop productive skepticism around its usage and trustworthiness. + +##### Known Limitations +* Words not in the spaCy vocab for `en_core_web_lg` won't have vectors and so won't have the ability to create similarity scores. +* WordNet provides many limitations due to its age and lack of funding for ongoing maintenance. It provides access to a large variety of the English language but certain words simply do not exist. +* There are currently only 2 lists (Countries and Professions). We would like to find community curated lists for: Race, Sexual Orientation and Gender Identity (SOGI), Religion, age, and protected status. + + +##### Key Dependencies and Packages + +1. [Hugging Face Transformers](https://huggingface.co/) - the model we've designed this iteration for is hosted on hugging face. It is: [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english). +2. [Streamlit](https://streamlit.io) - This is the library we're using to build the prototype app because it is easy to stand up and quick to fix. +3. [spaCy](https://spacy.io) - This is the main NLP Library we're using and it runs most of the text manipulation we're doing as part of the project. +4. [NLTK + WordNet](https://www.nltk.org/howto/wordnet.html) - This is the initial lexical database we're using because it is accessible directly through Python and it is free. We will be considering a move to [ConceptNet](https://conceptnet.io/) for future iterations based on better lateral movement across edges. +5. [Lime](https://github.com/marcotcr/lime) - We chose Lime over Shap because Lime has more of the functionality we need. Shap appears to provide greater performance but is not as easily suited to our original designs. +6. [Altair](https://altair-viz.github.io/user_guide/encoding.html) - We're using Altair because it's well integrated into Streamlit. \ No newline at end of file diff --git a/VizNLC-duct-tape-pipeline.ipynb b/VizNLC-duct-tape-pipeline.ipynb deleted file mode 100644 index 08ee3ceb9b28c1c842219130c59d6b1278d95611..0000000000000000000000000000000000000000 --- a/VizNLC-duct-tape-pipeline.ipynb +++ /dev/null @@ -1,934 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "8ea54fcd-ef4a-42cb-ae26-cbdc6f6ffc64", - "metadata": { - "tags": [] - }, - "source": [ - "# Duct Tape Pipeline\n", - "To explore how users may interact with interactive visualizations of counterfactuals for evolving the Interactive Model Card, we will need to first find a way to generate counterfactuals based on a given input. We want the user to be able to provide their input and direct the system to generate counterfactuals based on a part of speech that is significant to the model. The system should then provide a data frame of counterfactuals to be used in an interactive visualization. Below is an example wireframe of the experience based on previous research.\n", - "\n", - "![wireframe](Assets/VizNLC-Wireframe-example.png)\n", - "\n", - "## Goals of this notebook\n", - "* Test which libraries (Ex. [spaCy](https://spacy.io/) and [NLTK](https://www.nltk.org/)) will work\n", - "* Identify defaults to use\n", - "* Build a rudimentary script for generating counterfactuals from user input\n", - "* Ensure the counterfactuals are in a useable format for visualization" - ] - }, - { - "cell_type": "markdown", - "id": "736e6375-dd6d-4188-b8b1-92bded2bcd02", - "metadata": {}, - "source": [ - "## Loading the libraries and models" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "7f581785-e642-4f74-9f67-06a63820eaf2", - "metadata": {}, - "outputs": [], - "source": [ - "#Import the libraries we know we'll need for the Generator.\n", - "import pandas as pd, spacy, nltk, numpy as np\n", - "from spacy import displacy\n", - "from spacy.matcher import Matcher\n", - "#!python -m spacy download en_core_web_sm\n", - "nlp = spacy.load(\"en_core_web_sm\")\n", - "lemmatizer = nlp.get_pipe(\"lemmatizer\")\n", - "\n", - "#Import the libraries to support the model, predictions, and LIME.\n", - "from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline\n", - "import lime\n", - "import torch\n", - "import torch.nn.functional as F\n", - "from lime.lime_text import LimeTextExplainer\n", - "\n", - "#Import the libraries for generating interactive visualizations.\n", - "import altair as alt" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "cbe2b292-e33e-4915-8e61-bba5327fb643", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining all necessary variables and instances.\n", - "tokenizer = AutoTokenizer.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "model = AutoModelForSequenceClassification.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "class_names = ['negative', 'positive']\n", - "explainer = LimeTextExplainer(class_names=class_names)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "197c3e26-0fdf-49c6-9135-57f1fd55d3e3", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining a Predictor required for LIME to function.\n", - "def predictor(texts):\n", - " outputs = model(**tokenizer(texts, return_tensors=\"pt\", padding=True))\n", - " probas = F.softmax(outputs.logits, dim=1).detach().numpy()\n", - " return probas" - ] - }, - { - "cell_type": "markdown", - "id": "e731dcbb-4fcf-41c6-9493-edef02fdb1b6", - "metadata": {}, - "source": [ - "## Exploring concepts to see what might work\n", - "To begin building the pipeline I started by identifying whether or not I needed to build my own matcher or if spaCy has something built in that would allow us to make it easier. Having to build our own matcher, to account for each of the possible patterns, would be exceptionally cumbersome with all of the variations we need to look out for. Instead, I found that using the built in `noun_chunks` attribute allows for a simplification to the parts of speech we most care about. \n", - "* I built a few helper functions from tutorials to explore the parts-of-speech within given sentences and the way `noun_chunks` work\n", - "* I explore dusing `displacy` as a means of visualizing sentences to call out what the pre-trained models already understand" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1f2eca3c-525c-4e29-8cc1-c87e89a3fadf", - "metadata": {}, - "outputs": [], - "source": [ - "#A quick test of Noun Chunks\n", - "text = \"The movie was filmed in New Zealand.\"\n", - "doc = nlp(text)\n", - "def n_chunk(doc):\n", - " for chunk in doc.noun_chunks:\n", - " print(f\"Text: {chunk.text:<12}| Root:{chunk.root.text:<12}| Root Dependency: {chunk.root.dep_:<12}| Root Head: {chunk.root.head.text:<12}\")\n", - "n_chunk(doc)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "98978c29-a39c-48e3-bdbb-b74388ded6bc", - "metadata": {}, - "outputs": [], - "source": [ - "#The user will need to enter text. For now, we're going to provide a series of sentences generated to have things we care about. For clarity \"upt\" means \"user provide text\".\n", - "upt1 = \"I like movies starring black actors.\"\n", - "upt2 = \"I am a black trans-woman.\"\n", - "upt3 = \"Native Americans deserve to have their land back.\"\n", - "upt4 = \"This movie was filmed in Iraq.\"\n", - "\n", - "#Here I provide a larger text with mixed messages one sentence per line.\n", - "text1 = (\n", - "\"I like movies starring black actors.\"\n", - "\"I am a black trans-woman.\"\n", - "\"Native Americans deserve to have their land back.\"\n", - "\"This movie was filmed in Iraq.\"\n", - "\"The Chinese cat and the African bat walked into a Jamaican bar.\"\n", - "\"There once was a flexible pole that met an imovable object.\"\n", - "\"A Catholic nun, a Buddhist monk, a satanic cultist, and a Wiccan walk into your garage.\")\n", - "\n", - "doc1 = nlp(upt1)\n", - "doc2 = nlp(upt2)\n", - "doc3 = nlp(upt3)\n", - "doc4 = nlp(upt4)\n", - "doct = nlp(text1)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "38023eca-b224-412d-aa71-02bd694530e0", - "metadata": {}, - "outputs": [], - "source": [ - "#Using displacy to explore how the NLP model views sentences.\n", - "displacy.render(doc, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c28edec8-dc30-4ef9-8c1e-131b0e1b1a45", - "metadata": {}, - "outputs": [], - "source": [ - "#Another visual for understanding how the model views sentences.\n", - "displacy.render(doc, style=\"dep\")" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "dd0d5f8e-ee80-48f7-be92-effa5f84c723", - "metadata": {}, - "outputs": [], - "source": [ - "#A simple token to print out the \n", - "def text_pos(doc):\n", - " for token in doc:\n", - " # Get the token text, part-of-speech tag and dependency label\n", - " token_text = token.text\n", - " token_pos = token.pos_\n", - " token_dep = token.dep_\n", - " token_ent = token.ent_type_\n", - " token_morph = token.morph\n", - " # This is for formatting only\n", - " print(f\"Text: {token_text:<12}| Part of Speech: {token_pos:<10}| Dependency: {token_dep:<10}| Entity: {token_ent:<10} | Morph: {token_morph}\")" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "5dfee095-3852-4dba-a7dc-5519e8ec6eaa", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Text: Who | Part of Speech: PRON | Dependency: nsubj | Entity: | Morph: \n", - "Text: put | Part of Speech: VERB | Dependency: ROOT | Entity: | Morph: Tense=Past|VerbForm=Fin\n", - "Text: a | Part of Speech: DET | Dependency: det | Entity: | Morph: Definite=Ind|PronType=Art\n", - "Text: tiny | Part of Speech: ADJ | Dependency: amod | Entity: | Morph: Degree=Pos\n", - "Text: pickle | Part of Speech: NOUN | Dependency: dobj | Entity: | Morph: Number=Sing\n", - "Text: in | Part of Speech: ADP | Dependency: prep | Entity: | Morph: \n", - "Text: the | Part of Speech: DET | Dependency: det | Entity: | Morph: Definite=Def|PronType=Art\n", - "Text: jar | Part of Speech: NOUN | Dependency: pobj | Entity: | Morph: Number=Sing\n" - ] - } - ], - "source": [ - "x = nlp(\"Who put a tiny pickle in the jar\")\n", - "text_pos(x)" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "2485d88d-2dd4-4fa3-9d62-4dcbec4e9138", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "0" - ] - }, - "execution_count": 11, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(x[0].morph)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "013af6ac-f7d1-41d2-a601-b0f9a4870815", - "metadata": {}, - "outputs": [], - "source": [ - "#Instantiate a matcher and use it to test some patterns.\n", - "matcher = Matcher(nlp.vocab)\n", - "pattern = [{\"ENT_TYPE\": {\"IN\":[\"NORP\",\"GPE\"]}}]\n", - "matcher.add(\"proper_noun\", [pattern])\n", - "pattern_test = [{\"DEP\": \"amod\"},{\"DEP\":\"attr\"},{\"TEXT\":\"-\"},{\"DEP\":\"attr\",\"OP\":\"+\"}]\n", - "matcher.add(\"amod_attr\",[pattern_test])\n", - "pattern_an = [{\"DEP\": \"amod\"},{\"POS\":{\"IN\":[\"NOUN\",\"PROPN\"]}},{\"DEP\":{\"NOT_IN\":[\"attr\"]}}]\n", - "matcher.add(\"amod_noun\", [pattern_an])" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f6ac821d-7b56-446e-b9ca-42a5f5afd198", - "metadata": {}, - "outputs": [], - "source": [ - "def match_this(matcher, doc):\n", - " matches = matcher(doc)\n", - " for match_id, start, end in matches:\n", - " matched_span = doc[start:end]\n", - " print(f\"Mached {matched_span.text} by the rule {nlp.vocab.strings[match_id]}.\")\n", - " return matches" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "958e4dc8-6652-4f32-b7ae-6aa5ee287cf7", - "metadata": {}, - "outputs": [], - "source": [ - "match_this(matcher, doct)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "5bf40fa5-b636-47f7-98b2-e872c78e7114", - "metadata": {}, - "outputs": [], - "source": [ - "text_pos(doc3)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c5365304-5edb-428d-abf5-d579dcfbc269", - "metadata": {}, - "outputs": [], - "source": [ - "n_chunk(doc3)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "b7f3d3c8-65a1-433f-a47c-adcaaa2353e2", - "metadata": {}, - "outputs": [], - "source": [ - "displacy.render(doct, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "84df8e30-d142-4e5b-b3a9-02e3133ceba9", - "metadata": {}, - "outputs": [], - "source": [ - "txt = \"Savannah is a city in Georgia, in the United States\"\n", - "doc = nlp(txt)\n", - "displacy.render(doc, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "4a85f713-92bc-48ba-851e-de627d7e8c77", - "metadata": {}, - "outputs": [], - "source": [ - "displacy.render(doc2, style='dep')" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "032f1134-7560-400b-824b-bc0196058b66", - "metadata": {}, - "outputs": [], - "source": [ - "n_chunk(doct)" - ] - }, - { - "cell_type": "markdown", - "id": "188044a1-4cf4-4141-a520-c5f11198aed8", - "metadata": {}, - "source": [ - "* The Model does not recognize `wiccan` as a NORP but it will recognize `Wiccan` as NORP\n", - "* The Model does not know what to do with `-` and makes a mess of `trans-woman` because of this" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2dc82250-e26e-49d5-a7f2-d4eeda170e4e", - "metadata": {}, - "outputs": [], - "source": [ - "chunks = list(doc1.noun_chunks)\n", - "print(chunks[-1][-2].pos_)" - ] - }, - { - "cell_type": "markdown", - "id": "c23d48c4-f5ab-4428-9244-0786e9903a8e", - "metadata": {}, - "source": [ - "## Building the Duct-Tape Pipeline cell-by-cell" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "7ed22421-4401-482e-b54a-ee70d3187037", - "metadata": {}, - "outputs": [], - "source": [ - "#Lists of important words\n", - "gender = [\"man\", \"woman\",\"girl\",\"boy\",\"male\",\"female\",\"husband\",\"wife\",\"girlfriend\",\"boyfriend\",\"brother\",\"sister\",\"aunt\",\"uncle\",\"grandma\",\"grandpa\",\"granny\",\"granps\",\"grandmother\",\"grandfather\",\"mama\",\"dada\",\"Ma\",\"Pa\",\"lady\",\"gentleman\"]\n", - "#consider pulling ethnicities from https://github.com/cgio/global-ethnicities" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8b02a5d4-8a6b-4e5e-8f15-4f9182fe341f", - "metadata": {}, - "outputs": [], - "source": [ - "def select_crit(document, options=False, limelist=False):\n", - " '''This function is meant to select the critical part of a sentence. Critical, in this context means\n", - " the part of the sentence that is either: A) a PROPN from the correct entity group; B) an ADJ associated with a NOUN;\n", - " C) a NOUN that represents gender. It also checks this against what the model thinks is important if the user defines \"options\" as \"LIME\" or True.'''\n", - " chunks = list(document.noun_chunks)\n", - " pos_options = []\n", - " lime_options = []\n", - " \n", - " #Identify what the model cares about.\n", - " if options:\n", - " exp = explainer.explain_instance(document.text, predictor, num_features=20, num_samples=2000)\n", - " results = exp.as_list()[:10]\n", - " #prints the results from lime for QA.\n", - " if limelist == True:\n", - " print(results)\n", - " for feature in results:\n", - " lime_options.append(feature[0])\n", - " \n", - " #Identify what we care about \"parts of speech\"\n", - " for chunk in chunks:\n", - " #The use of chunk[-1] is due to testing that it appears to always match the root\n", - " root = chunk[-1]\n", - " #This currently matches to a list I've created. I don't know the best way to deal with this so I'm leaving it as is for the moment.\n", - " if root.text.lower() in gender:\n", - " cur_values = [token.text for token in chunk if token.pos_ in [\"NOUN\",\"ADJ\"]]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " #print(f\"From {chunk.text}, {cur_values} added to pos_options due to gender.\") #for QA\n", - " #This is currently set to pick up entities in a particular set of groups (which I recently expanded). Should it just pick up all named entities?\n", - " elif root.ent_type_ in [\"GPE\",\"NORP\",\"DATE\",\"EVENT\"]:\n", - " cur_values = []\n", - " if (len(chunk) > 1) and (chunk[-2].dep_ == \"compound\"):\n", - " #creates the compound element of the noun\n", - " compound = [x.text for x in chunk if x.dep_ == \"compound\"]\n", - " print(f\"This is the contents of {compound} and it is {all(elem in lime_options for elem in compound)} that all elements are present in {lime_options}.\") #for QA\n", - " #checks to see all elements in the compound are important to the model or use the compound if not checking importance.\n", - " if (all(elem in lime_options for elem in compound) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " #creates a span for the entirety of the compound noun and adds it to the list.\n", - " span = -1 * (1 + len(compound))\n", - " pos_options.append(chunk[span:].text)\n", - " cur_values + [token.text for token in chunk if token.pos_ == \"ADJ\"]\n", - " else: \n", - " cur_values = [token.text for token in chunk if (token.ent_type_ in [\"GPE\",\"NORP\",\"DATE\",\"EVENT\"]) or (token.pos_ == \"ADJ\")]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} and {pos_options} added to pos_options due to entity recognition.\") #for QA\n", - " elif len(chunk) > 1:\n", - " cur_values = [token.text for token in chunk if token.pos_ in [\"NOUN\",\"ADJ\"]]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} added to pos_options due to wildcard.\") #for QA\n", - " else:\n", - " print(f\"No options added for \\'{chunk.text}\\' \")\n", - " \n", - " #Return the correct set of options based on user input, defaults to POS for simplicity.\n", - " if options == \"LIME\":\n", - " return lime_options\n", - " else:\n", - " return pos_options" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "fa95e9fe-36ea-4b95-ab51-6bb82f745c23", - "metadata": {}, - "outputs": [], - "source": [ - "#Testing a method to make sure I had the ability to match one list inside the other. Now incorporated in the above function's logic.\n", - "one = ['a','b','c']\n", - "two = ['a','c']\n", - "all(elem in one for elem in two)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d43e202e-64b9-4cea-b117-82492c9ee5f4", - "metadata": {}, - "outputs": [], - "source": [ - "#Test to make sure all three options work\n", - "pos4 = select_crit(doc4)\n", - "lime4 = select_crit(doc4,options=\"LIME\")\n", - "final4 = select_crit(doc4,options=True,limelist=True)\n", - "print(pos4, lime4, final4)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "5623015e-fdb2-44f0-b5ac-812203b639b3", - "metadata": {}, - "outputs": [], - "source": [ - "#This is a test to make sure compounds of any length are captured. \n", - "txt = \"I went to Papua New Guinea for Christmas Eve and New Years.\"\n", - "doc_t = nlp(txt)\n", - "select_crit(doc_t)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "58be22eb-a5c3-4a01-820b-45d190fce52d", - "metadata": {}, - "outputs": [], - "source": [ - "#Test to make sure all three options work. A known issue is that if we combine the compounds then they will not end up in the final_options...\n", - "pos_t = select_crit(doc_t)\n", - "lime_t = select_crit(doc_t,options=\"LIME\")\n", - "final_t = select_crit(doc_t,options=True,limelist=True)\n", - "print(pos_t, lime_t, final_t)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1158de94-1472-4001-b3a1-42a488bcb20f", - "metadata": {}, - "outputs": [], - "source": [ - "select_crit(doc_t,options=True)" - ] - }, - { - "cell_type": "markdown", - "id": "05063ede-422f-4536-8408-ceb5441adbe8", - "metadata": {}, - "source": [ - "> Note `Papua` and `Eve` have such low impact on the model that they do not always appear... so there will always be limitations to matching." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2c7c1ca9-4962-4fbe-b18b-1e20a223aff9", - "metadata": {}, - "outputs": [], - "source": [ - "select_crit(doc_t,options=\"LIME\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c70387a5-c431-43a5-a3b8-7533268a94e3", - "metadata": {}, - "outputs": [], - "source": [ - "displacy.render(doc_t, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "4b92d276-7d67-4c1c-940b-d3b2dcc756b9", - "metadata": {}, - "outputs": [], - "source": [ - "#This run clearly indicates that this pipeline from spaCy does not know what to do with hyphens(\"-\") and that we need to be aware of that.\n", - "choices = select_crit(doct)\n", - "choices" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "ea6b29d0-d0fa-4eb3-af9c-970759124145", - "metadata": {}, - "outputs": [], - "source": [ - "user_choice = choices[2]\n", - "matcher2 = Matcher(nlp.vocab)\n", - "pattern = [{\"TEXT\": user_choice}]\n", - "matcher2.add(\"user choice\", [pattern])" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d32754b8-f1fa-4781-a6b0-829ad7ec2e50", - "metadata": {}, - "outputs": [], - "source": [ - "#consider using https://github.com/writerai/replaCy instead\n", - "match_id, start, end = match_this(matcher2,doc2)[0]" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "a0362734-020b-49ad-b566-fdc7196e705c", - "metadata": {}, - "outputs": [], - "source": [ - "docx = doc2.text.replace(user_choice,\"man\")\n", - "docx" - ] - }, - { - "cell_type": "markdown", - "id": "bf0512b6-336e-4842-9bde-34e03a1ca7c6", - "metadata": {}, - "source": [ - "### Testing predictions and visualization\n", - "Here I will attempt to import the model from huggingface, generate predictions for each of the sentences, and then visualize those predictions into a dot plot. If I can get this to work then I will move on to testing a full pipeline for letting the user pick which part of the sentence they wish to generate counterfactuals for." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "e0bd4134-3b22-4ae8-870c-3a66c1cf8b23", - "metadata": {}, - "outputs": [], - "source": [ - "#Testing to see how to get predictions from the model. Ultimately, this did not work.\n", - "token = tokenizer(upt4, return_tensors=\"pt\")\n", - "labels = torch.tensor([1]).unsqueeze(0) # Batch size 1\n", - "outputs = model(**token, labels=labels)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "74c639bb-e74a-4a46-8047-3552265ae6a4", - "metadata": {}, - "outputs": [], - "source": [ - "#Discovering that there's a pipeline specifically to provide scores. \n", - "#I used it to get a list of lists of dictionaries that I can then manipulate to calculate the proper prediction score.\n", - "pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8e1ff15d-0fb9-475b-bd24-4548c0782343", - "metadata": {}, - "outputs": [], - "source": [ - "preds = pipe(upt4)\n", - "print(preds[0][0])" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d8abb9ca-36cf-441a-9236-1f7e44331b53", - "metadata": {}, - "outputs": [], - "source": [ - "score_1 = preds[0][0]['score']\n", - "score_2 = (score_1 - .5) * 2\n", - "print(score_1, score_2)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8726a284-99bd-47f1-9756-1c3ae603db10", - "metadata": {}, - "outputs": [], - "source": [ - "def eval_pred(text):\n", - " '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.'''\n", - " preds = pipe(text)\n", - " neg_score = preds[0][0]['score']\n", - " pos_score = preds[0][1]['score']\n", - " if pos_score >= neg_score:\n", - " return pos_score\n", - " if neg_score >= pos_score:\n", - " return -1 * neg_score" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f38f5061-f30a-4c81-9465-37951c3ad9f4", - "metadata": {}, - "outputs": [], - "source": [ - "def eval_pred_test(text, return_all = False):\n", - " '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.'''\n", - " preds = pipe(text)\n", - " neg_score = -1 * preds[0][0]['score']\n", - " sent_neg = preds[0][0]['label']\n", - " pos_score = preds[0][1]['score']\n", - " sent_pos = preds[0][1]['label']\n", - " prediction = 0\n", - " sentiment = ''\n", - " if pos_score > abs(neg_score):\n", - " prediction = pos_score\n", - " sentiment = sent_pos\n", - " elif abs(neg_score) > pos_score:\n", - " prediction = neg_score\n", - " sentiment = sent_neg\n", - " \n", - " if return_all:\n", - " return prediction, sentiment\n", - " else:\n", - " return prediction" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "abd5dd8c-8cff-4865-abf1-f5a744f2203b", - "metadata": {}, - "outputs": [], - "source": [ - "score = eval_pred(upt4)\n", - "og_data = {'Country': ['Iraq'], 'Continent': ['Asia'], 'text':[upt4], 'pred':[score]}\n", - "og_df = pd.DataFrame(og_data)\n", - "og_df" - ] - }, - { - "cell_type": "markdown", - "id": "8b349a87-fe83-4045-a63a-d054489bb461", - "metadata": {}, - "source": [ - "## Load the dummy countries I created to test generating counterfactuals\n", - "I decided to test the pipeline with a known problem space. Taking the text from Aurélien Géron's observations in twitter, I built a built a small scale test using the learnings I had to prove that we can identify a particular part of speech, use it to generate counterfactuals, and then build a visualization off it." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "46ab3332-964c-449f-8cef-a9ff7df397a4", - "metadata": {}, - "outputs": [], - "source": [ - "#load my test data from https://github.com/dbouquin/IS_608/blob/master/NanosatDB_munging/Countries-Continents.csv\n", - "df = pd.read_csv(\"Assets/Countries/countries.csv\")\n", - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "51c75894-80af-4625-8ce8-660e500b496b", - "metadata": {}, - "outputs": [], - "source": [ - "#Note: we will need to build the function that lets the user choose from the options available. For now I have hard coded it as \"selection\", from \"user_options\".\n", - "user_options = select_crit(doc4)\n", - "print(user_options)\n", - "selection = user_options[1]\n", - "selection" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3d6419f1-bf7d-44bc-afb8-ac26ef9002df", - "metadata": {}, - "outputs": [], - "source": [ - "#Create a function that generates the counterfactuals within a data frame.\n", - "def gen_cf_country(df,document,selection):\n", - " df['text'] = df.Country.apply(lambda x: document.text.replace(selection,x))\n", - " df['prediction'] = df.text.apply(eval_pred_test)\n", - " #added this because I think it will make the end results better if we ensure the seed is in the data we generate counterfactuals from.\n", - " df['seed'] = df.Country.apply(lambda x: 'seed' if x == selection else 'alternative')\n", - " return df\n", - "\n", - "df = gen_cf_country(df,doc4,selection)\n", - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "aec241a6-48c3-48c6-9e7f-d22612eaedff", - "metadata": {}, - "outputs": [], - "source": [ - "#Display Counterfactuals and Original in a layered chart. I couldn't get this to provide a legend.\n", - "og = alt.Chart(og_df).encode(\n", - " x='Continent:N',\n", - " y='pred:Q'\n", - ").mark_square(color='green', size = 200, opacity=.5)\n", - "\n", - "cf = alt.Chart(df).encode(\n", - " x='Continent:N', # specify nominal data\n", - " y='prediction:Q', # specify quantitative data\n", - ").mark_circle(color='blue', size=50, opacity =.25)\n", - "\n", - "alt_plot = alt.LayerChart(layer=[cf,og], width = 300)\n", - "alt_plot" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "ecb9dd41-2fab-49bd-bae5-30300ce39e41", - "metadata": {}, - "outputs": [], - "source": [ - "single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - "full = alt.Chart(df).encode(\n", - " alt.X('Continent:N'), # specify nominal data\n", - " alt.Y('prediction:Q'), # specify quantitative data\n", - " color=alt.Color('seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size=alt.Size('seed:N', alt.scale(domain=[50,100])),\n", - " tooltip=('Country','prediction')\n", - ").mark_circle(opacity=.5).properties(width=300).add_selection(single_nearest)\n", - "\n", - "full" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "56bc30d7-03a5-43ff-9dfe-878197628305", - "metadata": {}, - "outputs": [], - "source": [ - "df2 = df.nlargest(5, 'prediction')\n", - "df3 = df.nsmallest(5, 'prediction')\n", - "frames = [df2,df3]\n", - "results = pd.concat(frames)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1610bb48-c9b9-4bee-bcb5-999886acb9e3", - "metadata": {}, - "outputs": [], - "source": [ - "bar = alt.Chart(results).encode( \n", - " alt.X('prediction:Q'), \n", - " alt.Y('Country:N', sort=\"-x\"),\n", - " color=alt.Color('seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='seed:N',\n", - " tooltip=('Country','prediction')\n", - ").mark_circle().properties(width=300).add_selection(single_nearest)\n", - "\n", - "bar" - ] - }, - { - "cell_type": "markdown", - "id": "84c40b74-95be-4c19-bd57-74e6004b950c", - "metadata": {}, - "source": [ - "#### QA" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "7d15c7d8-9fdb-4c5b-84fa-599839cbceac", - "metadata": {}, - "outputs": [], - "source": [ - "qa_txt = \"They serve halal food in Iraq and Egypt.\"\n", - "qa_doc = nlp(qa_txt)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d6956ddf-9287-419a-bb08-a3618f77700a", - "metadata": {}, - "outputs": [], - "source": [ - "displacy.render(qa_doc, style=\"dep\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "88768d68-fe44-49ab-ac12-d41e6716b3b3", - "metadata": {}, - "outputs": [], - "source": [ - "select_crit(qa_doc)" - ] - }, - { - "cell_type": "markdown", - "id": "7bbc6c2e-df5d-4076-8532-8648fd818be4", - "metadata": {}, - "source": [ - "# NLC-Gen\n", - "### A Natural Language Counterfactual Generator for Exploring Bias in Sentiment Analysis Algorithms\n", - "\n", - "##### Overview\n", - "This project is an extension of [Interactive Model Cards](https://github.com/amcrisan/interactive-model-cards). It focuses on providing a person more ways to explore the bias of a model through the generation of alternatives (technically [counterfactuals](https://plato.stanford.edu/entries/counterfactuals/#WhatCoun)). We believe the use of alternatives people can better understand the limitations of a model and develop productive skepticism around its usage and trustworthiness.\n", - "\n", - "##### Set up\n", - "\n", - "Download the files from Github then perform the commands below in \n", - "```sh\n", - "cd NLC-Gen\n", - "pipenv install\n", - "pipenv shell\n", - "python -m spacy download en_core_web_lg\n", - "streamlit run NLC-app.py\n", - "```\n", - "\n", - "##### Known Limitations\n", - "* Words not in the spaCy vocab for `en_core_web_lg` won't have vectors and so won't have the ability to create similarity scores.\n", - "* WordNet provides many limitations due to its age and lack of funding for ongoing maintenance. It provides access to a large variety of the English language but certain words simply do not exist.\n", - "* There are currently only 2 lists (Countries and Professions). We would like to find community curated lists for: Race, Sexual Orientation and Gender Identity (SOGI), Religion, age, and protected status.\n", - "\n", - "\n", - "##### Key Dependencies and Packages\n", - "\n", - "1. [Hugging Face Transformers](https://huggingface.co/) - the model we've designed this iteration for is hosted on hugging face. It is: [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english).\n", - "2. [Streamlit](https://streamlit.io) - This is the library we're using to build the prototype app because it is easy to stand up and quick to fix.\n", - "3. [spaCy](https://spacy.io) - This is the main NLP Library we're using and it runs most of the text manipulation we're doing as part of the project.\n", - "4. [NLTK + WordNet](https://www.nltk.org/howto/wordnet.html) - This is the initial lexical database we're using because it is accessible directly through Python and it is free. We will be considering a move to [ConceptNet](https://conceptnet.io/) for future iterations based on better lateral movement across edges.\n", - "5. [Lime](https://github.com/marcotcr/lime) - We chose Lime over Shap because Lime has more of the functionality we need. Shap appears to provide greater performance but is not as easily suited to our original designs.\n", - "6. [Altair](https://altair-viz.github.io/user_guide/encoding.html) - We're using Altair because it's well integrated into Streamlit.\n", - "\n", - "\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "fa224bed-3630-4485-8dbc-670aaf5e6b0a", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/VizNLC-gen-pipeline.ipynb b/VizNLC-gen-pipeline.ipynb deleted file mode 100644 index 03cd37a1e0a9bef6ffb747a552a251c8647b4311..0000000000000000000000000000000000000000 --- a/VizNLC-gen-pipeline.ipynb +++ /dev/null @@ -1,1175 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "8ea54fcd-ef4a-42cb-ae26-cbdc6f6ffc64", - "metadata": { - "tags": [] - }, - "source": [ - "# Duct Tape Pipeline\n", - "To explore how users may interact with interactive visualizations of counterfactuals for evolving the Interactive Model Card, we will need to first find a way to generate counterfactuals based on a given input. We want the user to be able to provide their input and direct the system to generate counterfactuals based on a part of speech that is significant to the model. The system should then provide a data frame of counterfactuals to be used in an interactive visualization. Below is an example wireframe of the experience based on previous research.\n", - "\n", - "![wireframe](Assets/VizNLC-Wireframe-example.png)\n", - "\n", - "## Goals of this notebook\n", - "* Clean up the flow in the \"duct tape pipeline\".\n", - "* See if I can extract the LIME list for visualization" - ] - }, - { - "cell_type": "markdown", - "id": "736e6375-dd6d-4188-b8b1-92bded2bcd02", - "metadata": {}, - "source": [ - "## Loading the libraries and models" - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "7f581785-e642-4f74-9f67-06a63820eaf2", - "metadata": {}, - "outputs": [], - "source": [ - "#Import the libraries we know we'll need for the Generator.\n", - "import pandas as pd, spacy, nltk, numpy as np\n", - "from spacy import displacy\n", - "from spacy.matcher import Matcher\n", - "#!python -m spacy download en_core_web_sm\n", - "nlp = spacy.load(\"en_core_web_md\")\n", - "lemmatizer = nlp.get_pipe(\"lemmatizer\")\n", - "\n", - "#Import the libraries to support the model, predictions, and LIME.\n", - "from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline\n", - "import lime\n", - "import torch\n", - "import torch.nn.functional as F\n", - "from lime.lime_text import LimeTextExplainer\n", - "\n", - "#Import the libraries for generating interactive visualizations.\n", - "import altair as alt" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "cbe2b292-e33e-4915-8e61-bba5327fb643", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining all necessary variables and instances.\n", - "tokenizer = AutoTokenizer.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "model = AutoModelForSequenceClassification.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "class_names = ['negative', 'positive']\n", - "explainer = LimeTextExplainer(class_names=class_names)" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "197c3e26-0fdf-49c6-9135-57f1fd55d3e3", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining a Predictor required for LIME to function.\n", - "def predictor(texts):\n", - " outputs = model(**tokenizer(texts, return_tensors=\"pt\", padding=True))\n", - " probas = F.softmax(outputs.logits, dim=1).detach().numpy()\n", - " return probas" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "013af6ac-f7d1-41d2-a601-b0f9a4870815", - "metadata": {}, - "outputs": [], - "source": [ - "#Instantiate a matcher and use it to test some patterns.\n", - "matcher = Matcher(nlp.vocab)\n", - "pattern = [{\"ENT_TYPE\": {\"IN\":[\"NORP\",\"GPE\"]}}]\n", - "matcher.add(\"proper_noun\", [pattern])\n", - "pattern_test = [{\"DEP\": \"amod\"},{\"DEP\":\"attr\"},{\"TEXT\":\"-\"},{\"DEP\":\"attr\",\"OP\":\"+\"}]\n", - "matcher.add(\"amod_attr\",[pattern_test])\n", - "pattern_an = [{\"DEP\": \"amod\"},{\"POS\":{\"IN\":[\"NOUN\",\"PROPN\"]}},{\"DEP\":{\"NOT_IN\":[\"attr\"]}}]\n", - "matcher.add(\"amod_noun\", [pattern_an])" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "f6ac821d-7b56-446e-b9ca-42a5f5afd198", - "metadata": {}, - "outputs": [], - "source": [ - "def match_this(matcher, doc):\n", - " matches = matcher(doc)\n", - " for match_id, start, end in matches:\n", - " matched_span = doc[start:end]\n", - " print(f\"Mached {matched_span.text} by the rule {nlp.vocab.strings[match_id]}.\")\n", - " return matches" - ] - }, - { - "cell_type": "markdown", - "id": "c23d48c4-f5ab-4428-9244-0786e9903a8e", - "metadata": { - "tags": [] - }, - "source": [ - "## Building the Duct-Tape Pipeline cell-by-cell" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "a373fc00-401a-4def-9f09-de73d485ac13", - "metadata": {}, - "outputs": [], - "source": [ - "gender = [\"man\", \"woman\",\"girl\",\"boy\",\"male\",\"female\",\"husband\",\"wife\",\"girlfriend\",\"boyfriend\",\"brother\",\"sister\",\"aunt\",\"uncle\",\"grandma\",\"grandpa\",\"granny\",\"granps\",\"grandmother\",\"grandfather\",\"mama\",\"dada\",\"Ma\",\"Pa\",\"lady\",\"gentleman\"]" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "8b02a5d4-8a6b-4e5e-8f15-4f9182fe341f", - "metadata": {}, - "outputs": [], - "source": [ - "def select_crit(document, options=False, limelist=False):\n", - " '''This function is meant to select the critical part of a sentence. Critical, in this context means\n", - " the part of the sentence that is either: A) a PROPN from the correct entity group; B) an ADJ associated with a NOUN;\n", - " C) a NOUN that represents gender. It also checks this against what the model thinks is important if the user defines \"options\" as \"LIME\" or True.'''\n", - " chunks = list(document.noun_chunks)\n", - " pos_options = []\n", - " lime_options = []\n", - " \n", - " #Identify what the model cares about.\n", - " if options:\n", - " exp = explainer.explain_instance(document.text, predictor, num_features=15, num_samples=2000)\n", - " lime_results = exp.as_list()\n", - " #prints the results from lime for QA.\n", - " if limelist == True:\n", - " print(lime_results)\n", - " for feature in lime_results:\n", - " lime_options.append(feature[0])\n", - " lime_results = pd.DataFrame(lime_results, columns=[\"Word\",\"Weight\"])\n", - " \n", - " #Identify what we care about \"parts of speech\"\n", - " for chunk in chunks:\n", - " #The use of chunk[-1] is due to testing that it appears to always match the root\n", - " root = chunk[-1]\n", - " #This currently matches to a list I've created. I don't know the best way to deal with this so I'm leaving it as is for the moment.\n", - " if root.text.lower() in gender:\n", - " cur_values = [token.text for token in chunk if token.pos_ in [\"NOUN\",\"ADJ\"]]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " #print(f\"From {chunk.text}, {cur_values} added to pos_options due to gender.\") #for QA\n", - " #This is currently set to pick up entities in a particular set of groups (which I recently expanded). Should it just pick up all named entities?\n", - " elif root.ent_type_ in [\"GPE\",\"NORP\",\"DATE\",\"EVENT\"]:\n", - " cur_values = []\n", - " if (len(chunk) > 1) and (chunk[-2].dep_ == \"compound\"):\n", - " #creates the compound element of the noun\n", - " compound = [x.text for x in chunk if x.dep_ == \"compound\"]\n", - " print(f\"This is the contents of {compound} and it is {all(elem in lime_options for elem in compound)} that all elements are present in {lime_options}.\") #for QA\n", - " #checks to see all elements in the compound are important to the model or use the compound if not checking importance.\n", - " if (all(elem in lime_options for elem in compound) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " #creates a span for the entirety of the compound noun and adds it to the list.\n", - " span = -1 * (1 + len(compound))\n", - " pos_options.append(chunk[span:].text)\n", - " cur_values + [token.text for token in chunk if token.pos_ == \"ADJ\"]\n", - " else: \n", - " cur_values = [token.text for token in chunk if (token.ent_type_ in [\"GPE\",\"NORP\",\"DATE\",\"EVENT\"]) or (token.pos_ == \"ADJ\")]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} and {pos_options} added to pos_options due to entity recognition.\") #for QA\n", - " elif len(chunk) > 1:\n", - " cur_values = [token.text for token in chunk if token.pos_ in [\"NOUN\",\"ADJ\"]]\n", - " if (all(elem in lime_options for elem in cur_values) and ((options == \"LIME\") or (options == True))) or ((options != \"LIME\") and (options != True)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} added to pos_options due to wildcard.\") #for QA\n", - " else:\n", - " print(f\"No options added for \\'{chunk.text}\\' \")\n", - " \n", - " \n", - " #Return the correct set of options based on user input, defaults to POS for simplicity.\n", - " if options == \"LIME\":\n", - " return pos_options, lime_results\n", - " else:\n", - " return pos_options" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "d43e202e-64b9-4cea-b117-82492c9ee5f4", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "From This film, ['film'] added to pos_options due to wildcard.\n", - "From Iraq, ['Iraq'] and ['film', 'Iraq'] added to pos_options due to entity recognition.\n" - ] - } - ], - "source": [ - "#Test to make sure all three options work\n", - "text4 = \"This film was filmed in Iraq.\"\n", - "doc4 = nlp(text4)\n", - "lime4, limedf = select_crit(doc4,options=\"LIME\")" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "a0e55a24-65df-429e-a0cd-8daf91a5d242", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.LayerChart(...)" - ] - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - "viz = alt.Chart(limedf).encode(\n", - " alt.X('Weight:Q', scale=alt.Scale(domain=(-1, 1))),\n", - " alt.Y('Word:N', sort='x', axis=None),\n", - " color=alt.Color(\"Weight\", scale=alt.Scale(scheme='blueorange', domain=[0], type=\"threshold\", range='diverging'), legend=None),\n", - " tooltip = (\"Word\",\"Weight\")\n", - ").mark_bar().properties(title =\"Importance of individual words\")\n", - "\n", - "text = viz.mark_text(\n", - " fill=\"black\",\n", - " align='right',\n", - " baseline='middle'\n", - ").encode(\n", - " text='Word:N'\n", - ")\n", - "limeplot = alt.LayerChart(layer=[viz,text], width = 300).configure_axis(grid=False).configure_view(strokeWidth=0)\n", - "limeplot" - ] - }, - { - "cell_type": "markdown", - "id": "bf0512b6-336e-4842-9bde-34e03a1ca7c6", - "metadata": {}, - "source": [ - "### Testing predictions and visualization\n", - "Here I will attempt to import the model from huggingface, generate predictions for each of the sentences, and then visualize those predictions into a dot plot. If I can get this to work then I will move on to testing a full pipeline for letting the user pick which part of the sentence they wish to generate counterfactuals for." - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "74c639bb-e74a-4a46-8047-3552265ae6a4", - "metadata": {}, - "outputs": [], - "source": [ - "#Discovering that there's a pipeline specifically to provide scores. \n", - "#I used it to get a list of lists of dictionaries that I can then manipulate to calculate the proper prediction score.\n", - "pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "8726a284-99bd-47f1-9756-1c3ae603db10", - "metadata": {}, - "outputs": [], - "source": [ - "def eval_pred(text):\n", - " '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.'''\n", - " preds = pipe(text)\n", - " neg_score = preds[0][0]['score']\n", - " pos_score = preds[0][1]['score']\n", - " if pos_score >= neg_score:\n", - " return pos_score\n", - " if neg_score >= pos_score:\n", - " return -1 * neg_score" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "f38f5061-f30a-4c81-9465-37951c3ad9f4", - "metadata": {}, - "outputs": [], - "source": [ - "def eval_pred_test(text, return_all = False):\n", - " '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.'''\n", - " preds = pipe(text)\n", - " neg_score = -1 * preds[0][0]['score']\n", - " sent_neg = preds[0][0]['label']\n", - " pos_score = preds[0][1]['score']\n", - " sent_pos = preds[0][1]['label']\n", - " prediction = 0\n", - " sentiment = ''\n", - " if pos_score > abs(neg_score):\n", - " prediction = pos_score\n", - " sentiment = sent_pos\n", - " elif abs(neg_score) > pos_score:\n", - " prediction = neg_score\n", - " sentiment = sent_neg\n", - " \n", - " if return_all:\n", - " return prediction, sentiment\n", - " else:\n", - " return prediction" - ] - }, - { - "cell_type": "markdown", - "id": "8b349a87-fe83-4045-a63a-d054489bb461", - "metadata": {}, - "source": [ - "## Load the dummy countries I created to test generating counterfactuals\n", - "I decided to test the pipeline with a known problem space. Taking the text from Aurélien Géron's observations in twitter, I built a built a small scale test using the learnings I had to prove that we can identify a particular part of speech, use it to generate counterfactuals, and then build a visualization off it." - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "46ab3332-964c-449f-8cef-a9ff7df397a4", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
CountryContinent
0AlgeriaAfrica
1AngolaAfrica
2BeninAfrica
3BotswanaAfrica
4BurkinaAfrica
\n", - "
" - ], - "text/plain": [ - " Country Continent\n", - "0 Algeria Africa\n", - "1 Angola Africa\n", - "2 Benin Africa\n", - "3 Botswana Africa\n", - "4 Burkina Africa" - ] - }, - "execution_count": 13, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "#load my test data from https://github.com/dbouquin/IS_608/blob/master/NanosatDB_munging/Countries-Continents.csv\n", - "df = pd.read_csv(\"Assets/Countries/countries.csv\")\n", - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "id": "51c75894-80af-4625-8ce8-660e500b496b", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "From This film, ['film'] added to pos_options due to wildcard.\n", - "From Iraq, ['Iraq'] and ['film', 'Iraq'] added to pos_options due to entity recognition.\n", - "['film', 'Iraq']\n" - ] - }, - { - "data": { - "text/plain": [ - "'Iraq'" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "#Note: we will need to build the function that lets the user choose from the options available. For now I have hard coded it as \"selection\", from \"user_options\".\n", - "user_options = select_crit(doc4)\n", - "print(user_options)\n", - "selection = user_options[1]\n", - "selection" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "3d6419f1-bf7d-44bc-afb8-ac26ef9002df", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
CountryContinenttextpredictionseed
0AlgeriaAfricaThis film was filmed in Algeria.0.806454alternative
1AngolaAfricaThis film was filmed in Angola.-0.775854alternative
2BeninAfricaThis film was filmed in Benin.0.962272alternative
3BotswanaAfricaThis film was filmed in Botswana.0.785837alternative
4BurkinaAfricaThis film was filmed in Burkina.0.872980alternative
\n", - "
" - ], - "text/plain": [ - " Country Continent text prediction \\\n", - "0 Algeria Africa This film was filmed in Algeria. 0.806454 \n", - "1 Angola Africa This film was filmed in Angola. -0.775854 \n", - "2 Benin Africa This film was filmed in Benin. 0.962272 \n", - "3 Botswana Africa This film was filmed in Botswana. 0.785837 \n", - "4 Burkina Africa This film was filmed in Burkina. 0.872980 \n", - "\n", - " seed \n", - "0 alternative \n", - "1 alternative \n", - "2 alternative \n", - "3 alternative \n", - "4 alternative " - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "#Create a function that generates the counterfactuals within a data frame.\n", - "def gen_cf_country(df,document,selection):\n", - " df['text'] = df.Country.apply(lambda x: document.text.replace(selection,x))\n", - " df['prediction'] = df.text.apply(eval_pred_test)\n", - " #added this because I think it will make the end results better if we ensure the seed is in the data we generate counterfactuals from.\n", - " df['seed'] = df.Country.apply(lambda x: 'seed' if x == selection else 'alternative')\n", - " return df\n", - "\n", - "df = gen_cf_country(df,doc4,selection)\n", - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "ecb9dd41-2fab-49bd-bae5-30300ce39e41", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 16, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - "full = alt.Chart(df).encode(\n", - " alt.X('Continent:N'), # specify nominal data\n", - " alt.Y('prediction:Q'), # specify quantitative data\n", - " color=alt.Color('seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='seed:N',\n", - " tooltip=('Country','prediction')\n", - ").mark_circle(opacity=.5).properties(width=300).add_selection(single_nearest)\n", - "\n", - "full" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "56bc30d7-03a5-43ff-9dfe-878197628305", - "metadata": {}, - "outputs": [], - "source": [ - "df2 = df.nlargest(5, 'prediction')\n", - "df3 = df.nsmallest(5, 'prediction')\n", - "frames = [df2,df3]\n", - "results = pd.concat(frames)" - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "id": "1610bb48-c9b9-4bee-bcb5-999886acb9e3", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 18, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "bar = alt.Chart(results).encode( \n", - " alt.X('prediction:Q'), \n", - " alt.Y('Country:N', sort=\"-x\"),\n", - " color=alt.Color('seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='seed:N',\n", - " tooltip=('Country','prediction')\n", - ").mark_circle().properties(width=300).add_selection(single_nearest)\n", - "\n", - "bar" - ] - }, - { - "cell_type": "code", - "execution_count": 34, - "id": "96cd0798-5ac5-4ede-8373-e8ed71ab07b3", - "metadata": {}, - "outputs": [], - "source": [ - "def critical_words(document, options=False):\n", - " '''This function is meant to select the critical part of a sentence. Critical, in this context means\n", - " the part of the sentence that is either: A) a PROPN from the correct entity group; B) an ADJ associated with a NOUN;\n", - " C) a NOUN that represents gender. It also checks this against what the model thinks is important if the user defines \"options\" as \"LIME\" or True.'''\n", - " if type(document) is not spacy.tokens.doc.Doc:\n", - " document = nlp(document)\n", - " chunks = list(document.noun_chunks)\n", - " pos_options = []\n", - " lime_options = []\n", - " \n", - " #Identify what the model cares about.\n", - " if options:\n", - " exp = explainer.explain_instance(document.text, predictor, num_features=15, num_samples=2000)\n", - " lime_results = exp.as_list()\n", - " for feature in lime_results:\n", - " lime_options.append(feature[0])\n", - " lime_results = pd.DataFrame(lime_results, columns=[\"Word\",\"Weight\"])\n", - " \n", - " #Identify what we care about \"parts of speech\". The first section focuses on NOUNs and related ADJ.\n", - " for chunk in chunks:\n", - " #The use of chunk[-1] is due to testing that it appears to always match the root\n", - " root = chunk[-1]\n", - " #This currently matches to a list I've created. I don't know the best way to deal with this so I'm leaving it as is for the moment.\n", - " if root.ent_type_:\n", - " cur_values = []\n", - " if (len(chunk) > 1) and (chunk[-2].dep_ == \"compound\"):\n", - " #creates the compound element of the noun\n", - " compound = [x.text for x in chunk if x.dep_ == \"compound\"]\n", - " print(f\"This is the contents of {compound} and it is {all(elem in lime_options for elem in compound)} that all elements are present in {lime_options}.\") #for QA\n", - " #checks to see all elements in the compound are important to the model or use the compound if not checking importance.\n", - " if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)):\n", - " #creates a span for the entirety of the compound noun and adds it to the list.\n", - " span = -1 * (1 + len(compound))\n", - " pos_options.append(chunk[span:].text)\n", - " cur_values + [token.text for token in chunk if token.pos_ == \"ADJ\"]\n", - " else:\n", - " print(f\"The elmenents in {compound} could not be added to the final list because they are not all relevant to the model.\")\n", - " else: \n", - " cur_values = [token.text for token in chunk if (token.ent_type_) or (token.pos_ == \"ADJ\")]\n", - " if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} added to pos_options due to entity recognition.\") #for QA\n", - " elif len(chunk) >= 1:\n", - " cur_values = [token.text for token in chunk if token.pos_ in [\"NOUN\",\"ADJ\"]]\n", - " if (all(elem in lime_options for elem in cur_values) and (options is True)) or ((options is False)):\n", - " pos_options.extend(cur_values)\n", - " print(f\"From {chunk.text}, {cur_values} added to pos_options due to wildcard.\") #for QA\n", - " else:\n", - " print(f\"No options added for \\'{chunk.text}\\' \")\n", - " # Here I am going to try to pick up pronouns, which are people, and Adjectival Compliments.\n", - " for token in document:\n", - " if (token.text not in pos_options) and ((token.text in lime_options) or (options == False)):\n", - " #print(f\"executed {token.text} with {token.pos_} and {token.dep_}\") #QA\n", - " if (token.pos_ == \"ADJ\") and (token.dep_ in [\"acomp\",\"conj\"]):\n", - " pos_options.append(token.text) \n", - " elif (token.pos_ == \"PRON\") and (token.morph.get(\"PronType\")[0] == \"Prs\"):\n", - " pos_options.append(token.text)\n", - " \n", - " #Return the correct set of options based on user input, defaults to POS for simplicity.\n", - " if options:\n", - " return pos_options, lime_results\n", - " else:\n", - " return pos_options" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "id": "b04e7783-e51b-49b0-8165-afe1d5a1c576", - "metadata": {}, - "outputs": [], - "source": [ - "#Testing new code\n", - "a = \"People are fat and lazy.\"\n", - "b = \"I think she is beautiful.\"\n", - "doca = nlp(a)\n", - "docb = nlp(b)" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "id": "0a6bc521-9282-41ad-82c9-29e447d77635", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "No options added for 'People' \n" - ] - }, - { - "data": { - "text/plain": [ - "['fat', 'lazy']" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "optsa, limea = critical_words(doca, True)\n", - "optsa" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "042e94d3-65a5-4a20-b69a-96ec3296d7d4", - "metadata": {}, - "outputs": [], - "source": [ - "def lime_viz(df):\n", - " single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - " viz = alt.Chart(df).encode(\n", - " alt.X('Weight:Q', scale=alt.Scale(domain=(-1, 1))),\n", - " alt.Y('Word:N', sort='x', axis=None),\n", - " color=alt.Color(\"Weight\", scale=alt.Scale(scheme='blueorange', domain=[0], type=\"threshold\", range='diverging'), legend=None),\n", - " tooltip = (\"Word\",\"Weight\")\n", - " ).mark_bar().properties(title =\"Importance of individual words\")\n", - "\n", - " text = viz.mark_text(\n", - " fill=\"black\",\n", - " align='right',\n", - " baseline='middle'\n", - " ).encode(\n", - " text='Word:N'\n", - " )\n", - " limeplot = alt.LayerChart(layer=[viz,text], width = 300).configure_axis(grid=False).configure_view(strokeWidth=0)\n", - " return limeplot" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "id": "924eeea8-1d5d-4fe7-8308-164521919269", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "No options added for 'I' \n", - "From a white woman, ['white', 'woman'] added to pos_options due to wildcard.\n", - "From the street, ['street'] added to pos_options due to wildcard.\n", - "From an asian man, ['asian', 'man'] added to pos_options due to wildcard.\n" - ] - }, - { - "data": { - "text/plain": [ - "['white', 'woman', 'street', 'asian', 'man', 'I']" - ] - }, - "execution_count": 23, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "test8 = \"I saw a white woman walking down the street with an asian man.\"\n", - "opts8, lime8 = critical_words(test8,True)\n", - "opts8" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "id": "734366df-ad99-4d80-87e1-51793e150681", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.LayerChart(...)" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "lime_viz(lime8)" - ] - }, - { - "cell_type": "code", - "execution_count": 25, - "id": "816e1c4b-7f02-41b1-b430-2f3750ae6c4a", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "No options added for 'I' \n", - "From a white woman, ['white', 'woman'] added to pos_options due to wildcard.\n", - "From the street, ['street'] added to pos_options due to wildcard.\n", - "From an asian man, ['asian', 'man'] added to pos_options due to wildcard.\n" - ] - } - ], - "source": [ - "probability, sentiment = eval_pred_test(test8, return_all=True)\n", - "options, lime = critical_words(test8,options=True)" - ] - }, - { - "cell_type": "code", - "execution_count": 38, - "id": "a437a4eb-73b3-4b3c-a719-8dde2ad6dd3c", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "From I, [] added to pos_options due to wildcard.\n", - "From men, ['men'] added to pos_options due to wildcard.\n", - "From women, ['women'] added to pos_options due to wildcard.\n", - "From the same respect, ['same', 'respect'] added to pos_options due to wildcard.\n" - ] - } - ], - "source": [ - "bug = \"I find men and women deserve the same respect.\"\n", - "options = critical_words(bug)" - ] - }, - { - "cell_type": "code", - "execution_count": 29, - "id": "8676defd-0908-4218-a1d6-218de3fb7119", - "metadata": {}, - "outputs": [], - "source": [ - "bug_doc = nlp(bug)" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "id": "21b9e39b-2fcd-4c6f-8fe6-0d571cd79cca", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "I\n", - "PRON\n", - "a man\n", - "NOUN\n", - "woman\n", - "NOUN\n", - "the same respect\n", - "NOUN\n" - ] - } - ], - "source": [ - "for chunk in bug_doc.noun_chunks:\n", - " print(chunk.text)\n", - " print(chunk[-1].pos_)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "38279d2d-e763-4329-a65e-1a67d6f5ebb8", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/WNgen.py b/WNgen.py index 394ac524758d43eb56b3a92576fa57f9d61449ac..01c0c742cab6a031d114198c8a3597361410d825 100644 --- a/WNgen.py +++ b/WNgen.py @@ -2,7 +2,7 @@ import re, nltk, pandas as pd, numpy as np, ssl, streamlit as st from nltk.corpus import wordnet import spacy -nlp = spacy.load("en_core_web_lg") +nlp = spacy.load("Assets/Models/en_core_web_lg") #Import necessary parts for predicting things. from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline @@ -13,14 +13,14 @@ model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-unca pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) #If an error is thrown that the corpus "omw-1.4" isn't discoverable you can use this code. (https://stackoverflow.com/questions/38916452/nltk-download-ssl-certificate-verify-failed) -'''try: +try: _create_unverified_https_context = ssl._create_unverified_context except AttributeError: pass else: ssl._create_default_https_context = _create_unverified_https_context -nltk.download('omw-1.4')''' +nltk.download('omw-1.4') # A simple function to pull synonyms and antonyms using spacy's POS def syn_ant(word,POS=False,human=True): diff --git a/app.py b/app.py index af9054597bedebfd997ba779f19689cc6f5a1be2..766e8c40e91e40ad8a8f85e0b1ae08b43458f0a6 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,7 @@ #Import the libraries we know we'll need for the Generator. import pandas as pd, spacy, nltk, numpy as np from spacy.matcher import Matcher -nlp = spacy.load("en_core_web_lg") +nlp = spacy.load("Assets/Models/en_core_web_lg") #Import the libraries to support the model and predictions. from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline diff --git a/cf-gen-pipeline.ipynb b/cf-gen-pipeline.ipynb deleted file mode 100644 index ee2afb77868b2c1cf33c70d3b822f6f3d3827276..0000000000000000000000000000000000000000 --- a/cf-gen-pipeline.ipynb +++ /dev/null @@ -1,1279 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "7a3ff9c9-8642-43b9-b1f3-302c227d6acd", - "metadata": {}, - "outputs": [], - "source": [ - "#Import the libraries we know we'll need for the Generator.\n", - "import pandas as pd, spacy, nltk, numpy as np, re, ssl\n", - "from spacy import displacy\n", - "from spacy.matcher import Matcher\n", - "from nltk.corpus import wordnet\n", - "#!python -m spacy download en_core_web_md\n", - "nlp = spacy.load(\"en_core_web_md\")\n", - "lemmatizer = nlp.get_pipe(\"lemmatizer\")\n", - "\n", - "#Import the libraries to support the model, predictions, and LIME.\n", - "from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline\n", - "import lime\n", - "import torch\n", - "import torch.nn.functional as F\n", - "from lime.lime_text import LimeTextExplainer\n", - "\n", - "#Import the libraries for generating interactive visualizations.\n", - "import altair as alt" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "730cc6fd-f125-42be-ba42-9a7741f82ef5", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining all necessary variables and instances.\n", - "tokenizer = AutoTokenizer.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "model = AutoModelForSequenceClassification.from_pretrained(\"distilbert-base-uncased-finetuned-sst-2-english\")\n", - "pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)\n", - "class_names = ['negative', 'positive']\n", - "explainer = LimeTextExplainer(class_names=class_names)" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "1a40f224-25ce-4b57-88fb-404cccbc878b", - "metadata": {}, - "outputs": [], - "source": [ - "#Defining a Predictor required for LIME to function.\n", - "def predictor(texts):\n", - " outputs = model(**tokenizer(texts, return_tensors=\"pt\", padding=True))\n", - " probas = F.softmax(outputs.logits, dim=1).detach().numpy()\n", - " return probas" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "201c4792-868b-4e6a-a8d2-f6ffb2f8971a", - "metadata": {}, - "outputs": [], - "source": [ - "# A simple function to pull synonyms and antonyms using spacy's POS\n", - "def syn_ant(word,POS=False,human=True):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms = [] \n", - " antonyms = []\n", - " #WordNet hates spaces so you have to remove them\n", - " if \" \" in word:\n", - " word = word.replace(\" \", \"_\")\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(word, pos=getattr(wordnet, POS)): \n", - " for l in syn.lemmas(): \n", - " current = l.name()\n", - " if human:\n", - " current = re.sub(\"_\",\" \",current)\n", - " synonyms.append(current) \n", - " if l.antonyms():\n", - " for ant in l.antonyms():\n", - " cur_ant = ant.name()\n", - " if human:\n", - " cur_ant = re.sub(\"_\",\" \",cur_ant)\n", - " antonyms.append(cur_ant)\n", - " else: \n", - " for syn in wordnet.synsets(word): \n", - " for l in syn.lemmas(): \n", - " current = l.name()\n", - " if human:\n", - " current = re.sub(\"_\",\" \",current)\n", - " synonyms.append(current) \n", - " if l.antonyms():\n", - " for ant in l.antonyms():\n", - " cur_ant = ant.name()\n", - " if human:\n", - " cur_ant = re.sub(\"_\",\" \",cur_ant)\n", - " antonyms.append(cur_ant)\n", - " synonyms = list(set(synonyms))\n", - " antonyms = list(set(antonyms))\n", - " return synonyms, antonyms" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "89aaea6d-a4b7-4995-85b5-625e6db292da", - "metadata": {}, - "outputs": [], - "source": [ - "# Builds a list dynamically from WordNet using NLTK.\n", - "def wordnet_list(word,POS=False):\n", - " word = word.lower()\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " #print(synonyms, antonyms)\n", - " base = []\n", - " final = [word]\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " else:\n", - " for syn in wordnet.synsets(m_word):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " base = list(set(base))\n", - " for b in base:\n", - " cur_words = []\n", - " cur_words.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in b.lemmas()])\n", - " final.extend(cur_words)\n", - "\n", - " \n", - " \n", - " final = list(set(final)) \n", - " return final" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "01c74ce5-8a31-4a28-bb12-655349fee453", - "metadata": {}, - "outputs": [], - "source": [ - "def eval_pred_test(text, return_all = False):\n", - " '''A basic function for evaluating the prediction from the model and turning it into a visualization friendly number.'''\n", - " preds = pipe(text)\n", - " neg_score = -1 * preds[0][0]['score']\n", - " sent_neg = preds[0][0]['label']\n", - " pos_score = preds[0][1]['score']\n", - " sent_pos = preds[0][1]['label']\n", - " prediction = 0\n", - " sentiment = ''\n", - " if pos_score > abs(neg_score):\n", - " prediction = pos_score\n", - " sentiment = sent_pos\n", - " elif abs(neg_score) > pos_score:\n", - " prediction = neg_score\n", - " sentiment = sent_neg\n", - " \n", - " if return_all:\n", - " return prediction, sentiment\n", - " else:\n", - " return prediction" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "7864d1db-399f-4d23-a036-30da34fe3805", - "metadata": {}, - "outputs": [], - "source": [ - "def cf_from_wordnet_list(seed,text):\n", - " seed_token = nlp(seed)\n", - " seed_POS = seed_token[0].pos_\n", - " #print(seed_POS)\n", - " words = wordnet_list(seed,seed_POS)\n", - " \n", - " df = pd.DataFrame()\n", - " df[\"Words\"] = words\n", - " df[\"Sentences\"] = df.Words.apply(lambda x: re.sub(r'\\b'+seed+r'\\b',x,text))\n", - " df[\"Similarity\"] = df.Words.apply(lambda x: seed_token[0].similarity(nlp(x)[0]))\n", - " df = df[df.Similarity > 0].reset_index()\n", - " df.drop(\"index\", axis=1, inplace=True)\n", - " df[\"Prediction\"] = df.Sentences.apply(eval_pred_test)\n", - " #added this because I think it will make the end results better if we ensure the seed is in the data we generate counterfactuals from.\n", - " df['Seed'] = df.Words.apply(lambda x: 'Seed' if x.lower() == seed else 'Alternative')\n", - " return df\n", - " " - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "527f037b-79a1-4636-88ba-efd06b9cc20d", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'This film was filmed in Iraq.'" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "seed = \"film\"\n", - "text = f\"This {seed} was filmed in Iraq.\"\n", - "text" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "dc6b503c-0e7e-438e-8079-14479de4e246", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - " I\n", - " PRON\n", - "\n", - "\n", - "\n", - " met\n", - " VERB\n", - "\n", - "\n", - "\n", - " a\n", - " DET\n", - "\n", - "\n", - "\n", - " naked\n", - " ADJ\n", - "\n", - "\n", - "\n", - " doctor.\n", - " NOUN\n", - "\n", - "\n", - "\n", - " \n", - " \n", - " nsubj\n", - " \n", - " \n", - "\n", - "\n", - "\n", - " \n", - " \n", - " det\n", - " \n", - " \n", - "\n", - "\n", - "\n", - " \n", - " \n", - " amod\n", - " \n", - " \n", - "\n", - "\n", - "\n", - " \n", - " \n", - " dobj\n", - " \n", - " \n", - "\n", - "" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "test = \"I met a naked doctor.\"\n", - "testdoc = nlp(test)\n", - "displacy.render(testdoc, style=\"dep\")" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "04509f16-9098-4b67-9fea-3a256d1debe9", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'adjectival modifier'" - ] - }, - "execution_count": 10, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "spacy.explain(\"amod\")" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "ebe15fd4-4c1e-4a10-a886-6698620b3b72", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_6702/625873274.py:10: UserWarning: [W008] Evaluating Token.similarity based on empty vectors.\n", - " df[\"Similarity\"] = df.Words.apply(lambda x: seed_token[0].similarity(nlp(x)[0]))\n" - ] - } - ], - "source": [ - "cf_df = cf_from_wordnet_list(seed,text)" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "a8d44862-d39d-45e5-a030-49d91e9e0712", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
WordsSentencesSimilarityPredictionSeed
0dioramaThis diorama was filmed in Iraq.0.1270230.793419Alternative
1longshotThis longshot was filmed in Iraq.0.050408-0.991559Alternative
2musical comedyThis musical comedy was filmed in Iraq.1.0000000.910803Alternative
3characterisationThis characterisation was filmed in Iraq.0.216481-0.987333Alternative
4PolaroidThis Polaroid was filmed in Iraq.0.171456-0.979913Alternative
\n", - "
" - ], - "text/plain": [ - " Words Sentences Similarity \\\n", - "0 diorama This diorama was filmed in Iraq. 0.127023 \n", - "1 longshot This longshot was filmed in Iraq. 0.050408 \n", - "2 musical comedy This musical comedy was filmed in Iraq. 1.000000 \n", - "3 characterisation This characterisation was filmed in Iraq. 0.216481 \n", - "4 Polaroid This Polaroid was filmed in Iraq. 0.171456 \n", - "\n", - " Prediction Seed \n", - "0 0.793419 Alternative \n", - "1 -0.991559 Alternative \n", - "2 0.910803 Alternative \n", - "3 -0.987333 Alternative \n", - "4 -0.979913 Alternative " - ] - }, - "execution_count": 12, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "cf_df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "6d133205-08ad-43c8-8140-ece8d5943a7f", - "metadata": {}, - "outputs": [], - "source": [ - "def max_min(df):\n", - " maximum = df[df.Words != \"girl\"].Similarity.max()\n", - " text3 = df.loc[df['Similarity'] == maximum, 'Words'].iloc[0]\n", - " minimum = df.Similarity.min()\n", - " text2 = df.loc[df['Similarity'] == minimum, 'Words'].iloc[0]\n", - " return text2, text3" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "id": "8311596b-10cf-4915-82f2-5e3e50000436", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - "full = alt.Chart(cf_df).encode(\n", - " alt.X('Similarity:Q'), # specify nominal data\n", - " alt.Y('Prediction:Q'), # specify quantitative data\n", - " color=alt.Color('Seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='Seed:N',\n", - " tooltip=('Words','Prediction','Similarity')\n", - ").mark_circle(opacity=.5).properties(width=300).add_selection(single_nearest)\n", - "\n", - "full" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "1898eb99-22fc-4c6f-b918-1f972c4edb9b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df2 = cf_df.nlargest(5, 'Prediction')\n", - "df3 = cf_df.nsmallest(5, 'Prediction')\n", - "df4 = cf_df[cf_df.Seed == \"Seed\"]\n", - "frames = [df2,df3,df4]\n", - "results = pd.concat(frames)\n", - "\n", - "bar = alt.Chart(results).encode( \n", - " alt.X('Prediction:Q'), \n", - " alt.Y('Words:N', sort=\"-x\"),\n", - " color=alt.Color('Seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='Seed:N',\n", - " tooltip=('Words','Prediction','Similarity')\n", - ").mark_circle().properties(width=300).add_selection(single_nearest)\n", - "\n", - "bar" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "52a4fcfa-80d9-456e-a474-8192ac1c02e8", - "metadata": {}, - "outputs": [], - "source": [ - "# Builds a list dynamically from WordNet using NLTK.\n", - "def wordnet_df(word,POS=False):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " words = []\n", - " cats = []\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " else:\n", - " for syn in wordnet.synsets(m_word):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a):\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " df = {\"Categories\":cats, \"Words\":words}\n", - " df = pd.DataFrame(df) \n", - " df = df.drop_duplicates().reset_index()\n", - " df = df.drop(\"index\", axis=1)\n", - " return df" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "8a61922c-09f8-4a2b-8317-36783016fc2a", - "metadata": {}, - "outputs": [], - "source": [ - "def cf_from_wordnet_df(seed,text):\n", - " seed_token = nlp(seed)\n", - " seed_POS = seed_token[0].pos_\n", - " print(seed_POS)\n", - " df = wordnet_df(seed,seed_POS)\n", - " \n", - " df[\"Sentences\"] = df.Words.apply(lambda x: re.sub(r'\\b'+seed+r'\\b',x,text))\n", - " df[\"Word Similarity\"] = df.Words.apply(lambda x: seed_token.similarity(nlp(x)))\n", - " df = df[df[\"Word Similarity\"] > 0].reset_index()\n", - " df.drop(\"index\", axis=1, inplace=True)\n", - " df[\"Prediction\"] = df.Sentences.apply(eval_pred_test)\n", - " #added this because I think it will make the end results better if we ensure the seed is in the data we generate counterfactuals from.\n", - " df['Seed'] = df.Words.apply(lambda x: 'Seed' if x.lower() == seed else 'Alternative')\n", - " return df" - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "id": "ebeafe57-44e2-4ae2-bdab-f16050efc4f1", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "NOUN\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_6702/2903488048.py:8: UserWarning: [W008] Evaluating Doc.similarity based on empty vectors.\n", - " df[\"Word Similarity\"] = df.Words.apply(lambda x: seed_token.similarity(nlp(x)))\n" - ] - } - ], - "source": [ - "panic = cf_from_wordnet_df(seed,text)" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "id": "c534bbab-7d5d-4695-8ab0-948ff88463de", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
CategoriesWordsSentencesWord SimilarityPredictionSeed
0moviemovieThis movie was filmed in Iraq.0.519086-0.985851Alternative
1moviefilmThis film was filmed in Iraq.1.000000-0.976839Seed
2moviepictureThis picture was filmed in Iraq.0.275934-0.966598Alternative
3moviemoving pictureThis moving picture was filmed in Iraq.0.3170250.951934Alternative
4moviemoving-picture showThis moving-picture show was filmed in Iraq.0.438731-0.891211Alternative
\n", - "
" - ], - "text/plain": [ - " Categories Words \\\n", - "0 movie movie \n", - "1 movie film \n", - "2 movie picture \n", - "3 movie moving picture \n", - "4 movie moving-picture show \n", - "\n", - " Sentences Word Similarity Prediction \\\n", - "0 This movie was filmed in Iraq. 0.519086 -0.985851 \n", - "1 This film was filmed in Iraq. 1.000000 -0.976839 \n", - "2 This picture was filmed in Iraq. 0.275934 -0.966598 \n", - "3 This moving picture was filmed in Iraq. 0.317025 0.951934 \n", - "4 This moving-picture show was filmed in Iraq. 0.438731 -0.891211 \n", - "\n", - " Seed \n", - "0 Alternative \n", - "1 Seed \n", - "2 Alternative \n", - "3 Alternative \n", - "4 Alternative " - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "panic.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 19, - "id": "ea7ad4f3-98d0-4760-9bae-e94210886f08", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 19, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "single_nearest = alt.selection_single(on='mouseover', nearest=True)\n", - "full = alt.Chart(panic).encode(\n", - " alt.X('Word Similarity:Q'), # specify nominal data\n", - " alt.Y('Prediction:Q'), # specify quantitative data\n", - " color=alt.Color('Seed:N', legend=alt.Legend(title=\"Seed or Alternative\")),\n", - " size='Seed:N',\n", - " tooltip=('Words','Prediction','Word Similarity')\n", - ").mark_circle(opacity=.5).properties(width=300).add_selection(single_nearest)\n", - "\n", - "full" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "id": "68dfc91f-3a54-4d96-8be9-887415299735", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "True" - ] - }, - "execution_count": 20, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "isinstance(cf_df, pd.DataFrame)" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "id": "9b646bd3-fe80-460d-8237-d181554992a0", - "metadata": {}, - "outputs": [], - "source": [ - "#https://github.com/tvst/st-annotated-text/blob/master/example.py" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "id": "77b86e94-e55a-4c2c-a2ed-bba4e504fbc8", - "metadata": {}, - "outputs": [], - "source": [ - "def get_sampled(df, seed, fixed=False):\n", - " sub_df = df[df['Words'] != seed]\n", - " if fixed:\n", - " sample = sub_df.sample(n=2, random_state = 2052)\n", - " else:\n", - " sample = sub_df.sample(n=2)\n", - " text2 = sample.Sentences.iloc[0]\n", - " text3 = sample.Sentences.iloc[1]\n", - " return text2,text3" - ] - }, - { - "cell_type": "code", - "execution_count": 26, - "id": "99253045-8671-47d0-8bed-17b20476c196", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "('This cheesecake was filmed in Iraq.', 'This scum was filmed in Iraq.')" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "get_sampled(panic,\"film\")" - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "id": "f438ae0e-7a93-4021-a3ad-5ce36ad37984", - "metadata": {}, - "outputs": [], - "source": [ - "text2, text3 = get_sampled(panic, \"film\")" - ] - }, - { - "cell_type": "code", - "execution_count": 28, - "id": "06b9e22f-7562-423d-b96d-19b706869c6a", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'This montage was filmed in Iraq.'" - ] - }, - "execution_count": 34, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "text2" - ] - }, - { - "cell_type": "code", - "execution_count": 107, - "id": "bc4b5467-c8f6-4a88-8fa2-e781e1eba23e", - "metadata": {}, - "outputs": [], - "source": [ - "#inspired by https://stackoverflow.com/questions/17758023/return-rows-in-a-dataframe-closest-to-a-user-defined-number/17758115#17758115\n", - "def abs_dif(df,seed):\n", - " target = df[df['Words'] == seed].Prediction.iloc[0]\n", - " sub_df = df[df['Words'] != seed].reset_index()\n", - " nearest_prediction = sub_df.Prediction[(sub_df.Prediction-target).abs().argsort()[:1]]\n", - " farthest_prediction = sub_df.Prediction[(sub_df.Prediction-target).abs().argsort()[-1:]]\n", - " nearest = sub_df.Sentences.iloc[nearest_prediction.index[0]]\n", - " farthest = sub_df.Sentences.iloc[farthest_prediction.index[0]]\n", - " return target, nearest, farthest" - ] - }, - { - "cell_type": "code", - "execution_count": 108, - "id": "ae73d9ac-0a05-4d30-8aec-0f40f05b7b16", - "metadata": {}, - "outputs": [], - "source": [ - "target, near, far = abs_dif(panic,\"film\")" - ] - }, - { - "cell_type": "code", - "execution_count": 100, - "id": "48312660-33af-4909-98f1-6134215e63bb", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'This abstraction was filmed in Iraq.'" - ] - }, - "execution_count": 100, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "near" - ] - }, - { - "cell_type": "code", - "execution_count": 101, - "id": "37f226d4-dad7-42b1-9b1c-4e60fb5f3504", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'This positive was filmed in Iraq.'" - ] - }, - "execution_count": 101, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "far" - ] - }, - { - "cell_type": "code", - "execution_count": 102, - "id": "2a631966-025c-4964-bb22-bb245f0aeb57", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "-0.9771453142166138" - ] - }, - "execution_count": 102, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "eval_pred_test(near)" - ] - }, - { - "cell_type": "code", - "execution_count": 103, - "id": "777afc55-f701-4452-82ad-1b5487b68d29", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "0.9987342953681946" - ] - }, - "execution_count": 103, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "eval_pred_test(far)" - ] - }, - { - "cell_type": "code", - "execution_count": 104, - "id": "c9a92eef-9649-439e-b669-15cd360a3019", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "-0.9768388867378235" - ] - }, - "execution_count": 104, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "target" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "e69f1778-22bf-47cc-8ee9-dd90d7e6cebf", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/custom-named-entity-recognition.ipynb b/custom-named-entity-recognition.ipynb deleted file mode 100644 index 05bcc64aadcf2a346a089c1d690f9c6949da1034..0000000000000000000000000000000000000000 --- a/custom-named-entity-recognition.ipynb +++ /dev/null @@ -1,1625 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "f4586eab-7134-4418-81db-d8cb37e6ac7b", - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd, numpy as np, matplotlib.pyplot as plt\n", - "import spacy\n", - "from spacy import displacy\n", - "from spacy.matcher import Matcher\n", - "nlp = spacy.load(\"en_core_web_sm\")\n", - "lemmatizer = nlp.get_pipe(\"lemmatizer\")\n", - "\n", - "#All of the libraries needed to try and make a script for automating creation of rules from word lists\n", - "import json, os, requests" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "3b0e9f8f-c4de-4c9a-99eb-3b2551ea3206", - "metadata": {}, - "outputs": [], - "source": [ - "ruler = nlp.add_pipe(\"entity_ruler\").from_disk(\"tweaks/main-ruler-bias.jsonl\")" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "9552d9c3-03ce-4f88-a155-015cfaa93401", - "metadata": {}, - "outputs": [], - "source": [ - "matcher = Matcher(nlp.vocab)" - ] - }, - { - "cell_type": "code", - "execution_count": 169, - "id": "dad46655-bf5c-4745-a1a9-a3d8cb42df6c", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[('transwoman', 'SOGI', 'lbgtq-bias'), ('trans-man', 'SOGI', 'lbgtq-bias'), ('gay', 'SOGI', 'lbgtq-bias')]\n" - ] - }, - { - "data": { - "text/html": [ - "
I saw a \n", - "\n", - " transwoman\n", - " SOGI\n", - "\n", - " and a \n", - "\n", - " trans-man\n", - " SOGI\n", - "\n", - " walking with their \n", - "\n", - " gay\n", - " SOGI\n", - "\n", - " friends down the road.
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#Note: I'm using https://www.hrc.org/resources/sexual-orientation-and-gender-identity-terminology-and-definitions \"Sexual Orientation Gender Identity\" as \"SOGI\" to be more inclusive\n", - "txt_trans = \"I saw a transwoman and a trans-man walking with their gay friends down the road.\"\n", - "doc2 = nlp(txt_trans)\n", - "print([(ent.text, ent.label_, ent.ent_id_) for ent in doc2.ents])\n", - "displacy.render(doc2, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": 60, - "id": "f0dd8dc9-b723-4ece-9af3-5b789071bcc5", - "metadata": { - "tags": [] - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Text: I | Part of Speech: PRON | Dependency: nsubj | Entity: \n", - "Text: saw | Part of Speech: VERB | Dependency: ROOT | Entity: \n", - "Text: a | Part of Speech: DET | Dependency: det | Entity: \n", - "Text: transwoman | Part of Speech: NOUN | Dependency: dobj | Entity: GENDER \n", - "Text: and | Part of Speech: CCONJ | Dependency: cc | Entity: \n", - "Text: a | Part of Speech: DET | Dependency: det | Entity: \n", - "Text: trans | Part of Speech: NOUN | Dependency: conj | Entity: \n", - "Text: - | Part of Speech: NOUN | Dependency: acl | Entity: \n", - "Text: man | Part of Speech: NOUN | Dependency: nsubj | Entity: GENDER \n", - "Text: walking | Part of Speech: VERB | Dependency: acl | Entity: \n", - "Text: with | Part of Speech: ADP | Dependency: prep | Entity: \n", - "Text: their | Part of Speech: PRON | Dependency: poss | Entity: \n", - "Text: gay | Part of Speech: ADJ | Dependency: amod | Entity: GENDER \n", - "Text: friends | Part of Speech: NOUN | Dependency: pobj | Entity: \n", - "Text: down | Part of Speech: ADP | Dependency: prep | Entity: \n", - "Text: the | Part of Speech: DET | Dependency: det | Entity: \n", - "Text: road | Part of Speech: NOUN | Dependency: pobj | Entity: \n", - "Text: . | Part of Speech: PUNCT | Dependency: punct | Entity: \n" - ] - } - ], - "source": [ - "text_pos(doc2)" - ] - }, - { - "cell_type": "code", - "execution_count": 44, - "id": "ddd2cd17-6ca1-4cb8-b029-ecd6fe4df847", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[('man', 'GENDER', 'male-bias'), ('he', 'GENDER', 'male-bias'), ('woman', 'GENDER', 'female-bias'), ('his', 'GENDER', 'male-bias'), ('grandma', 'GENDER', 'female-bias')]\n" - ] - } - ], - "source": [ - "txt = \"I once met a man who didn't have a clue that he was once a woman in his grandma's shoes.\"\n", - "doc = nlp(txt)\n", - "print([(ent.text, ent.label_, ent.ent_id_) for ent in doc.ents])" - ] - }, - { - "cell_type": "markdown", - "id": "89c77f84-43fb-4bff-a1be-7a7d51569d6c", - "metadata": {}, - "source": [ - "## Exploring StereoSet as a possible source of defaults." - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "1985016b-5d01-493a-980c-ee838edbe568", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "dict_keys(['version', 'data'])" - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "obj = requests.get('https://raw.githubusercontent.com/moinnadeem/StereoSet/master/data/dev.json').json()\n", - "obj.keys()" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "4b9e7a2a-8a8a-47d3-839b-b7707f75ed9f", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "2" - ] - }, - "execution_count": 3, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(obj['data'])" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "abacc561-efcb-4647-b316-01a3f69d7f21", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "dict_keys(['intersentence', 'intrasentence'])" - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "obj['data'].keys()" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "d271af83-9eb3-4678-b79f-d50642438686", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "2123" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "inter = obj['data']['intersentence']\n", - "intra = obj['data']['intrasentence']\n", - "len(inter)" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "108bd67f-bda5-45b2-b91c-ff115fe4ada8", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "2106" - ] - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(intra)" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "a6c14565-fc32-4d12-9410-dd4cc481b3ec", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'id': 'bb7a8bd19a8cfdf1381f60715adfdbb5',\n", - " 'target': 'Ethiopia',\n", - " 'bias_type': 'race',\n", - " 'context': 'Many people live in Ethiopia.',\n", - " 'sentences': [{'sentence': 'The people are fat and unathletic.',\n", - " 'id': '20eb4fa5c9d23ac9feaf78b1cbddef10',\n", - " 'labels': [{'label': 'anti-stereotype',\n", - " 'human_id': '82e625a43e56d10f06670b6d4e4df5e6'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': 'ac063b5bb6b8944b60a4eef82b515b45'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': 'd5ada355bf186c7bad86a36edd5261f8'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '707e2135a19883027a408499e2a91c09'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '4d51bfb38fcd2a331e6a77b3985ff2d6'}],\n", - " 'gold_label': 'anti-stereotype'},\n", - " {'sentence': 'The people are very thin and good at distance running.',\n", - " 'id': '907a891041d6c036e71e57867753157a',\n", - " 'labels': [{'label': 'stereotype',\n", - " 'human_id': '82e625a43e56d10f06670b6d4e4df5e6'},\n", - " {'label': 'stereotype', 'human_id': 'ac063b5bb6b8944b60a4eef82b515b45'},\n", - " {'label': 'stereotype', 'human_id': 'd5ada355bf186c7bad86a36edd5261f8'},\n", - " {'label': 'stereotype', 'human_id': '707e2135a19883027a408499e2a91c09'},\n", - " {'label': 'stereotype', 'human_id': '4d51bfb38fcd2a331e6a77b3985ff2d6'}],\n", - " 'gold_label': 'stereotype'},\n", - " {'sentence': 'Cats have sharp claws.',\n", - " 'id': '53ed092cc068d16e24a77324b8115287',\n", - " 'labels': [{'label': 'unrelated',\n", - " 'human_id': '82e625a43e56d10f06670b6d4e4df5e6'},\n", - " {'label': 'unrelated', 'human_id': 'ac063b5bb6b8944b60a4eef82b515b45'},\n", - " {'label': 'unrelated', 'human_id': 'd5ada355bf186c7bad86a36edd5261f8'},\n", - " {'label': 'unrelated', 'human_id': '707e2135a19883027a408499e2a91c09'},\n", - " {'label': 'unrelated', 'human_id': '4d51bfb38fcd2a331e6a77b3985ff2d6'}],\n", - " 'gold_label': 'unrelated'}]}" - ] - }, - "execution_count": 12, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "inter[0]" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "93b18c11-6e72-4b24-b51a-ee05192cfea2", - "metadata": {}, - "outputs": [], - "source": [ - "df = pd.DataFrame()" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "id": "4fe779b2-2979-4a36-9395-99a5ccd2b981", - "metadata": {}, - "outputs": [], - "source": [ - "df['target'] = [inter[x]['target'] for x in range(0,len(inter))]\n", - "df['bias'] = [inter[x]['bias_type'] for x in range(0,len(inter))]\n", - "df['context'] = [inter[x]['context'] for x in range(0,len(inter))]" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "98d5a44a-0169-4b62-8518-94e445dedd2c", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
targetbiascontext
0EthiopiaraceMany people live in Ethiopia.
1HispanicraceMy professor is a hispanic man
2schoolgirlgenderThe schoolgirl is walking down the street.
3Cape VerderaceWe'll likely fly over Cape Verde on our flight...
4RussianraceI know many people who are Russian.
\n", - "
" - ], - "text/plain": [ - " target bias context\n", - "0 Ethiopia race Many people live in Ethiopia.\n", - "1 Hispanic race My professor is a hispanic man\n", - "2 schoolgirl gender The schoolgirl is walking down the street.\n", - "3 Cape Verde race We'll likely fly over Cape Verde on our flight...\n", - "4 Russian race I know many people who are Russian." - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "id": "4a74b47f-5be9-4816-b656-5473e85ac4dd", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 35, - "metadata": {}, - "output_type": "execute_result" - }, - { - "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEiCAYAAAAVoQJzAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAVCElEQVR4nO3dfbBlVX3m8e8TWhQZpXlpCWnQRm1NUSgKVyQhUQNReVFgMogmjna0Jz0TX8aETGJrMrEqSSXESo1DJhO0I0EYiYJGB6LMGAKYMSYSuoGAQCx7eBFaXtrwGhAJ8ps/zurh0jTSfc7l7nvu+n6qbt29197n7F+fuv3cdddZe51UFZKkPvzQ0AVIkuaPoS9JHTH0Jakjhr4kdcTQl6SOGPqS1JElQxfwg+y11161YsWKocuQpKmyYcOG71TVsm0de9LQT/KnwBuAO6rqwNa2B3AOsAK4ETipqu5KEuBU4BjgAeDnq+ry9phVwG+0p/2dqjrzya69YsUK1q9f/2SnSZJmSXLTEx3bnuGdTwBHbdW2FrioqlYCF7V9gKOBle1rDXBaK2AP4EPAK4FDgQ8l2X37/wmSpLnwpKFfVf8HuHOr5uOBLT31M4ETZrWfVSNfA5Ym2Qd4PXBhVd1ZVXcBF/L4XySSpKfYuG/k7l1Vt7bt24C92/Zy4OZZ593S2p6oXZI0jyaevVOjxXvmbAGfJGuSrE+yfvPmzXP1tJIkxg/929uwDe37Ha19E7DfrPP2bW1P1P44VbWuqmaqambZsm2++SxJGtO4oX8+sKptrwLOm9X+9owcBtzThoG+BLwuye7tDdzXtTZJ0jzanimbnwJeA+yV5BZGs3BOAc5Nshq4CTipnX4Bo+maG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fdlDQhe/paEJJcx2it8m+1pucC3wAeZrTEsssxSHPA0NeC8EQrGW4xrSsaSguNoS9JHXFMX5I6YuhLUkcMfUnqiKEvSR0x9CWpI/8PRU4I0kk93VYAAAAASUVORK5CYII=\n", - "text/plain": [ - "
" - ] - }, - "metadata": { - "needs_background": "light" - }, - "output_type": "display_data" - } - ], - "source": [ - "df.bias.value_counts().plot.bar(x='bias')" - ] - }, - { - "cell_type": "code", - "execution_count": 44, - "id": "c1c3e3e0-9a3d-4f39-abf7-601e298d26ac", - "metadata": {}, - "outputs": [], - "source": [ - "race = df[df.bias == 'race']" - ] - }, - { - "cell_type": "code", - "execution_count": 46, - "id": "86b12301-8e2f-471f-81fb-5c583b525528", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3139308136.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " race.drop('bias', inplace=True,axis=1)\n" - ] - } - ], - "source": [ - "race.drop('bias', inplace=True,axis=1)" - ] - }, - { - "cell_type": "code", - "execution_count": 47, - "id": "82334494-e70b-4f0e-beb7-d9ab5e901c7e", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
targetcontext
0EthiopiaMany people live in Ethiopia.
1HispanicMy professor is a hispanic man
3Cape VerdeWe'll likely fly over Cape Verde on our flight...
4RussianI know many people who are Russian.
6CameroonThat person is from Cameroon.
\n", - "
" - ], - "text/plain": [ - " target context\n", - "0 Ethiopia Many people live in Ethiopia.\n", - "1 Hispanic My professor is a hispanic man\n", - "3 Cape Verde We'll likely fly over Cape Verde on our flight...\n", - "4 Russian I know many people who are Russian.\n", - "6 Cameroon That person is from Cameroon." - ] - }, - "execution_count": 47, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "race.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 51, - "id": "3cf4d80b-ea62-4e83-8820-0939d06dad30", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 51, - "metadata": {}, - "output_type": "execute_result" - }, - { - "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXEAAAE4CAYAAACt0MMAAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAA/oElEQVR4nO2debgdRdGH30oIW5A9ICIhoCgqOwFBUDZxAxERRGQTQXBhc98+DIgL7riBgoCoCIKA8CEgiGETARMSElbBAJ8gu6xuEKjvj+rJnTt35sycc8+9yZDf+zzznDMzfbr7zPTUdFdXVZu7I4QQop2Mmd8VEEII0TsS4kII0WIkxIUQosVIiAshRIuREBdCiBYjIS6EEC1mkdEsbMUVV/RJkyaNZpFCCNF6pk+f/oi7Tyg7N6pCfNKkSUybNm00ixRCiNZjZvdUnZM6RQghWoyEuBBCtBgJcSGEaDES4kII0WIkxIUQosVIiAshRIuREBdCiBYjIS6EEC1mVJ19MiZ95rdDjt19zA7zoSZCCNFu1BMXQogWIyEuhBAtRkJcCCFajIS4EEK0GAlxIYRoMRLiQgjRYiTEhRCixUiICyFEi5EQF0KIFiMhLoQQLUZCXAghWoyEuBBCtJj5EgCrKcVAWWVBshRMSwixMKOeuBBCtJhaIW5mi5vZ9WZ2o5ndbGZHpeNrmNl1Znanmf3KzBYd+eoKI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IiFewCLG9W7A7q6FHEaMNGm5IXApgxfjPXSEyvsRsUrSNoQlzK7E6jAj5vUoxGggIS7mCzZ0TVKgL6uaV5U3y93Xy30uBVzk7q8fifKEGC0Wdp24mE94LBy9BLF+5mhMLmY65X+Z2UuIRQVWGYVyhRhRFmo7cTH/MLO3Eyv6XJz2NzCz80ewyAtS6NtvEPHe7ybWkRSi1UidIuYLZjadmES+3AfWzxyVtSRTwLPFR3NSVYiRQj1xMb94tkSIPl+achiY2SbJJj3b34cIrXp0VThcIdqEhLiYX9xsZu8l4qSsZbEA7TUjUM6PiQh4pIiIxxAmpE8Q0fqEaDUS4mJ+cQhhs/1fQjf9BOGq3G/G5uKP7w6c4O5nu/sRwAK9oIAQTZB1ihhV0uIMHyQE6Gxg8xStcKQYiYiIQiwwqBGL0eZU4FkiZs1bgVcxMj3wjCwi4iP0KSKiEAsSsk4Ro0o+IL6ZLUJ4TY7oqkpmthkDERH/mY69glhj84aRLFuIkUY9cTHaPJt9cfe5ZiMfb8zdry059pcRL1iIUUA9cTGq5II6weDATvN9CTAh2oiEuBBCtBiZGAohRIuREBdCiBYjIS6EEC1GQlwIIVqMhLgQQrQYCXEhhGgx/w8gns8Il8PFhAAAAABJRU5ErkJggg==\n", - "text/plain": [ - "
" - ] - }, - "metadata": { - "needs_background": "light" - }, - "output_type": "display_data" - } - ], - "source": [ - "race.target.value_counts().plot.bar(x='target')" - ] - }, - { - "cell_type": "code", - "execution_count": 58, - "id": "46b7b0a6-f644-44a4-8156-49458cd6ca40", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3028792596.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " race.drop_duplicates('target', inplace=True)\n" - ] - }, - { - "data": { - "text/plain": [ - "36" - ] - }, - "execution_count": 58, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "race.drop_duplicates('target', inplace=True)\n", - "len(race)" - ] - }, - { - "cell_type": "code", - "execution_count": 59, - "id": "0bfd4d06-16fc-487c-bb7a-c2f91559ae6f", - "metadata": {}, - "outputs": [], - "source": [ - "#race.to_csv(\"Assets/stereo-set-race.csv\", index=False)" - ] - }, - { - "cell_type": "code", - "execution_count": 60, - "id": "31227cba-7ce5-4ab5-9611-63b99f0d07e0", - "metadata": {}, - "outputs": [], - "source": [ - "gender = df[df.bias == 'gender']" - ] - }, - { - "cell_type": "code", - "execution_count": 61, - "id": "4edc9481-5a0d-4c80-b683-12f3dfdfd8fc", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 61, - "metadata": {}, - "output_type": "execute_result" - }, - { - "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAEqCAYAAAAMDAuuAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAcC0lEQVR4nO3de5SlVX3m8e8j4BUUlJIQBRoRYYiXxrSI4hgVNYgiahwNRsIoBs3ogKNxBnUMKjMKirockzDiQkQuRogiKmpkIRdvgN3QchFZGkRji9CMUQiGKPjMH/s93aeLqq7qqlP7fTf9fNaqVXXeU1X7t7rr/M5+9+W3ZZuIiGjPffoOICIiFiYJPCKiUUngERGNSgKPiGhUEnhERKOSwCMiGrVlzca23357L1u2rGaTERHNW7Vq1a22p6Zfr5rAly1bxsqVK2s2GRHRPEk/nul6hlAiIhqVBB4R0agk8IiIRiWBR0Q0Kgk8IqJRSeAREY1KAo+IaFQSeEREo6pu5JnLsqPPW/TvuPG4599r4oiI2Jj0wCMiGpUEHhHRqCTwiIhGJYFHRDQqCTwiolFJ4BERjUo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3o98FFgT0lrgDcCVc/DHJCh9HxfRjna7o+7Ay0eyhIc5BvrZQw8NpmkF1AqAe4EfISypO9dtqttJhk7XOIBlI7IHZS16atsr64VxxBI+iKwBngO8ETKBObltc/ljPqSwGOTdJtEjrR9j0ONK8dxJrCCsgNRlGqNV1GOmjvb9vv6i66ubsngAcDVtn/Q1QZ/nO2v9hxaLLEk8Nhkki63vU/PMVwCHDha/yxpa+A8SiJbZXuvPuOLqCHrwGMhvinpbyhL1+4YXRytQ67k4WxYfe+3lDXh/yYp9ahjs5AEHguxvPs82tAjymqQmitRzgAuk3Ru9/gg4MyuLshmf/RebB4yhBKbTNKbKQlb3SUDtwEra04gdhtY9useftP2yo19f8S9TRJ4bLJMIEYMQxJ4bLJMIEYMQzbyxELMOoFIDrSNqCaTmLEQmUCMGIAMocSCZAIxon9J4BERjcoYeEREo5LAIyIalQQeEdGoJPCIiEYlgUdENOr/A6DBYmvtYRiUAAAAAElFTkSuQmCC\n", - "text/plain": [ - "
" - ] - }, - "metadata": { - "needs_background": "light" - }, - "output_type": "display_data" - } - ], - "source": [ - "gender.target.value_counts().plot.bar(x='target')" - ] - }, - { - "cell_type": "code", - "execution_count": 62, - "id": "2795a4d7-3759-4a7e-958d-a103e32a992d", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/47777173.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " gender.drop_duplicates('target', inplace=True)\n" - ] - } - ], - "source": [ - "gender.drop_duplicates('target', inplace=True)" - ] - }, - { - "cell_type": "code", - "execution_count": 66, - "id": "68032055-8627-4508-9e68-6d59eedace14", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/2501161659.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " gender.drop('bias',inplace=True, axis=1)\n" - ] - } - ], - "source": [ - "gender.drop('bias',inplace=True, axis=1)" - ] - }, - { - "cell_type": "code", - "execution_count": 85, - "id": "028b96cc-9b4c-4d01-b474-6c7f97378611", - "metadata": {}, - "outputs": [], - "source": [ - "#gender.to_csv('Assets/StereoSet/stereo-set-gender.csv', index=False)" - ] - }, - { - "cell_type": "code", - "execution_count": 70, - "id": "0832407e-c9fd-4f36-aef1-62e153879c10", - "metadata": {}, - "outputs": [], - "source": [ - "def clean_set(df,bias):\n", - " new_df = df[df.bias == bias]\n", - " new_df.drop_duplicates('target', inplace=True)\n", - " new_df.drop('bias',inplace=True, axis = 1)\n", - " return new_df " - ] - }, - { - "cell_type": "code", - "execution_count": 71, - "id": "351af4d6-7c67-4af9-ba91-77cf26b06cb7", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3898949412.py:3: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " new_df.drop_duplicates('target', inplace=True)\n", - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3898949412.py:4: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " new_df.drop('bias',inplace=True, axis = 1)\n" - ] - } - ], - "source": [ - "prof = clean_set(df, \"profession\")" - ] - }, - { - "cell_type": "code", - "execution_count": 72, - "id": "cb39fbd0-e2e9-4d8c-92cd-3384b3138c32", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
targetcontext
5musicianMark's child became a musician after school.
20physicistThe physicist is a brilliant world renowned ma...
24psychologistThe psychologist talked to the patient on the ...
25tailorThe tailor is in the back.
35moverHer husband works as a mover.
\n", - "
" - ], - "text/plain": [ - " target context\n", - "5 musician Mark's child became a musician after school.\n", - "20 physicist The physicist is a brilliant world renowned ma...\n", - "24 psychologist The psychologist talked to the patient on the ...\n", - "25 tailor The tailor is in the back.\n", - "35 mover Her husband works as a mover." - ] - }, - "execution_count": 72, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "prof.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 73, - "id": "c75b82cb-c551-4590-b3f5-f3f70b432c15", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 73, - "metadata": {}, - "output_type": "execute_result" - }, - { - "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAFOCAYAAACWguaYAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAABE5UlEQVR4nO2dd5glVbW33x9JBBmCjF7JQYKIoDgk4ZMkCqKoVwQRUBFFuSp4MVwzCl4DiqKoIAiIRAETUZLkHGbId3QcUMEAKuCYQHB9f6xd09V1dp1T1X16prtc7/PU01111qnaVadq1d5r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BnydEf/8LnBdykkyVCQ9W9Lxki5M6xtI2m/YxwkWHNFDD6Y8KVf6L/Cyc5eb2f0Lt0XDJSV3WhvPef84I2lrx5XUKSnyE/EAro1TYZCZCzq9bDA8QqEHnUDS8/FcJFsD6wCzzWyfhduq4ZC8eHoYb44QSTeb2aaSZprZi9K2WWb2wvHsN1h4dMLGGPx7I2kanpJ0dbyA8bJ0oARdwQQmd/qrpGcykmxrC+CxCTpWsACIHnow5Ul5va9Jy1Vm9sBCbtKUIOUCOgrYELgLmA7sZmZ3LNSGBWMmFHow5ZG0u5mdWdnWU1g56CXZzdfD7fKzJ6KQRrDgCIUeTHlyWQPHkknw3w1JS+IFtbdmJL3CMWb2j4XasGDMhA09mLKUiiivLOlrpY+m4eW9gv58F69PelRafxOeBOwNC61FwbgIhR5MZf5EyyLKwSg2rFSevzylXgimKKHQg6nM0anG5Ssia+CYWGDV6IMFQyj0YCqzhKQ3AZtL+s/qh+NNXvVvwIvxKNRR1egl3cmQq9EHC4ZQ6MFU5l3AXngln1dXPjM8l3pQzwKrRh8sGMLLJZjySNrPzI5f2O0IgoVNKPRgypOqFb0LD/0HuBJ3vwuf6uDfilDowZRH0rfxQg3FxOg+wFNm9vaF16ogWPCEQg+mPJJuN7ONB20Lgq4T+dCDLvCUpLWLFUlrAU8txPYEwUIhvFyCLvBBPChmLp6TZHVg34XbpCBY8ITJJegEkp6GJ5kCTzL1eD/5IOgiYXIJpjyS3gAskdK+7gqcnlLDBsG/FaHQgy7wCTObJ2lrYAfgeODohdymIFjghEIPukAxAboLcJyZnQ8ssRDbEwQLhVDoQRd4UNK3gD2AC5I9Pe7t4N+OmBQNpjySlsLzktxpZj+X9BzgBWZ28UJuWhAsUEKhB0EQdIQYlgZBEHSEUOhBEAQdIRR6EARBRwiFHgRB0BH+P3IhdI7hQpPAAAAAAElFTkSuQmCC\n", - "text/plain": [ - "
" - ] - }, - "metadata": { - "needs_background": "light" - }, - "output_type": "display_data" - } - ], - "source": [ - "prof.target.value_counts().plot.bar(x='target')" - ] - }, - { - "cell_type": "code", - "execution_count": 74, - "id": "aaa506da-07cf-4bc5-93a6-62b169810997", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "30" - ] - }, - "execution_count": 74, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(prof)" - ] - }, - { - "cell_type": "code", - "execution_count": 82, - "id": "329bf5ed-a6d2-4ccf-8412-fe2f2ae3e746", - "metadata": {}, - "outputs": [], - "source": [ - "#prof.to_csv('Assets/StereoSet/stereo-set-profession.csv', index=False)" - ] - }, - { - "cell_type": "code", - "execution_count": 76, - "id": "14c87bb3-a866-41b9-bb5c-63a95985831e", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3898949412.py:3: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " new_df.drop_duplicates('target', inplace=True)\n", - "/var/folders/lx/xt9qnk8569n7xy_d7knh3npr0000gp/T/ipykernel_26888/3898949412.py:4: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " new_df.drop('bias',inplace=True, axis = 1)\n" - ] - } - ], - "source": [ - "rel = clean_set(df, \"religion\")" - ] - }, - { - "cell_type": "code", - "execution_count": 77, - "id": "42b207a8-18e8-412f-8464-518ec2f68bf1", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "3" - ] - }, - "execution_count": 77, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(rel)" - ] - }, - { - "cell_type": "code", - "execution_count": 78, - "id": "17475e53-04c9-44dc-9b4b-e4a6a3b0fb6b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
targetcontext
516MuslimThe teacher is a muslim.
575BibleThe Bible Study class meets once a week.
629BrahminI sought out the advice of the Brahmin.
\n", - "
" - ], - "text/plain": [ - " target context\n", - "516 Muslim The teacher is a muslim.\n", - "575 Bible The Bible Study class meets once a week.\n", - "629 Brahmin I sought out the advice of the Brahmin." - ] - }, - "execution_count": 78, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rel" - ] - }, - { - "cell_type": "code", - "execution_count": 83, - "id": "1111fee3-805d-4867-9bfb-c3c4fff24a6e", - "metadata": {}, - "outputs": [], - "source": [ - "#rel.to_csv('Assets/StereoSet/stereo-set-religion.csv', index=False)" - ] - }, - { - "cell_type": "code", - "execution_count": 81, - "id": "03e80a8a-f7e6-46ed-892f-8ec8bc31a2cd", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'id': '855484664e331c670e1bbca3ec708d1c',\n", - " 'target': 'Ethiopian',\n", - " 'bias_type': 'race',\n", - " 'context': 'Ethiopian men are BLANK',\n", - " 'sentences': [{'sentence': 'Ethiopian men are skinny',\n", - " 'id': 'da3ffe0b63e23ecead967407f350c1b9',\n", - " 'labels': [{'label': 'stereotype',\n", - " 'human_id': '10102da18cc8d649454cf120350011be'},\n", - " {'label': 'stereotype', 'human_id': '6567e3de3f54868b9ecd3511b2a1e120'},\n", - " {'label': 'stereotype', 'human_id': '9fafcdd9a39a172460444c9d2bb428c3'},\n", - " {'label': 'stereotype', 'human_id': '1e28d436b6661f962052aae87b7d55a7'},\n", - " {'label': 'stereotype', 'human_id': '1e1f5577348f76027d7884815297109a'}],\n", - " 'gold_label': 'stereotype'},\n", - " {'sentence': 'Ethiopian men are fat',\n", - " 'id': 'b45db81e8d5ac4a1ca21b8c7af1b1ef8',\n", - " 'labels': [{'label': 'anti-stereotype',\n", - " 'human_id': '10102da18cc8d649454cf120350011be'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '6567e3de3f54868b9ecd3511b2a1e120'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '9fafcdd9a39a172460444c9d2bb428c3'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '1e28d436b6661f962052aae87b7d55a7'},\n", - " {'label': 'anti-stereotype',\n", - " 'human_id': '1e1f5577348f76027d7884815297109a'}],\n", - " 'gold_label': 'anti-stereotype'},\n", - " {'sentence': 'Ethiopian men are floating',\n", - " 'id': 'ab8bccba80cee897ce52924a539ed9cb',\n", - " 'labels': [{'label': 'unrelated',\n", - " 'human_id': '10102da18cc8d649454cf120350011be'},\n", - " {'label': 'unrelated', 'human_id': '6567e3de3f54868b9ecd3511b2a1e120'},\n", - " {'label': 'unrelated', 'human_id': '9fafcdd9a39a172460444c9d2bb428c3'},\n", - " {'label': 'unrelated', 'human_id': '1e28d436b6661f962052aae87b7d55a7'},\n", - " {'label': 'unrelated', 'human_id': '1e1f5577348f76027d7884815297109a'}],\n", - " 'gold_label': 'unrelated'}]}" - ] - }, - "execution_count": 81, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "intra[1]" - ] - }, - { - "cell_type": "markdown", - "id": "826c1691-4b23-4dd8-8788-106c6e427f48", - "metadata": {}, - "source": [ - "## Reading a text file to generate the jsonl files" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "eb51cae1-86c2-47cd-9fb0-52dbe4eb688d", - "metadata": {}, - "outputs": [], - "source": [ - "#Create a simple function to read a .txt file, clean it, and return it as a list.\n", - "def source_words(filepath):\n", - " current = open(filepath).readlines()\n", - " current = [word.replace(\"\\n\",\"\") for word in current]\n", - " return current" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "14752cca-6f4f-4707-b2f6-6cd0d41a85c2", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['advanced',\n", - " 'aged',\n", - " 'ancient',\n", - " 'antique',\n", - " 'archaic',\n", - " 'contemporary',\n", - " 'current',\n", - " 'frayed',\n", - " 'fresh',\n", - " 'grizzled',\n", - " 'hoary',\n", - " 'immature',\n", - " 'juvenile',\n", - " 'mature',\n", - " 'modern',\n", - " 'new',\n", - " 'novel',\n", - " 'obsolete',\n", - " 'old',\n", - " 'primordial',\n", - " 'ragged',\n", - " 'raw',\n", - " 'recent',\n", - " 'senile',\n", - " 'shabby',\n", - " 'stale',\n", - " 'tattered',\n", - " 'threadbare',\n", - " 'trite',\n", - " 'vintage',\n", - " 'worn',\n", - " 'young']" - ] - }, - "execution_count": 79, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "age_terms = source_words(age_path)\n", - "age_terms" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "97090b8b-fde1-4d46-8c9a-bb95a9717db2", - "metadata": {}, - "outputs": [], - "source": [ - "#Create a function to build the JSONL file.\n", - "def gen_rule_pattern(wordpath,label,ID,to_file=True,test=False):\n", - " words= source_words(wordpath)\n", - " \n", - " if test:\n", - " filepath = \"tweaks/test/\" + ID + \".jsonl\"\n", - " else:\n", - " filepath = \"tweaks/\" + ID + \".jsonl\"\n", - " \n", - " patterns = []\n", - " \n", - " #Adds pattern to a list of patterns.\n", - " for word in words:\n", - " value = {\"label\": label, \"pattern\": [{\"LOWER\": word}],\"id\":ID}\n", - " patterns.append(value)\n", - " \n", - " #Writes the patterns to a JSONL file.\n", - " if to_file:\n", - " with open(filepath, 'w') as file:\n", - " for entry in patterns:\n", - " json.dump(entry, file)\n", - " file.write('\\n')\n", - " return filepath\n", - " else:\n", - " return patterns" - ] - }, - { - "cell_type": "code", - "execution_count": 148, - "id": "e4c9b13a-7db4-4710-8668-52f81d978414", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "[{'label': 'age', 'pattern': [{'LOWER': 'advanced'}], 'id': 'age-bias'},\n", - " {'label': 'age', 'pattern': [{'LOWER': 'aged'}], 'id': 'age-bias'},\n", - " {'label': 'age', 'pattern': [{'LOWER': 'ancient'}], 'id': 'age-bias'},\n", - " {'label': 'age', 'pattern': [{'LOWER': 'antique'}], 'id': 'age-bias'},\n", - " {'label': 'age', 'pattern': [{'LOWER': 'archaic'}], 'id': 'age-bias'}]" - ] - }, - "execution_count": 148, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "age_rule = gen_rule_pattern(age_path, \"age\", \"age-bias\",to_file=False)\n", - "age_rule[:5]" - ] - }, - { - "cell_type": "code", - "execution_count": 139, - "id": "5c1a4244-dfae-4532-b6f9-ca6458b203df", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 139, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "ruler.from_disk(age_rule)" - ] - }, - { - "cell_type": "code", - "execution_count": 140, - "id": "09dfff75-6b1c-4664-91e7-558f918e93d7", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
I ate a \n", - "\n", - " stale\n", - " age\n", - "\n", - " piece of bread in a \n", - "\n", - " vintage\n", - " age\n", - "\n", - " cafe.
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "age_test = \"I ate a stale piece of bread in a vintage cafe.\"\n", - "doc_age = nlp(age_test)\n", - "displacy.render(doc_age, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": 149, - "id": "126c8ad0-65af-45f8-8373-e1102050916a", - "metadata": {}, - "outputs": [], - "source": [ - "#Function to read all txt files in Assets and then create JSONL files. It currently doesn't support crawling subfolders, and I'm not sure if I need it.\n", - "def build_pattern_files(directory, use_root=False, add_subfolder=False):\n", - " if use_root:\n", - " dir_path = \"Assets/wordlists-master/\" + directory\n", - " wordlists = os.listdir(dir_path)\n", - " else: \n", - " dir_path = directory\n", - " wordlists = os.listdir(dir_path)\n", - " \n", - " #open the wordlist and then generate a Pattern JSONL File\n", - " for wordlist in wordlists:\n", - " if wordlist == \".ipynb_checkpoints\":\n", - " continue\n", - " label = wordlist.replace(\".txt\",\"\")\n", - " ID = label + \"-bias\"\n", - " list_path = dir_path + \"/\" + wordlist\n", - " gen_rule_pattern(list_path,label,ID,test=True)" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "4308e987-5c2b-431c-b32f-714c69c43120", - "metadata": {}, - "outputs": [], - "source": [ - "#Function to read all txt files in Assets and then create JSONL files. It currently doesn't support crawling subfolders, and I'm not sure if I need it.\n", - "def build_main_pattern(directory, use_root=False, add_subfolder=False):\n", - " if use_root:\n", - " dir_path = \"Assets/wordlists-master/\" + directory\n", - " wordlists = os.listdir(dir_path)\n", - " else: \n", - " dir_path = directory\n", - " wordlists = os.listdir(dir_path)\n", - " \n", - " pattern = []\n", - " #open the wordlist and then generate a Pattern JSONL File\n", - " for wordlist in wordlists:\n", - " if wordlist == \".ipynb_checkpoints\":\n", - " continue\n", - " label = wordlist.replace(\".txt\",\"\")\n", - " ID = label + \"-bias\"\n", - " list_path = dir_path + \"/\" + wordlist\n", - " pattern.extend(gen_rule_pattern(list_path,directory,ID,to_file=False))\n", - " filepath = \"tweaks/main-ruler-bias.jsonl\"\n", - " with open(filepath, 'a') as file:\n", - " for entry in pattern:\n", - " json.dump(entry, file)\n", - " file.write('\\n')\n", - " return filepath" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "be98225e-8c9e-41f8-a422-ea2586ade56d", - "metadata": {}, - "outputs": [], - "source": [ - "#main_pattern = build_main_pattern(\"adjectives\",True)" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "id": "64a6d281-d8ba-4eea-93ae-2b903d9e5908", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'tweaks/main-ruler-bias.jsonl'" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "ruler.from_disk(main_pattern)\n", - "main_pattern" - ] - }, - { - "cell_type": "code", - "execution_count": 132, - "id": "0e3c5fbe-bff8-4381-916f-4ce088a466f0", - "metadata": {}, - "outputs": [], - "source": [ - "build_pattern_files(\"nouns\",True)" - ] - }, - { - "cell_type": "code", - "execution_count": 135, - "id": "3791ac82-72ad-479f-a120-f2599594be66", - "metadata": {}, - "outputs": [], - "source": [ - "def add_pattern_files(directory):\n", - " dir_path = \"tweaks/\" + directory\n", - " print(dir_path)\n", - " patterns = os.listdir(dir_path)\n", - " for pattern in patterns:\n", - " if pattern[-6:] == \".jsonl\":\n", - " filepath = dir_path + \"/\" + pattern\n", - " print(filepath)\n", - " ruler.from_disk(filepath)" - ] - }, - { - "cell_type": "code", - "execution_count": 172, - "id": "b6afed3a-e76c-41f9-a83f-20d3d601c64f", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
I read an article about a \n", - "\n", - " plane\n", - " geometry\n", - "\n", - " and an \n", - "\n", - " accelerometer\n", - " phones\n", - "\n", - " and a \n", - "\n", - " headset\n", - " phones\n", - "\n", - ". It was an interesting \n", - "\n", - " magazine\n", - " military_navy\n", - "\n", - ".
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "txt_test = \"I read an article about a plane and an accelerometer and a headset. It was an interesting magazine.\"\n", - "doc_test = nlp(txt_test)\n", - "displacy.render(doc_test, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": 171, - "id": "dfb30f42-2abb-4cb7-89b1-0f1227668c18", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
I went through the \n", - "\n", - " extra\n", - " filmmaking\n", - "\n", - " in the \n", - "\n", - " film\n", - " filmmaking\n", - "\n", - ".
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "test2 = \"I went through the extra in the film.\"\n", - "doc2 = nlp(test2)\n", - "displacy.render(doc2, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": 38, - "id": "e0321db2-4fd5-483d-b480-69f0aad70089", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
I saw a \n", - "\n", - " black\n", - " adjectives\n", - "\n", - " \n", - "\n", - " mother\n", - " SOGI\n", - "\n", - " walking with a \n", - "\n", - " white\n", - " adjectives\n", - "\n", - " \n", - "\n", - " boy\n", - " SOGI\n", - "\n", - ". Was \n", - "\n", - " he\n", - " SOGI\n", - "\n", - " \n", - "\n", - " her\n", - " SOGI\n", - "\n", - " child?
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "test3 = \"I saw a black mother walking with a white boy. Was he her child?\"\n", - "doc3 = nlp(test3)\n", - "displacy.render(doc3, style=\"ent\")" - ] - }, - { - "cell_type": "code", - "execution_count": 39, - "id": "8839c32d-2f0e-4615-85bd-9c461e652636", - "metadata": {}, - "outputs": [], - "source": [ - "race_pattern = [[{\"LOWER\": \"black\"},{\"ENT_TYPE\": \"SOGI\"}],[{\"LOWER\": \"white\"},{\"ENT_TYPE\": \"SOGI\"}]]\n", - "matcher.add(\"race bias\", race_pattern)\n", - "matches = matcher(doc3)" - ] - }, - { - "cell_type": "code", - "execution_count": 40, - "id": "dd68331d-bab6-4a49-b39b-15fff819ba42", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "11308906909559912593 race bias 3 5 black mother\n", - "11308906909559912593 race bias 8 10 white boy\n" - ] - } - ], - "source": [ - "for match_id, start, end in matches:\n", - " string_id = nlp.vocab.strings[match_id] # Get string representation\n", - " span = doc3[start:end] # The matched span\n", - " print(match_id, string_id, start, end, span.text)" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "40ddd804-b14a-4b97-af7e-78417f9e446a", - "metadata": {}, - "outputs": [], - "source": [ - "vocab = nlp.vocab" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "35708e2a-6d17-4e71-9c98-7e1f710ce623", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/dynamic-word-list-generation.ipynb b/dynamic-word-list-generation.ipynb deleted file mode 100644 index 243a8f41349a0ed5478b3e4ee45f62cc27347c62..0000000000000000000000000000000000000000 --- a/dynamic-word-list-generation.ipynb +++ /dev/null @@ -1,1287 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "eeaa927c-b8ef-4ee5-ab03-8257899152fd", - "metadata": {}, - "source": [ - "# Building Dynamic Wordlists from WordNet as a fallback\n", - "\n", - "I am using an article from [GeeksforGeeks](https://www.geeksforgeeks.org/get-synonymsantonyms-nltk-wordnet-python/amp/) to guide building lists using NLTK's `WordNet`. I am considering that this may be a way to avoid having to build custom lists and want to test it out.\n", - "\n", - "# Builds a dataframe dynamically from WordNet using NLTK.\n", - "def wordnet_df(word,POS=False,seed_definition=None):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " #print(synonyms, antonyms) #for QA purposes\n", - " words = []\n", - " cats = []\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " #Allow the user to pick a seed definition if it is not provided directly to the function.\n", - " if seed_definition is None:\n", - " if POS in pos_options:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))]\n", - " else:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)]\n", - " for d in range(len(seed_definitions)):\n", - " print(f\"{d}: {seed_definitions[d]}\")\n", - " choice = int(input(\"Which of the definitions above most aligns to your selection?\"))\n", - " seed_definition = seed_definitions[choice]\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " else:\n", - " for syn in wordnet.synsets(m_word):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll)) \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " df = {\"Categories\":cats, \"Words\":words}\n", - " df = pd.DataFrame(df) \n", - " df = df.drop_duplicates().reset_index()\n", - " df = df.drop(\"index\", axis=1)\n", - " return df" - ] - }, - { - "cell_type": "markdown", - "id": "4048815e-8434-4db9-bbb2-652fe0076df3", - "metadata": {}, - "source": [ - "# Building Dynamic Wordlists from WordNet as a fallback\n", - "\n", - "I am using an article from [GeeksforGeeks](https://www.geeksforgeeks.org/get-synonymsantonyms-nltk-wordnet-python/amp/) to guide building lists using NLTK's `WordNet`. I am considering that this may be a way to avoid having to build custom lists and want to test it out." - ] - }, - { - "cell_type": "markdown", - "id": "41374b5c-12c0-4e4d-aa73-20db04b280ff", - "metadata": {}, - "source": [ - "# Building Dynamic Wordlists from WordNet as a fallback\n", - "\n", - "I am using an article from [GeeksforGeeks](https://www.geeksforgeeks.org/get-synonymsantonyms-nltk-wordnet-python/amp/) to guide building lists using NLTK's `WordNet`. I am considering that this may be a way to avoid having to build custom lists and want to test it out." - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "26a97377-67be-4903-9bfa-e8660aeb8c90", - "metadata": {}, - "outputs": [], - "source": [ - "#Import necessary libraries.\n", - "import re, nltk, pandas as pd, numpy as np, ssl\n", - "from nltk.corpus import wordnet\n", - "import spacy\n", - "nlp = spacy.load(\"en_core_web_lg\")" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "42e7a838-bb82-4736-8f70-127c53fea68b", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[nltk_data] Downloading package omw-1.4 to\n", - "[nltk_data] /Users/nbutters/nltk_data...\n", - "[nltk_data] Package omw-1.4 is already up-to-date!\n" - ] - }, - { - "data": { - "text/plain": [ - "True" - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "#If an error is thrown that the corpus \"omw-1.4\" isn't discoverable you can use this code. (https://stackoverflow.com/questions/38916452/nltk-download-ssl-certificate-verify-failed)\n", - "try:\n", - " _create_unverified_https_context = ssl._create_unverified_context\n", - "except AttributeError:\n", - " pass\n", - "else:\n", - " ssl._create_default_https_context = _create_unverified_https_context\n", - " \n", - "nltk.download('omw-1.4')" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "14918489-e5fe-4898-8d4a-8bc0f7b1d9e0", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[Synset('bantam.s.01')]\n", - "16 [Synset('bantam.n.01'), Synset('bantam.s.01'), Synset('diminutive.n.01'), Synset('bantam.s.01'), Synset('lilliputian.n.01'), Synset('lilliputian.n.02'), Synset('lilliputian.a.01'), Synset('bantam.s.01'), Synset('fiddling.s.01'), Synset('dwarf.n.01'), Synset('bantam.s.01'), Synset('petite.n.01'), Synset('bantam.s.01'), Synset('bantam.s.01'), Synset('flyspeck.n.01'), Synset('bantam.s.01')]\n" - ] - } - ], - "source": [ - "hypos = wordnet.synsets(\"tiny\")\n", - "print(hypos)\n", - "new_list = []\n", - "for syn in hypos:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " new_list.append(ll)\n", - "syns = []\n", - "for lemma in new_list:\n", - " syns.extend(wordnet.synsets(lemma))\n", - "print(len(syns),syns)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c3047d11-0512-41af-9db7-62daa8cbb60d", - "metadata": {}, - "outputs": [], - "source": [ - "#Here I define a few test sentences from the Duct-Tape-Pipeline.\n", - "upt1 = \"I like movies starring black actors.\"\n", - "upt2 = \"I am a black trans-woman.\"\n", - "upt3 = \"Native Americans deserve to have their land back.\"\n", - "upt4 = \"This movie was filmed in Iraq.\"" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "b52425b5-2c4d-4a31-a240-feabc319198b", - "metadata": {}, - "outputs": [], - "source": [ - "# A simple function to pull synonyms and antonyms using spacy's POS\n", - "def syn_ant(word,POS=False,human=True):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms = [] \n", - " antonyms = []\n", - " #WordNet hates spaces so you have to remove them\n", - " if \" \" in word:\n", - " word = word.replace(\" \", \"_\")\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(word, pos=getattr(wordnet, POS)): \n", - " for l in syn.lemmas(): \n", - " current = l.name()\n", - " if human:\n", - " current = re.sub(\"_\",\" \",current)\n", - " synonyms.append(current) \n", - " if l.antonyms():\n", - " for ant in l.antonyms():\n", - " cur_ant = ant.name()\n", - " if human:\n", - " cur_ant = re.sub(\"_\",\" \",cur_ant)\n", - " antonyms.append(cur_ant)\n", - " else: \n", - " for syn in wordnet.synsets(word): \n", - " for l in syn.lemmas(): \n", - " current = l.name()\n", - " if human:\n", - " current = re.sub(\"_\",\" \",current)\n", - " synonyms.append(current) \n", - " if l.antonyms():\n", - " for ant in l.antonyms():\n", - " cur_ant = ant.name()\n", - " if human:\n", - " cur_ant = re.sub(\"_\",\" \",cur_ant)\n", - " antonyms.append(cur_ant)\n", - " synonyms = list(set(synonyms))\n", - " antonyms = list(set(antonyms))\n", - " return synonyms, antonyms" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "7cd10cf1-bf0d-4baa-8588-9315cfbe760e", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "['man', \"gentleman's gentleman\", 'Isle of Man', 'Man', 'humanity', 'human', 'piece', 'valet de chambre', 'mankind', 'humans', 'military personnel', 'adult male', 'homo', 'human race', 'valet', 'humankind', 'military man', 'human being', 'serviceman', 'world', 'gentleman', 'human beings'] ['woman', 'civilian']\n" - ] - } - ], - "source": [ - "x, q = syn_ant(\"man\")\n", - "print(x,q)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3b15bcba-ca91-49a0-b873-aff1e61b3053", - "metadata": {}, - "outputs": [], - "source": [ - "doc1 = nlp(upt1)\n", - "doc2 = nlp(upt2)\n", - "doc3 = nlp(upt3)\n", - "doc4 = nlp(upt4)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1220c67b-1776-4a39-8335-c88b96379122", - "metadata": {}, - "outputs": [], - "source": [ - "syn_ant(doc3[0].text,doc3[0].pos_)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "4cc3ada2-90c1-4ecf-b704-9c4bf5146406", - "metadata": {}, - "outputs": [], - "source": [ - "#Discovering that NLTk WordNet uses \"_\" for compounds... and fixed it.\n", - "syn_ant(\"Native_American\", \"NOUN\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "52253e37-5eb1-42f8-a4b8-046542004349", - "metadata": {}, - "outputs": [], - "source": [ - "syn_ant(\"Papua_New_Guinea\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "14eb3c2f-2a5a-4db0-a802-172d9902df70", - "metadata": {}, - "outputs": [], - "source": [ - "syn_ant(\"hate\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "53a3d7af-980a-47bc-b70f-65c1411fba05", - "metadata": {}, - "outputs": [], - "source": [ - "russian = wordnet.synset('mother.n.01')\n", - "print(russian.hyponyms())\n", - "hypos = []\n", - "[hypos.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in hyponyms.lemmas()]) for hyponyms in russian.hyponyms()]\n", - "hypos" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "bd60bca8-96a9-45f5-8c60-e7177ead3f35", - "metadata": {}, - "outputs": [], - "source": [ - "hyper_list = wordnet.synset('woman.n.01')\n", - "print(hyper_list.hypernyms())\n", - "hypers = []\n", - "[hypers.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in hypernyms.lemmas()]) for hypernyms in hyper_list.hypernyms()]\n", - "hypers" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "9b3f4a7f-a4a6-4862-a321-42e1d4be406a", - "metadata": {}, - "outputs": [], - "source": [ - "hyper_list = wordnet.synset('man.n.01')\n", - "print(hyper_list.hypernyms())\n", - "hypers = []\n", - "[hypers.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in hypernyms.lemmas()]) for hypernyms in hyper_list.hypernyms()]\n", - "hypers" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "b9932230-e38d-444d-9814-8668d4bf596c", - "metadata": {}, - "outputs": [], - "source": [ - "parent = wordnet.synset('male.n.02')\n", - "print(parent.hyponyms())\n", - "hypos = []\n", - "[hypos.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in hyponyms.lemmas()]) for hyponyms in parent.hyponyms()]\n", - "hypos" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "51bf50a7-87e0-485e-b055-b5a59c44db06", - "metadata": {}, - "outputs": [], - "source": [ - "hypo2 = [[re.sub(\"_\",\" \",lemma.name()) for lemma in hyponym.lemmas()] for hyponym in parent.hyponyms()]\n", - "hypo2" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "96cce82d-854a-4c3f-b2a1-d8d224357b1d", - "metadata": {}, - "outputs": [], - "source": [ - "syn_ant(\"white supremacist\",\"NOUN\",human=False)" - ] - }, - { - "cell_type": "raw", - "id": "f6cc0a50-ec83-4951-a9bf-86e89e334945", - "metadata": {}, - "source": [ - "## Here's an attempt to explore ConceptNet\n", - "# I have currently commented it out because it is not as useful for where I'm trying to go.\n", - "'''This is an attempt to use [ConceptNet](https://conceptnet.io/), specifically calling their API ([see documentation](https://github.com/commonsense/conceptnet5/wiki/API)). If I can figure out how to build a list of synonyms and antonyms from here then it may represent a good way to set defaults.\n", - "\n", - "#import the necessary library\n", - "import requests\n", - "\n", - "obj = requests.get('http://api.conceptnet.io/c/en/black').json()\n", - "obj.keys()'''" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "310dfd86-d2df-4023-85bc-bed22099b890", - "metadata": {}, - "outputs": [], - "source": [ - "# Builds a list dynamically from WordNet using NLTK.\n", - "def wordnet_list(word,POS=False):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " base = []\n", - " final = [word]\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " else:\n", - " for syn in wordnet.synsets(m_word):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a):\n", - " base.extend(syn.hyponyms())\n", - " base.append(syn)\n", - " base = list(set(base))\n", - " for b in base:\n", - " cur_words = []\n", - " cur_words.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in b.lemmas()])\n", - " final.extend(cur_words)\n", - "\n", - " \n", - " \n", - " final = list(set(final)) \n", - " return final" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "331ad5b4-15da-454f-8b3d-9fe7b131a6d4", - "metadata": {}, - "outputs": [], - "source": [ - "wordnet_list(\"white supremacist\", \"NOUN\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "866e3ba9-6213-4725-9627-2b5054f996e8", - "metadata": {}, - "outputs": [], - "source": [ - "words = wordnet_list(\"girl\", \"NOUN\")\n", - "print(f\"The length of the list is {len(words)}.\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d284ea9c-71d2-4860-882e-64b280d0d699", - "metadata": {}, - "outputs": [], - "source": [ - "text = \"The girl was brought to the front of the class.\"\n", - "test_doc = nlp(text)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f53cbe5f-50db-4b2c-b59a-66864669b244", - "metadata": {}, - "outputs": [], - "source": [ - "df = pd.DataFrame()\n", - "df[\"Words\"] = words\n", - "\n", - "df[\"Sentences\"] = df.Words.apply(lambda x: text.replace(\"girl\",x))\n", - "\n", - "df[\"Similarity\"] = df.Words.apply(lambda x: nlp(\"girl\").similarity(nlp(x)[0]))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "5b4e37dd-f899-47c9-93ea-f92898760819", - "metadata": {}, - "outputs": [], - "source": [ - "df.sort_values(by='Similarity', ascending=False)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "27f912c6-bfa9-4604-8d9d-f4502a0f0ea7", - "metadata": {}, - "outputs": [], - "source": [ - "df2 = df[df.Similarity > 0].reset_index()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "59e35f36-f434-4377-a170-d109ca89dd77", - "metadata": {}, - "outputs": [], - "source": [ - "df2" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2c754d73-9d74-471d-a36f-84a404aa7093", - "metadata": {}, - "outputs": [], - "source": [ - "minimum = df2.Similarity.min()\n", - "text2 = df2.loc[df2['Similarity'] == minimum, 'Words'].iloc[0]\n", - "text2" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "e2853e02-faea-4ce8-800c-70cc6273be02", - "metadata": {}, - "outputs": [], - "source": [ - "maximum = df2[df2.Words != \"girl\"].Similarity.max()\n", - "text3 = df2.loc[df2['Similarity'] == maximum, 'Words'].iloc[0]\n", - "text3" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3f03e090-6c99-41db-b013-a77f2fec6e4d", - "metadata": {}, - "outputs": [], - "source": [ - "df3 = df2[df.Similarity > .5].reset_index()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2bab0a7f-27c7-4dbf-a92b-b0c13d25e5b0", - "metadata": {}, - "outputs": [], - "source": [ - "homo = wordnet.synsets('gay')" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1a1130a9-b5aa-47b4-9e33-738b08f92c7c", - "metadata": {}, - "outputs": [], - "source": [ - "for syn in homo:\n", - " print(syn.lemmas())" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d6e48617-aefb-46f6-9961-21da7f81c8d4", - "metadata": {}, - "outputs": [], - "source": [ - "mother = wordnet.synsets('homo')\n", - "cats = []\n", - "words = []\n", - "for syn in mother:\n", - " lemmas = syn.lemmas()\n", - " for lemma in lemmas:\n", - " ll = lemma.name()\n", - " print(ll)\n", - " cats.append(syn.name().split(\".\")[0])\n", - " words.append(ll)\n", - " \n", - "print(cats,words)\n", - "print(len(cats),len(words))\n", - "df = {\"Categories\":cats, \"Words\":words}\n", - "df = pd.DataFrame(df)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8d55ba70-a569-429e-88d0-84f99772b9be", - "metadata": {}, - "outputs": [], - "source": [ - "df" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "097f927b-28e6-4d10-99a2-621bb758bb77", - "metadata": {}, - "outputs": [], - "source": [ - "def process_text(text):\n", - " doc = nlp(text.lower())\n", - " result = []\n", - " for token in doc:\n", - " if (token.is_stop) or (token.is_punct) or (token.lemma_ == '-PRON-'):\n", - " continue\n", - " result.append(token.lemma_)\n", - " return \" \".join(result)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "18b4469e-4457-405e-9736-58ab9e8d8ac6", - "metadata": {}, - "outputs": [], - "source": [ - "def clean_definition(syn):\n", - " #This function removes stop words from sentences to improve on document level similarity for differentiation.\n", - " if type(syn) is str:\n", - " synset = wordnet.synset(syn).definition()\n", - " elif type(syn) is nltk.corpus.reader.wordnet.Synset:\n", - " synset = syn.definition()\n", - " definition = nlp(\" \".join(token.lemma_ for token in nlp(synset) if not token.is_stop))\n", - " return definition\n", - "\n", - "def check_sim(a,b):\n", - " if type(a) is str and type(b) is str:\n", - " a = nlp(a)\n", - " b = nlp(b)\n", - " similarity = a.similarity(b)\n", - " return similarity" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "ed2323c6-cee1-4d6b-8d33-a53755036acd", - "metadata": {}, - "outputs": [], - "source": [ - "# Builds a dataframe dynamically from WordNet using NLTK.\n", - "def wordnet_df(word,POS=False,seed_definition=None):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " #print(synonyms, antonyms) #for QA purposes\n", - " words = []\n", - " cats = []\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " #Allow the user to pick a seed definition if it is not provided directly to the function.\n", - " if seed_definition is None:\n", - " if POS in pos_options:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))]\n", - " else:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)]\n", - " for d in range(len(seed_definitions)):\n", - " print(f\"{d}: {seed_definitions[d]}\")\n", - " choice = int(input(\"Which of the definitions above most aligns to your selection?\"))\n", - " seed_definition = seed_definitions[choice]\n", - " \n", - " if POS in pos_options:\n", - " for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a, pos=getattr(wordnet, POS)):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " else:\n", - " for syn in wordnet.synsets(m_word):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .7:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll)) \n", - " if len(synonyms) > 0:\n", - " for w in synonyms:\n", - " w = w.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(w):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - " if len(antonyms) > 0:\n", - " for a in antonyms:\n", - " a = a.replace(\" \",\"_\")\n", - " for syn in wordnet.synsets(a):\n", - " if check_sim(process_text(seed_definition),process_text(syn.definition())) > .6:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " df = {\"Categories\":cats, \"Words\":words}\n", - " df = pd.DataFrame(df) \n", - " df = df.drop_duplicates().reset_index()\n", - " df = df.drop(\"index\", axis=1)\n", - " return df" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2e9224f8-9620-464d-8a27-6b5b2ff27983", - "metadata": {}, - "outputs": [], - "source": [ - "df_mother = wordnet_df(\"gay\")\n", - "df_mother" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "003c8941-77e9-45de-a1f5-bd3ac8b6d4a2", - "metadata": {}, - "outputs": [], - "source": [ - "len(df_mother)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3b196716-ee0d-479b-922c-9bac711dd535", - "metadata": {}, - "outputs": [], - "source": [ - "test = wordnet.synsets(\"mother\",wordnet.NOUN)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "bebb801e-6e43-463f-8a3d-7a09b709836e", - "metadata": {}, - "outputs": [], - "source": [ - "test" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "b9a87480-1e25-4614-95fc-5aa201efb9c3", - "metadata": {}, - "outputs": [], - "source": [ - "test1 = wordnet.synsets('father',wordnet.NOUN)\n", - "testx = wordnet.synset(\"mother.n.01\")\n", - "for syn in test1:\n", - " definition = clean_definition(syn)\n", - " test_def = clean_definition(testx)\n", - " print(test_def)\n", - " print(syn, definition, check_sim(process_text(test_def.text),process_text(definition.text)))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1757d434-5f67-465a-9559-34ce2eacf1f1", - "metadata": {}, - "outputs": [], - "source": [ - "test = \"colonizer.n.01\"" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "ea8eb48a-49dd-4aae-b5ae-ae0db2bddc49", - "metadata": {}, - "outputs": [], - "source": [ - "test2 = \"mother.n.01\"" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "7b99656d-efab-4c6e-8dca-0d604cbd5bbe", - "metadata": {}, - "outputs": [], - "source": [ - "mother = nlp(wordnet.synset(\"black.n.05\").definition())\n", - "print(mother)\n", - "colony = nlp(wordnet.synset(\"white.n.01\").definition())\n", - "print(colony)\n", - "print(mother.similarity(colony))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "b735efc4-0c84-4632-b850-7395f27971fe", - "metadata": {}, - "outputs": [], - "source": [ - "mother_processed = nlp(process_text(mother.text))\n", - "colony_processed = nlp(process_text(colony.text))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c5972e22-ae21-4b6a-9c1a-cbd907c8aef1", - "metadata": {}, - "outputs": [], - "source": [ - "print(mother_processed.similarity(colony_processed))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "1046cc13-ea10-4bb1-bd59-daa1507c5c19", - "metadata": {}, - "outputs": [], - "source": [ - "a = clean_definition(test)\n", - "\n", - "b = clean_definition(test2)\n", - "\n", - "a.similarity(b)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "d9f46e35-2bc9-4937-bb5f-ce6d268150af", - "metadata": {}, - "outputs": [], - "source": [ - "a_p = nlp(process_text(a.text))\n", - "b_p = nlp(process_text(b.text))\n", - "a_p.similarity(b_p)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "451815b5-3fa8-48c4-a89a-7b70d19d00da", - "metadata": {}, - "outputs": [], - "source": [ - "check_sim(a,b)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "98519912-fe93-4b9a-85cb-9d7001735627", - "metadata": {}, - "outputs": [], - "source": [ - "test3 = wordnet.synset(\"white_supremacist.n.01\")\n", - "c = clean_definition(test3)\n", - "a.similarity(c)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2d44f7ee-f7a7-421e-9cb5-d0f599c2b9ab", - "metadata": {}, - "outputs": [], - "source": [ - "def get_parallel(word, seed_definition, QA=False):\n", - " cleaned = nlp(process_text(seed_definition))\n", - " root_syns = wordnet.synsets(word)\n", - " hypers = []\n", - " new_hypos = []\n", - " \n", - " for syn in root_syns:\n", - " hypers.extend(syn.hypernyms())\n", - " \n", - " #hypers = list(set([syn for syn in hypers if cleaned.similarity(nlp(process_text(syn.definition()))) >=.5]))\n", - " \n", - " for syn in hypers:\n", - " new_hypos.extend(syn.hyponyms())\n", - " \n", - " hypos = list(set([syn for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.75]))\n", - " print(len(hypos))\n", - " if len(hypos) < 3:\n", - " hypos = list(set([(syn, cleaned.similarity(nlp(process_text(syn.definition())))) for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.5]))\n", - " elif len(hypos) <10:\n", - " hypos = list(set([(syn, cleaned.similarity(nlp(process_text(syn.definition())))) for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.66]))\n", - " elif len(hypos) >= 10: \n", - " hypos = list(set([(syn, cleaned.similarity(nlp(process_text(syn.definition())))) for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.8]))\n", - " elif len(hypos) >= 20:\n", - " hypos = list(set([(syn, cleaned.similarity(nlp(process_text(syn.definition())))) for syn in new_hypos if cleaned.similarity(nlp(process_text(syn.definition()))) >=.9]))\n", - " if QA:\n", - " print(hypers)\n", - " print(hypos)\n", - " return hypers, hypos\n", - " else:\n", - " return hypos\n", - "\n", - "# Builds a dataframe dynamically from WordNet using NLTK.\n", - "def wordnet_parallel_df(word,POS=False,seed_definition=None):\n", - " pos_options = ['NOUN','VERB','ADJ','ADV']\n", - " synonyms, antonyms = syn_ant(word,POS,False)\n", - " #print(synonyms, antonyms) #for QA purposes\n", - " words = []\n", - " cats = []\n", - " #WordNet hates spaces so you have to remove them\n", - " m_word = word.replace(\" \", \"_\")\n", - " \n", - " #Allow the user to pick a seed definition if it is not provided directly to the function.\n", - " if seed_definition is None:\n", - " if POS in pos_options:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))]\n", - " else:\n", - " seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)]\n", - " for d in range(len(seed_definitions)):\n", - " print(f\"{d}: {seed_definitions[d]}\")\n", - " choice = int(input(\"Which of the definitions above most aligns to your selection?\"))\n", - " seed_definition = seed_definitions[choice]\n", - " \n", - " hypos = get_parallel(m_word,seed_definition)\n", - " for syn,sim in hypos:\n", - " cur_lemmas = syn.lemmas()\n", - " hypos = syn.hyponyms()\n", - " for hypo in hypos:\n", - " cur_lemmas.extend(hypo.lemmas())\n", - " for lemma in cur_lemmas:\n", - " ll = lemma.name()\n", - " cats.append(re.sub(\"_\",\" \", syn.name().split(\".\")[0]))\n", - " words.append(re.sub(\"_\",\" \",ll))\n", - "\n", - " df = {\"Categories\":cats, \"Words\":words}\n", - " df = pd.DataFrame(df) \n", - " df = df.drop_duplicates().reset_index()\n", - " df = df.drop(\"index\", axis=1)\n", - " return df" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "dbd95998-ec11-4166-93fa-18c0a99c4d6e", - "metadata": {}, - "outputs": [], - "source": [ - "gay_root = wordnet.synsets(\"gay\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3cdc4a08-2e90-4ab9-ae5e-6c95fd162048", - "metadata": {}, - "outputs": [], - "source": [ - "gay = wordnet.synset(\"gay.s.06\").definition()\n", - "print(gay)\n", - "hypers, hypos1 = get_parallel(\"gay\",gay,True)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "34b80b88-3089-44b5-8c5b-13e5f7ea8446", - "metadata": {}, - "outputs": [], - "source": [ - "len(hypos1)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "a134ba49-19cc-4937-b6af-67e044e3bcd2", - "metadata": {}, - "outputs": [], - "source": [ - "for root in gay_root:\n", - " print(root, root.definition())" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "662ff6a8-b5af-4c6a-8102-39b66b85e5d1", - "metadata": {}, - "outputs": [], - "source": [ - "wordnet.synsets(\"chinese\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "4bc77b81-8c43-4cbb-bc7e-a178e76d3659", - "metadata": {}, - "outputs": [], - "source": [ - "chinese = wordnet.synset(\"chinese.a.01\").definition()\n", - "hypers, hypos = get_parallel(\"chinese\",chinese,True)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8b66bb7a-0ede-48a1-888a-c90e81e2d75d", - "metadata": {}, - "outputs": [], - "source": [ - "lemmas = []\n", - "for hypo in hypos1:\n", - " lemmas.extend([re.sub(\"_\",\" \",lemma.name()) for lemma in hypo[0].lemmas()])\n", - "lemmas" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "221c43f2-05f1-4a48-95a8-eb6a122527e9", - "metadata": {}, - "outputs": [], - "source": [ - "len(lemmas)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3d75b92b-be76-45c5-b955-d1f64ec03bd4", - "metadata": {}, - "outputs": [], - "source": [ - "df = wordnet_parallel_df(\"gay\",seed_definition=gay)\n", - "df.head()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "35194a7a-a814-43c6-a57c-c40e54b81847", - "metadata": {}, - "outputs": [], - "source": [ - "len(df)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "29618210-fec7-40b6-b326-107e8570abca", - "metadata": {}, - "outputs": [], - "source": [ - "df_grouped = df.groupby('Categories').count()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "407cda3a-1d7a-4863-aa1e-e69860e6cfb5", - "metadata": {}, - "outputs": [], - "source": [ - "df_grouped.head()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3b70c510-997a-4675-963c-ca7000e79eb4", - "metadata": {}, - "outputs": [], - "source": [ - "tiny = wordnet.synsets(\"tiny\", wordnet.ADJ)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2fe63d4d-b080-49ae-a1b6-487e8b440e76", - "metadata": {}, - "outputs": [], - "source": [ - "tiny" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "9661c299-369b-4538-86d9-003b3dc9fa5c", - "metadata": {}, - "outputs": [], - "source": [ - "tiny[0].lemmas()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "99a6e4d9-2923-41a9-94b3-09d21c699f21", - "metadata": {}, - "outputs": [], - "source": [ - "new_alt = []\n", - "for lemma in tiny[0].lemmas():\n", - " new_alt.extend(wordnet.synsets(lemma.name()))\n", - "new_alt" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "7ac3e75d-8a0e-44e2-910a-dcfcea86fa9f", - "metadata": {}, - "outputs": [], - "source": [ - "new_alt2 = list(set(new_alt))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "3617a495-c722-466f-a74b-1e22bf025248", - "metadata": {}, - "outputs": [], - "source": [ - "for alt in new_alt2:\n", - " print(alt,alt.hypernyms())" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "cc2f7839-f219-4cf8-ab5d-82781016e6c5", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/multinlc-app.py b/multinlc-app.py deleted file mode 100644 index 8bd53df417ffb5d1267a4ac46b72ccbbf7a7d713..0000000000000000000000000000000000000000 --- a/multinlc-app.py +++ /dev/null @@ -1,143 +0,0 @@ -#Import the libraries we know we'll need for the Generator. -import pandas as pd, spacy, nltk, numpy as np -from spacy.matcher import Matcher -#!python -m spacy download en_core_web_md #Not sure if we need this so I'm going to keep it just in case -nlp = spacy.load("en_core_web_lg") -lemmatizer = nlp.get_pipe("lemmatizer") - -#Import the libraries to support the model and predictions. -from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline -import lime -import torch -import torch.nn.functional as F -from lime.lime_text import LimeTextExplainer - -#Import the libraries for human interaction and visualization. -import altair as alt -import streamlit as st -from annotated_text import annotated_text as ant - -#Import functions needed to build dataframes of keywords from WordNet -from WNgen import * -from NLselector import * - -@st.experimental_singleton -def set_up_explainer(): - class_names = ['negative', 'positive'] - explainer = LimeTextExplainer(class_names=class_names) - return explainer - -@st.experimental_singleton -def prepare_model(): - tokenizer = AutoTokenizer.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") - model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") - pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) - return tokenizer, model, pipe - -@st.experimental_singleton -def prepare_lists(): - countries = pd.read_csv("Assets/Countries/combined-countries.csv") - professions = pd.read_csv("Assets/Professions/soc-professions-2018.csv") - word_lists = [list(countries.Words),list(professions.Words)] - return countries, professions, word_lists - -#Provide all the functions necessary to run the app -#get definitions for control flow in Streamlit -def get_def(word, POS=False): - pos_options = ['NOUN','VERB','ADJ','ADV'] - m_word = word.replace(" ", "_") - if POS in pos_options: - seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))] - else: - seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)] - seed_definition = col1.selectbox("Which definition is most relevant?", seed_definitions, key= "WN_definition") - if col1.button("Choose Definition"): - col1.write("You've chosen a definition.") - st.session_state.definition = seed_definition - return seed_definition - else: - col1.write("Please choose a definition.") - -###Start coding the actual app### -st.set_page_config(layout="wide", page_title="MultiNLC Generator Test") -st.title('MultiNLC Generator Test') -st.write('This is a test of the pipeline Nathan built to generate counterfactuals for the STP-3 research project. Here we test the initial propsoal from Ana for comparing the Natural Language Explanation of multiple alternatives against the original input from a person.') - - - -#Prepare the model -tokenizer, model, pipe = prepare_model() -countries, professions, word_lists = prepare_lists() -explainer = set_up_explainer() -text2 = "" -text3 = "" -cf_df = pd.DataFrame() -if 'definition' not in st.session_state: - st.session_state.definition = None -#if 'option' not in st.session_state: -# st.session_state.option = None -#Get the user to input a sentence -st.write('This first iteration only allows you to evaluate countries.') - -col1, col2, col3 = st.columns(3) -with col1: - text = st.text_input('Provide a sentence you want to evaluate.', placeholder = "I like you. I love you.", key="input") - - #Use spaCy to make the sentence into a doc so we can do NLP. - doc = nlp(st.session_state.input) - #Evaluate the provided sentence for sentiment and probability. - if st.session_state.input != "": - probability, sentiment = eval_pred(text, return_all=True) - options, lime = critical_words(st.session_state.input,options=True) - nat_lang_explanation = construct_nlexp(text,sentiment,probability) - st.altair_chart(lime_viz(lime)) - - #Allow the user to pick an option to generate counterfactuals from. - option = st.radio('Which word would you like to use to generate alternatives?', options, key = "option") - if (any(option in sublist for sublist in word_lists)): - st.write(f'You selected {option}. It matches a list.') - elif option: - st.write(f'You selected {option}. It does not match a list.') - definition = get_def(option) - else: - st.write('Awaiting your selection.') - - if st.button('Generate Alternatives'): - if option in list(countries.Words): - cf_df = gen_cf_country(countries, doc, option) - col1.write('Alternatives created.') - elif option in list(professions.Words): - cf_df = gen_cf_profession(professions, doc, option) - col1.write('Alternatives created.') - else: - ant("Generating alternatives for",(option,"opt","#E0FBFB"), "with a definition of: ",(st.session_state.definition,"def","#E0FBFB"),".") - cf_df = cf_from_wordnet_df(option,text,seed_definition=st.session_state.definition) - col1.write('Alternatives created.') - - - if len(cf_df) != 0: - text2, text3 = get_min_max(cf_df, option) - -with col2: - if text2 != "": - sim2 = cf_df.loc[cf_df['text'] == text2, 'similarity'].iloc[0] - st.write(f"This alternate example is similar to {option}.") - st.write(f" Similarity Score: {np.round(sim2, 2)}, Num Checked: {len(cf_df)}") #for QA purposes - st.write(text2) - exp2 = explainer.explain_instance(text2, predictor, num_features=15, num_samples=2000) - lime_results2 = exp2.as_list() - probability2, sentiment2 = eval_pred(text2, return_all=True) - nat_lang_explanation = construct_nlexp(text2,sentiment2,probability2) - st.altair_chart(lime_viz(lime_results2)) - -with col3: - if text3 != "": - sim3 = cf_df.loc[cf_df['text'] == text3, 'similarity'].iloc[0] - st.write(f"This alternate example is not similar to {option}.") - st.write(f"Similarity Score: {np.round(sim3, 2)}, Num Checked: {len(cf_df)}") #for QA purposes - st.write(text3) - exp3 = explainer.explain_instance(text3, predictor, num_features=15, num_samples=2000) - lime_results3 = exp3.as_list() - probability3, sentiment3 = eval_pred(text3, return_all=True) - nat_lang_explanation = construct_nlexp(text3,sentiment3,probability3) - st.altair_chart(lime_viz(lime_results3)) \ No newline at end of file diff --git a/viznlc-app.py b/viznlc-app.py deleted file mode 100644 index acfe49fe815e2d1d00457e3fd5995ba307f8b858..0000000000000000000000000000000000000000 --- a/viznlc-app.py +++ /dev/null @@ -1,142 +0,0 @@ -#Import the libraries we know we'll need for the Generator. -import pandas as pd, spacy, nltk, numpy as np -from spacy.matcher import Matcher -#!python -m spacy download en_core_web_md #Not sure if we need this so I'm going to keep it just in case -nlp = spacy.load("en_core_web_lg") -lemmatizer = nlp.get_pipe("lemmatizer") - -#Import the libraries to support the model and predictions. -from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline -import lime -import torch -import torch.nn.functional as F -from lime.lime_text import LimeTextExplainer - -#Import the libraries for human interaction and visualization. -import altair as alt -import streamlit as st -from annotated_text import annotated_text as ant - -#Import functions needed to build dataframes of keywords from WordNet -from WNgen import * -from NLselector import * - -@st.experimental_singleton -def set_up_explainer(): - class_names = ['negative', 'positive'] - explainer = LimeTextExplainer(class_names=class_names) - return explainer - -@st.experimental_singleton -def prepare_model(): - tokenizer = AutoTokenizer.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") - model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") - pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True) - return tokenizer, model, pipe - -@st.experimental_singleton -def prepare_lists(): - countries = pd.read_csv("Assets/Countries/combined-countries.csv") - professions = pd.read_csv("Assets/Professions/soc-professions-2018.csv") - word_lists = [list(countries.Words),list(professions.Words)] - return countries, professions, word_lists - -#Provide all the functions necessary to run the app -#get definitions for control flow in Streamlit -def get_def(word, POS=False): - pos_options = ['NOUN','VERB','ADJ','ADV'] - m_word = word.replace(" ", "_") - if POS in pos_options: - seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word, pos=getattr(wordnet, POS))] - else: - seed_definitions = [syn.definition() for syn in wordnet.synsets(m_word)] - seed_definition = col1.selectbox("Which definition is most relevant?", seed_definitions, key= "WN_definition") - if col1.button("Choose Definition"): - col1.write("You've chosen a definition.") - st.session_state.definition = seed_definition - return seed_definition - else: - col1.write("Please choose a definition.") - -###Start coding the actual app### -st.set_page_config(layout="wide", page_title="VizNLC Generator Test") -st.title('VizNLC Generator Test') -st.write('This is a test of the pipeline Nathan built to generate counterfactuals for the STP-3 research project. Here we test the Nathan\'s elaboration for comparing the Natural Language Explanation and a visual display against the original input from a person.') - -#Prepare the model -tokenizer, model, pipe = prepare_model() -countries, professions, word_lists = prepare_lists() -explainer = set_up_explainer() -text2 = "" -text3 = "" -cf_df = pd.DataFrame() -if 'definition' not in st.session_state: - st.session_state.definition = None -if 'option' not in st.session_state: - st.session_state.option = None -proceed = False -#Get the user to input a sentence -st.write('This first iteration only allows you to evaluate countries.') - -col1, col2, col3 = st.columns(3) -with col1: - text = st.text_input('Provide a sentence you want to evaluate.', placeholder = "I like you. I love you.", key="input") - - #Use spaCy to make the sentence into a doc so we can do NLP. - doc = nlp(st.session_state.input) - #Evaluate the provided sentence for sentiment and probability. - if st.session_state.input != "": - probability, sentiment = eval_pred(text, return_all=True) - options, lime = critical_words(st.session_state.input,options=True) - nat_lang_explanation = construct_nlexp(text,sentiment,probability) - st.altair_chart(lime_viz(lime)) - - #Allow the user to pick an option to generate counterfactuals from. - option = st.radio('Which word would you like to use to generate alternatives?', options, key = "option") - if (any(option in sublist for sublist in word_lists)): - st.write(f'You selected {option}. It matches a list.') - elif option: - st.write(f'You selected {option}. It does not match a list.') - definition = get_def(option) - else: - st.write('Awaiting your selection.') - - if st.button('Generate Alternatives'): - if option in list(countries.Words): - cf_df = gen_cf_country(countries, doc, option) - col1.write('Alternatives created.') - elif option in list(professions.Words): - cf_df = gen_cf_country(professions, doc, option) - col1.write('Alternatives created.') - else: - ant("Generating alternatives for",(option,"opt","#E0FBFB"), "with a definition of: ",(st.session_state.definition,"def","#E0FBFB"),".") - cf_df = cf_from_wordnet_df(option,text,seed_definition=st.session_state.definition) - col1.write('Alternatives created.') - - - if len(cf_df) != 0: - text2, text3 = get_min_max(cf_df, option) - -with col2: - if text2 != "": - sim2 = cf_df.loc[cf_df['text'] == text2, 'similarity'].iloc[0] - st.write(f"This alternate example is similar to {option}.") - st.write(f" Similarity Score: {np.round(sim2, 2)}, Num Checked: {len(cf_df)}") #for QA purposes - st.write(text2) - exp2 = explainer.explain_instance(text2, predictor, num_features=15, num_samples=2000) - lime_results2 = exp2.as_list() - probability2, sentiment2 = eval_pred(text2, return_all=True) - nat_lang_explanation = construct_nlexp(text2,sentiment2,probability2) - st.altair_chart(lime_viz(lime_results2)) - -with col3: - if not cf_df.empty: - single_nearest = alt.selection_single(on='mouseover', nearest=True) - full = alt.Chart(cf_df).encode( - alt.X('similarity:Q', scale=alt.Scale(zero=False)), - alt.Y('pred:Q'), - color=alt.Color('Categories:N', legend=alt.Legend(title="Color of Categories")), - size=alt.Size('seed:O'), - tooltip=('Categories','text','pred') - ).mark_circle(opacity=.5).properties(width=450, height=450).add_selection(single_nearest) - st.altair_chart(full) \ No newline at end of file