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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.