Skip to main content

Python library for some utilities that may be useful for word research.

https://badge.fury.io/py/lexlib.svg

Features

  • Extract consonant clusters from a word or list of words.

  • Find neighbors of words.

  • Other neighbor utilities, e.g., type of neighbor relationship, position of divergence.

  • Get the syllable count for words or a list of words, or filter lists of words by number of syllables.

  • Get the consonant-vowel structure of a word.

Requirements

  • Python 3

Installation

Using pip install

pip3 install lexlib

From source

git clone for the development version

git clone https://github.com/cranndarach/lexlib.git
cd lexlib
pip install

Download a release

Download the latest release

In a terminal (remember to update the path):

cd path/to/download/lexlib-x.y.z.tar.gz
tar -xvf lexlib-x.y.z.tar.gz
cd lexlib-x.y.z/
pip install

Usage

To import the package to use in your project

import lexlib as lx

For documentation on specific functions, see the docs/ directory or the online documentation or enter help(lx.function_name) into your interpreter.

License

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

Release files for lexlib 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lexlib 3.0.0
File Size Uploaded
lexlib-3.0.0.tar.gz 6.2 kB Details

Release files / lexlib-3.0.0.tar.gz

Download URL lexlib-3.0.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ba034ef676453ab4394d394fc5e38739b7370eee236607e59fc708e7ce7811f
BLAKE2b-256 checksum
How to use checksums
a33512a215e995be8ebf99cbb4f6ab39ed6de8396cf0768da6ca15693216429e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

3.0.0 This release

1 release file

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.2.0

2 release files

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page