Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Package for analyzing word difficulty in Spanish

Project description

Table of Contents

Word Analysis

This modules has a set of functions to analyze Spanish words and determine their difficulty level based on the following dimensions:

  1. Word length
  2. Number of silent letters
  3. Number of different letters with the same sound: e.g., s and z
  4. Number of anagrams: words that can be made with its letters

Getting Started


You will need to install the pandas package to be able to use this module. To install it use pip install pandas.


pip install wdiff


import wdiff
words = ['perro', 'gato', 'serpiente']
wanalyzer = wdiff.WordAnalyzer()

Results will be saved in the current directory as a CSV file.

Contributing to this project

If you encounter any bugs, please open an issue on github. To contribute to this project, clone the repository and submit a pull request. If you wish to become an active maintainer of the project, you can contact me at

All contributions are welcome!


Mario E. Bermonti-Perez. Feel free to contact me at


This project is licensed under the GPL License. See the LICENSE.txt file for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wdiff, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size wdiff-0.0.7-py3-none-any.whl (7.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wdiff-0.0.7.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page