{"_id":"cmudict","_rev":"11-7213fd8fba624c497e45c0895452a8fa","name":"cmudict","description":"A node.js wrapper around the CMU Pronunciation Dictionary","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"cmudict","description":"A node.js wrapper around the CMU Pronunciation Dictionary","keywords":["cmudict","nlp","language","linguistics","english"],"version":"1.0.0","author":{"name":"Nathaniel K Smith","email":"nathanielksmith@gmail.com","url":"http://chiptheglasses.com"},"repository":{"type":"git","url":"git://github.com/nathanielksmith/node-cmudict.git"},"bugs":{"email":"nathanielksmith@gmail.com","url":"http://github.com/nathanielksmith/node-cmudict/issues"},"os":["linux","darwin","freebsd"],"config":{"native":false},"main":"./lib/cmudict","directories":{"lib":"./lib/cmudict"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"Creative Commons Attribution-ShareAlike 3.0","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_npmJsonOpts":{"file":"/home/nksmith/.npm/cmudict/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"cmudict@1.0.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.24","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"446103b6216341c951d9fabfa63c4f27414b96f7","tarball":"https://registry.npmjs.org/cmudict/-/cmudict-1.0.0.tgz","integrity":"sha512-FCpo7/c+mqfNJ8cQ/x6JmyeViQwJl62mPLxUr9ts05obE919oNiArEd7ibWaL/W4AkUZgCQzZA8qXecnErJBqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWC2V7nAivEEu+V7Qs65hydMPLMVGHnTnojuDt8GZPeAiAm7eB9R7cU0QnY8Q/XVz8ILo+nCfCYRenMQr9tTEZRGw=="}]},"scripts":{},"maintainers":[{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"}]},"1.0.1":{"name":"cmudict","description":"A node.js wrapper around the CMU Pronunciation Dictionary","keywords":["cmudict","nlp","language","linguistics","english"],"version":"1.0.1","author":{"name":"Nathaniel K Smith","email":"nathanielksmith@gmail.com","url":"http://chiptheglasses.com"},"repository":{"type":"git","url":"git://github.com/nathanielksmith/node-cmudict.git"},"bugs":{"email":"nathanielksmith@gmail.com","url":"http://github.com/nathanielksmith/node-cmudict/issues"},"os":["linux","darwin","freebsd","solaris","sunos"],"config":{"native":false},"main":"./lib/cmudict","directories":{"lib":"./lib/cmudict"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"Creative Commons Attribution-ShareAlike 3.0","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_npmUser":{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"},"_id":"cmudict@1.0.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"5febe99fb0d5af8f6d5479d93d41cc2e9f67ea09","tarball":"https://registry.npmjs.org/cmudict/-/cmudict-1.0.1.tgz","integrity":"sha512-mrpzFd59Sh5C6RZVac+LCOFdIjpA9hPWZHb1bw+jEjQenv9ak3PWX7wjOwjCyrBVfj0ikTidQ7xb2oHp0EcS3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+jTZlOKUVaUUd8+BMyEkS8Gljb53RosHR/bx/Hcs0QwIhAMXEe4XDQzQDw6N++5+Wf1yGnNtbQ7f+YMECA7KlatG2"}]},"readme":"node-cmudict\n============\ncmudict is a basic wrapper around the [CMU Pronouncing Dictonary](http://www.speech.cs.cmu.edu/cgi-bin/cmudict). The purpose of this\nwrapper is to enable phoneme extraction from a given word to do linguistic\noperations such as syllable counting and rhyming. Note that the dictionary is\nfinite: though large, it will not find certain words. In this case you will\nhave to improvise.\n\nUsage\n-----\n    var CMUDict = require('cmudict').CMUDict;\n    var cmudict = new CMUDict();\n    var phoneme_str = cmudict.get('prosaic'); // 'P R OW0 Z EY1 IH0 K'\n\nCounting syllables and determining the end rhyme is an exercise left up to the\nreader as there are a number of ways to do this.  (see:  [Word Hy-phen-a-tion by Com-put-er](http://www.tug.org/docs/liang/)).\n\nInstallation\n------------\n`npm install cmudict`\n\nPerformance\n-----------\nThe dictionary is a huge flatfile. It is lazily read into memory upon the first\ncall to `.get()`. It takes about 1 second, on average, to read this file in,\nbut from that point on accesses are a simple object property lookup. I\noriginally used [node-mmap](https://github.com/bnoordhuis/node-mmap) but found\nthe performance of `fs.readFileSync()` to be comparable.\n\nAttribution\n-----------\nThe nodejs code was written by Nathaniel K Smith <nathanielksmith@gmail.com>.\nThe CMU Pronouncing Dictionary is Copyright (C) 1993-2008 by Carnegie Mellon\nUniversity.\n\nLicense\n-------\nAll code not under copyright by CMU is licensed under a [Creative Commons Attribution-ShareAlike 3.0](http://creativecommons.org/licenses/by-sa/3.0/).\n","maintainers":[{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"}]},"1.0.2":{"name":"cmudict","description":"A node.js wrapper around the CMU Pronunciation Dictionary","keywords":["cmudict","nlp","language","linguistics","english"],"version":"1.0.2","author":{"name":"Nathaniel K Smith","email":"nathanielksmith@gmail.com","url":"http://chiptheglasses.com"},"repository":{"type":"git","url":"http://github.com/nathanielksmith/node-cmudict"},"bugs":{"mail":"nathanielksmith@gmail.com","url":"http://github.com/nathanielksmith/node-cmudict/issues"},"os":["linux","darwin","freebsd","solaris","sunos","win32"],"config":{"native":false},"main":"./lib/cmudict","directories":{"lib":"./lib/cmudict"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"Creative Commons Attribution-ShareAlike 3.0","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"readme":"node-cmudict\n============\ncmudict is a basic wrapper around the [CMU Pronouncing Dictonary](http://www.speech.cs.cmu.edu/cgi-bin/cmudict). The purpose of this\nwrapper is to enable phoneme extraction from a given word to do linguistic\noperations such as syllable counting and rhyming. Note that the dictionary is\nfinite: though large, it will not find certain words. In this case you will\nhave to improvise.\n\nUsage\n-----\n    var CMUDict = require('cmudict').CMUDict;\n    var cmudict = new CMUDict();\n    var phoneme_str = cmudict.get('prosaic'); // 'P R OW0 Z EY1 IH0 K'\n\nCounting syllables and determining the end rhyme is an exercise left up to the\nreader as there are a number of ways to do this.  (see:  [Word Hy-phen-a-tion by Com-put-er](http://www.tug.org/docs/liang/)).\n\nInstallation\n------------\n`npm install cmudict`\n\nPerformance\n-----------\nThe dictionary is a huge flatfile. It is lazily read into memory upon the first\ncall to `.get()`. It takes about 1 second, on average, to read this file in,\nbut from that point on accesses are a simple object property lookup. I\noriginally used [node-mmap](https://github.com/bnoordhuis/node-mmap) but found\nthe performance of `fs.readFileSync()` to be comparable.\n\nAttribution\n-----------\nThe nodejs code was written by Nathaniel K Smith <nathanielksmith@gmail.com>.\nThe CMU Pronouncing Dictionary is Copyright (C) 1993-2008 by Carnegie Mellon\nUniversity.\n\nLicense\n-------\nAll code not under copyright by CMU is licensed under a [Creative Commons Attribution-ShareAlike 3.0](http://creativecommons.org/licenses/by-sa/3.0/).\n","readmeFilename":"README.md","_id":"cmudict@1.0.2","dist":{"shasum":"663fb73ccb6975332606c709e4adcdd1e181f1df","tarball":"https://registry.npmjs.org/cmudict/-/cmudict-1.0.2.tgz","integrity":"sha512-PiJijXznZSTi69JsOWIxjHEJTK3hwV97AB4RERjFl/LfSrKIX635aRG2eLKtMO6cIZ6L/Q5wRmCIXH66OG6nRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3+D9HuQMetCau4jRDwqce6r2Nm2FT8ZEMQWcX6dVplwIgM/ocef/F6HFJ3CrXs51zorNvEJhUt9f1cdfH0VPk2TY="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"},"maintainers":[{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"}]}},"maintainers":[{"name":"nathanielksmith","email":"nathanielksmith@gmail.com"}],"time":{"modified":"2022-06-13T06:21:55.310Z","created":"2011-08-23T17:33:01.999Z","1.0.0":"2011-08-23T17:33:02.782Z","1.0.1":"2012-06-27T15:12:23.273Z","1.0.2":"2013-05-31T15:16:00.565Z"},"author":{"name":"Nathaniel K Smith","email":"nathanielksmith@gmail.com","url":"http://chiptheglasses.com"},"repository":{"type":"git","url":"http://github.com/nathanielksmith/node-cmudict"},"users":{}}