Skip to main content

Utilities for research involving words.

Project description

Python package containing functions that may be useful for word research.

Package Contents

  • clusters: Extract consonant clusters from a list of words.

  • neighbors: Find the phonological neighbors of a list of words using the one-phoneme deletion, addition, or substitution rule (Luce & Pisoni, 1998).

  • syllable_filter: Extract words with the desired number of syllables from a list.

  • words_only: Retrieve only the column of interest from a data frame-like corpus. Specifically intended for extracting words, but has flexibility.

Requirements

  • Python 3 (developed with 3.5)

  • pandas (developed with 0.18.1)

Installation

Using pip install

pip3 install lexlib

From source

git clone https://github.com/cranndarach/lexlib.git
cd lexlib
python setup.py install --user

License

This package is licensed under the terms of the MIT license, copyright (c) 2016 R. J. Steiner.

References

Luce, P. A., & Pisoni, D. B. (1998). Recognizing spoken words: The neighborhood activation model. Ear and Hearing, 19(1), 1.

Project details


Download files

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

Source Distribution

lexlib-1.1.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page