diff --git a/Makefile b/Makefile index beda468e0e..becb1f77b5 100644 --- a/Makefile +++ b/Makefile @@ -96,17 +96,3 @@ spell: venv .PHONY: wrap wrap: venv $(VENV)/bin/powrap **/*.po - -.PHONY: dict_dups -SHELL:=/bin/bash -.ONESHELL: -dict_dups: - if [[ $$(cat dict| sort | uniq -dc) ]]; then - echo -e "\n #######################\n" - echo "duplicated lines in the dict file" - sort dict | uniq -dc |sort -h - exit 1 - else - echo "no duplicated lines" - exit 0 - fi diff --git a/dict b/dictionaries/_base.txt similarity index 100% rename from dict rename to dictionaries/_base.txt diff --git a/scripts/create_dict.py b/scripts/create_dict.py index 882e92e106..5d95ea4a8a 100644 --- a/scripts/create_dict.py +++ b/scripts/create_dict.py @@ -25,10 +25,6 @@ # Remove empty string, from empty lines entries.remove("") -# Read main 'dict' -with open("dict", "r") as f: - entries.update(set(i.rstrip() for i in f.readlines())) - # Write the 'dict.txt' file with open("dict.txt", "w") as f: for e in entries: