AmenRa / retriv

A Python Search Engine for Humans 🥸
MIT License
187 stars 22 forks source link

Unreachable code #40

Open dantetemplar opened 4 months ago

dantetemplar commented 4 months ago

I guess this if-statement can not be reached. (no "punkt" key in dictionary).

https://github.com/AmenRa/retriv/blob/0c418a87f06a66e89d388ea3bf52575faf287d91/retriv/sparse_retriever/preprocessing/tokenizer.py#L17-L18