def positionalSingleSearch(query, stop_list, dict_book: dict):
    pipe = Preprocessing()
    pipe.stop_word = stop_list
    tokens = pipe.tokenizer(query)
    stems = pipe.stemmer(tokens)
    w1 = stems[0]
    if dict_book.keys().__contains__(w1):
        posting1: dict = dict_book.get(w1)
        return list(posting1.keys())
    else:
        return []
def positionalSingleSearch(query, stop_list, dict_book: dict):
    pipe = Preprocessing()
    pipe.stop_word = stop_list
    tokens = pipe.tokenizer(query)
    stems = pipe.stemmer(tokens)
    w1 = stems[0]
    if dict_book.keys().__contains__(w1):
        posting1: dict = dict_book.get(w1)
        return list(posting1.keys())
    else:
        return []