Skip to main content

Python implementation of BLICK (a phonotactic probability calculator for English)

Project description

python-BLICK

Python-BLICK is a Python implementation of BLICK (a phonotactic probability calculator for English), originally implemented in Visual Basic by Professor Bruce Hayes. The original version can be found at http://www.linguistics.ucla.edu/people/hayes/BLICK/.

Phonotactic probability refers to a property of a string of segments, such as a word or nonword. Strings with high phonotactic probability align with a language’s phonotactics more closely than words with low phonotactic probability. For instance, the titular nonword blick is highly probable given the phonotactics of English, but the nonword bnick is highly improbable as bn onsets are banned.

BLICK calculates the phonotactic probability of a string of phonological segments using weighted constraints. The phonotactic probability scores are summations of all violations of constraints across the string. Further discussion of how BLICK calculates phonotactic probability on the original version’s website.

Typical usage

from blick import BlickLoader

b = BlickLoader()

#Evaluating single strings of phones

score = b.assessWord(“T EH1 S T”) #Probable string

score = b.assessWord(“AH0 S NG IY1 R Y EH1 S T”) #Improbable string

#Evaluating a text file of strings of phones

b.assessFile(“/path/to/input/file”)

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

python-BLICK-0.2.5.tar.gz (26.1 kB view details)

Uploaded Source

File details

Details for the file python-BLICK-0.2.5.tar.gz.

File metadata

File hashes

Hashes for python-BLICK-0.2.5.tar.gz
Algorithm Hash digest
SHA256 99783b92d02e42150a421daef66f698c8a75e5baeaa49840a91a98af7b76ebc9
MD5 f0f68b5c5c6bbfa0c437f87420352760
BLAKE2b-256 65b4247565af19e94e283365beefb69db8fe7294f725a53a10eb4ee3f25aa3f5

See more details on using hashes here.

Provenance

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