Functionalities
The script provides the following functionalities:

Multiple search modes:
-canonical: Search by the canonical key
-normalised: Search by the normalized form with length marks
-headword: Search across all dictionary headwords

Filtering options:
-By part of speech
-By dictionary source
-Exact or substring matching

Similarity search:
-sound: Find entries with Ellis vocalic variations
-edit: Find entries with similar spelling
-prefix: Find entries that start with a given prefix

Statistics and analysis:
-Get counts of entries by dictionary
-See distribution of parts of speech
-Examine match types