VariKN language modeling toolkit
Project description
VariKN language modeling toolkit provides tools for training n-gram language models. Amongst the supported methods are:
Absolute discounting
Kneser-Ney smoothing
Revised Kneser pruning
Kneser-Ney growing
The descriptions of Revised Kneser pruning and Kneser-Ney growing can be found in the paper Vesa Siivola, Teemu Hirsimäki and Sami Virpioja, “On Growing and Pruning Kneser-Ney Smoothed N-Gram Models”, IEEE Transactions on Speech, Audio and Language Processing, 15(5):1617-1624, 2007 (available at https://sites.google.com/site/vesassiivola/publications/TASLP2007.pdf).
The package provides a accurate pruning for Kneser-Ney smoothed models. Also, it is possible to train a very high-order n-gram models with the growing algorithm. The models can be output to arpa lm format, which is compatible with most common other tools in the field. You can look at the paper Vesa Siivola, Mathias Creutz and Mikko Kurimo: “Morfessor and VariKN machine learning tools for speech and language technology”, Proceedings of the 8th International Conference on Speech Communication and Technology (INTERSPEECH’07), 2007 (available at https://sites.google.com/site/vesassiivola/publications/is2007less.pdf) for guidelines on typical use.
For help on installing the toolkit, read the file named “install”.
For help on using the built commands, read the file named “commands.html”
If it looks like there is interest in using the toolkit but the documentation is inadequate, let me know the main sticking points and I’ll try to do something about it. If you are interested in a well supported toolkit that provides a wide range of functionality, you might want to look at the srilm toolkit (http://www-speech.sri.com/projects/srilm/).
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.
Source Distribution
Built Distributions
Hashes for varikn-1.2.0b3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e75407ce323c986b8a8dfb978024ba567ce2efcf068a598130af54f9d61b06 |
|
MD5 | f014bfe252fff8d911cbb17ee84e9792 |
|
BLAKE2b-256 | 483f2f4702b16b522309c10fcb481b1229afd999af8f34c8fbcdfe8af8e5768c |
Hashes for varikn-1.2.0b3-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc7bd9c4356bcd15a100f898edeb2c41e28558c2ed3b1bdd73644bc64e922de0 |
|
MD5 | e5f608acdfb83d689437d0b3416d3479 |
|
BLAKE2b-256 | 2e5e171736a8df52e40e2fe9b43f01dac7c6e5760f53167e0191d2ac439e053d |
Hashes for varikn-1.2.0b3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d5e2ef78d822acd7a5b57675414976318cba86a0a83a7276bac411f6d00839 |
|
MD5 | bd269f575971be7eed868de5901fe7b6 |
|
BLAKE2b-256 | fd87a8951968509af80e5e809f78c4a0fa10196d97af1f2e1f123d707d6dc596 |
Hashes for varikn-1.2.0b3-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84851102e81df5959fb4d760720498a073b1600d3a9028f39eb1f543a81c4f7c |
|
MD5 | b7dd35c24e4c6694d3aad77c5d52cb75 |
|
BLAKE2b-256 | 8fd8acf47ff1dd41bef2706e713e3c7a787c8b3b3d0201baa59a190e83abc077 |
Hashes for varikn-1.2.0b3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4228ba855b180db8aaf7dc350c363b33de73542326d15826fb8c21c4f253b091 |
|
MD5 | 5f8475f23e2fa863453498ab3c763cc7 |
|
BLAKE2b-256 | d401903ebe1bfcfc7fa9c9471ed4c29dfd83f5d4a59184a621b3680ae033a384 |
Hashes for varikn-1.2.0b3-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff3c762f455236bad9668aa78ac35f11390d23852f56792c2769005cef0ee96b |
|
MD5 | c5c3266fb9ac38c4d6c29df1d2e76411 |
|
BLAKE2b-256 | 6a133cb8fc325f5626e5817d0d9184ab62cb34d3f4e3ae67193df8c623176c53 |
Hashes for varikn-1.2.0b3-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03d05ccf2d2be7dd0a68e46d6c618b575e873e3e9116a4a5dde0f05cdae5b47 |
|
MD5 | d0a1b8cc66029d041a2e7b2d26158fe6 |
|
BLAKE2b-256 | c22faaef7861649943c5b1978ae86eb52075237440db2195adef5d055bc23144 |
Hashes for varikn-1.2.0b3-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcebd0df025817778f1800bfb677e41d3b3e4548ae0df8af11210f580f36bf01 |
|
MD5 | 6707e8c01b0d8a715317f4cfefac916c |
|
BLAKE2b-256 | 0e1d90dc2f0cdf773539c7394fdb7a50c795474cb09dc7554bd110e138105ef6 |
Hashes for varikn-1.2.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a859d42a322e5da125b19dcf1896a5263a82acbe8aceb2ae5e254b7c8987a40 |
|
MD5 | 8d265d62ad74b50bd4494f418b5b88eb |
|
BLAKE2b-256 | 78aeee517e967682773ddab90b28c1a25eff31b17eced12c93fdeb840ee97473 |
Hashes for varikn-1.2.0b3-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b8c7e38d9198461173cfecb6c3713bda91aaa903bb7e22ea9668929b263cb4 |
|
MD5 | 16906aa9760a7407d6ff182e73120a03 |
|
BLAKE2b-256 | be73a61cff09a8beb3d24d6c98de4ad1c09c9d823e24869bf2e1ea6a303aa63d |
Hashes for varikn-1.2.0b3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cccbae51f1c0e7d4c85cf406547ae8172ffa8e280a3d5d84e2ffb0b418931f5 |
|
MD5 | 752bfd2704b2ce092b581b563a2d8385 |
|
BLAKE2b-256 | 71719ea75a0d5b49e76dfea292b4c78545dec145d81d864070c609e134009459 |
Hashes for varikn-1.2.0b3-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98047e609bcbeb4c1551fb16ce170589720c051654528c4f2cd27714ce089a1e |
|
MD5 | ebacf726be9c1c6cd5391beb67b2eecc |
|
BLAKE2b-256 | 3edb520eec847dcf8d84111cf20cd3fd47fda05af2811c7c9e5c0d252e35fb2c |
Hashes for varikn-1.2.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd77a657f3621ed8b8a64270106eafd8ad7235ea73bb626e07c207a7b2aef18 |
|
MD5 | 36831d12cfdd870a11b3c086c9f11931 |
|
BLAKE2b-256 | dd584423b4c3fa110724db3d77fc0bc6e45f1e3222abb11249ad67dfbfdfe824 |
Hashes for varikn-1.2.0b3-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 083e4e71373a0e6fb1da9af3173333c5b225ee77ae37ca9c3614f255847150c7 |
|
MD5 | a69ae0f3af2b7d940e11f649397ea4ef |
|
BLAKE2b-256 | e0443b5cdb8a7909f93cc0ecebd8853e04b3150aa1e4dda6c075e484e28dc491 |
Hashes for varikn-1.2.0b3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bafd4c0c029bbac684eaed3c896366659dc5cc54adec3540f4daaefc0f99b552 |
|
MD5 | 805c9048db37fdf09e688cfb84845a5e |
|
BLAKE2b-256 | 5979f076811ac21f4ea7557d6ab931805cdaf60c4f96f3348e97eb1a70ef5e16 |
Hashes for varikn-1.2.0b3-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c78f6836b4cef71b2a428577e7dfd1a6c4dbd13e6978197241cd77c1a6e8278 |
|
MD5 | b8038d1e94b43003572af07a598f173c |
|
BLAKE2b-256 | d1f22ee5df2d6d058f16c91045fef2b4f02f82824b0838f678d418922de26865 |
Hashes for varikn-1.2.0b3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ea16e6431035f40528d2e95220de28528889877fa077e1300024de335d24236 |
|
MD5 | 6633ad843ca69fc03f9590da37cd78ee |
|
BLAKE2b-256 | 515af4473ee649b3d20cb32930e6f7c93c5b5ea3bdf7780ce97aeacfe3ea1305 |
Hashes for varikn-1.2.0b3-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3547512a5c509670fbcab441c76f32475a2eec28cb8ed987508ffbdbddc5dd34 |
|
MD5 | de05fc79999a740811655b2073bbaa61 |
|
BLAKE2b-256 | 512d6e59fac7a7f542c564f27306b48053bb56d04c0034f2d33f04200787489f |
Hashes for varikn-1.2.0b3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea01dea149ad8b50344b0f1e8eb8dad2d578842339d55f02ce378bbb99cc42b7 |
|
MD5 | 610d4bed244e63249057edfdadbe67e5 |
|
BLAKE2b-256 | e689fd4579a637193b4e2f0caec348fcff85276b4fc9825e2a6e3e93b28f09b3 |
Hashes for varikn-1.2.0b3-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e6138999fbf4afc1f3a0e1eb8b6b45bb584e92d8faa9d6aac2d8b0aff1693c |
|
MD5 | 6e28442c5599d0e17801e130ed5ee122 |
|
BLAKE2b-256 | b4e278b2c1c8e02e2e0fac27493d6417aca69d872fbfd58cc809ba76f855f914 |
Hashes for varikn-1.2.0b3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d1ff8b02de8c1d5936f5b0652bdf113222218af8ce34671994b7f9be9e9bf76 |
|
MD5 | c93d2be7aff92fa04d599e049ee72f04 |
|
BLAKE2b-256 | dd7230c6a428a5bc88ebd90324e06ede3666f01cb3188ab10a16a04287b065da |
Hashes for varikn-1.2.0b3-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251dede5edb6498cdf086a835697cd0e91787120458cb3c8bddad94220483453 |
|
MD5 | f8cd5b3cd023433556f3562cb988a155 |
|
BLAKE2b-256 | 8186f9331f3dc232c40745ec63e7e32dc055ea8bebad8ba2f94f89865a86f851 |
Hashes for varikn-1.2.0b3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e24619ffbceae64b206114754a25360b28d17152779eb9c8ebc3b733427052 |
|
MD5 | 8761f68984476f4b48c2c88f62000c10 |
|
BLAKE2b-256 | 78e46efc878a446db49bacd4e429cb7662c5cbf21a2476ec1fc4cb84946091ac |
Hashes for varikn-1.2.0b3-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a18329406473c32bdc0ecd440f8c3527027291a50d996c89c76cc9dc685e53 |
|
MD5 | 6d9b5d0793f9b06a6d7340d00d2562ec |
|
BLAKE2b-256 | 2a3d9f0b3369c258719a60e8647086f9317de95c5248398cf580e93a22fb7e43 |
Hashes for varikn-1.2.0b3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c36d90af6c38f653692cada1dbd7c7b9b19053e431efa956d51b18c1639461d |
|
MD5 | ad5bd48693579f62e453c9427ee6ccc8 |
|
BLAKE2b-256 | feb67db252a9a6e8ad10ef60ed7d8b60cce76531fbcfc16e7b4d643997b6326c |
Hashes for varikn-1.2.0b3-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf150f1fcc344f7c7984411b30b7172d21cbf281ffb24a6696aa031b82479ed3 |
|
MD5 | 25eb497b299c1a3e4a9872895992a51b |
|
BLAKE2b-256 | 4c99d064f437044d76b9061425e58e48231d48124a432f58146182c1fac2ef36 |
Hashes for varikn-1.2.0b3-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467e206a3d0e43154c42bb0d976283d5c5f83eac5555cfe40b91f5fc219faa49 |
|
MD5 | 90eadc20797ca1b15d61dde578a4df3e |
|
BLAKE2b-256 | a9b2f1fd343a49d82be34f74da097b56061755e3b35a9e4b793d87a55c6de6a7 |
Hashes for varikn-1.2.0b3-cp36-cp36m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174c650e1612b3573303a00f3d414afd5b7e014a1872d9faf2078833db47d93e |
|
MD5 | f17fd3478f3f726d4078658c00f105d2 |
|
BLAKE2b-256 | 469f792f5eaa97cbcde4a14103016843f36eea88b846988d56afa75ba85131f8 |
Hashes for varikn-1.2.0b3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba2d10e5b598f6ce9ae002263485691408b30291da542b1fc12170d0616eb6a |
|
MD5 | 22cc224c694d5b4cffefe487ee4a1e15 |
|
BLAKE2b-256 | 141fa6a033d989824a6e8340fa389dc3b381815e81f313a37504f7f172cff3d9 |
Hashes for varikn-1.2.0b3-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1cf185499d29df70343558c85fc0cdd56908b088a95c719844ac01b703e6b6 |
|
MD5 | 8026ee4f47a6e259957f6c0d0848a174 |
|
BLAKE2b-256 | 3b8b7492d967b398277833b218d808d943289820e2816306db3b9f898f472f63 |