@stdlib/datasets-cmudict 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/data/dict.json +1 -1
- package/data/phones.json +1 -1
- package/data/symbols.json +1 -1
- package/data/vp.json +1 -1
- package/dist/index.js.map +1 -1
- package/lib/browser.js +1 -1
- package/lib/main.js +1 -1
- package/package.json +12 -23
package/data/phones.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"AA":"vowel","AE":"vowel","AH":"vowel","AO":"vowel","AW":"vowel","AY":"vowel","B":"stop","CH":"affricate","D":"stop","DH":"fricative","EH":"vowel","ER":"vowel","EY":"vowel","F":"fricative","G":"stop","HH":"aspirate","IH":"vowel","IY":"vowel","JH":"affricate","K":"stop","L":"liquid","M":"nasal","N":"nasal","NG":"nasal","OW":"vowel","OY":"vowel","P":"stop","R":"liquid","S":"fricative","SH":"fricative","T":"stop","TH":"fricative","UH":"vowel","UW":"vowel","V":"fricative","W":"semivowel","Y":"semivowel","Z":"fricative","ZH":"fricative"}
|
|
1
|
+
{"AA":"vowel","AE":"vowel","AH":"vowel","AO":"vowel","AW":"vowel","AY":"vowel","B":"stop","CH":"affricate","D":"stop","DH":"fricative","EH":"vowel","ER":"vowel","EY":"vowel","F":"fricative","G":"stop","HH":"aspirate","IH":"vowel","IY":"vowel","JH":"affricate","K":"stop","L":"liquid","M":"nasal","N":"nasal","NG":"nasal","OW":"vowel","OY":"vowel","P":"stop","R":"liquid","S":"fricative","SH":"fricative","T":"stop","TH":"fricative","UH":"vowel","UW":"vowel","V":"fricative","W":"semivowel","Y":"semivowel","Z":"fricative","ZH":"fricative"}
|
package/data/symbols.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
["AA","AA0","AA1","AA2","AE","AE0","AE1","AE2","AH","AH0","AH1","AH2","AO","AO0","AO1","AO2","AW","AW0","AW1","AW2","AY","AY0","AY1","AY2","B","CH","D","DH","EH","EH0","EH1","EH2","ER","ER0","ER1","ER2","EY","EY0","EY1","EY2","F","G","HH","IH","IH0","IH1","IH2","IY","IY0","IY1","IY2","JH","K","L","M","N","NG","OW","OW0","OW1","OW2","OY","OY0","OY1","OY2","P","R","S","SH","T","TH","UH","UH0","UH1","UH2","UW","UW0","UW1","UW2","V","W","Y","Z","ZH",""]
|
|
1
|
+
["AA","AA0","AA1","AA2","AE","AE0","AE1","AE2","AH","AH0","AH1","AH2","AO","AO0","AO1","AO2","AW","AW0","AW1","AW2","AY","AY0","AY1","AY2","B","CH","D","DH","EH","EH0","EH1","EH2","ER","ER0","ER1","ER2","EY","EY0","EY1","EY2","F","G","HH","IH","IH0","IH1","IH2","IY","IY0","IY1","IY2","JH","K","L","M","N","NG","OW","OW0","OW1","OW2","OY","OY0","OY1","OY2","P","R","S","SH","T","TH","UH","UH0","UH1","UH2","UW","UW0","UW1","UW2","V","W","Y","Z","ZH",""]
|
package/data/vp.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"!exclamation-point":"EH2 K S K L AH0 M EY1 SH AH0 N P OY2 N T","\"close-quote":"K L OW1 Z K W OW1 T","\"double-quote":"D AH1 B AH0 L K W OW1 T","\"end-of-quote":"EH1 N D AH0 V K W OW1 T","\"end-quote":"EH1 N D K W OW1 T","\"in-quotes":"IH1 N K W OW1 T S","\"quote":"K W OW1 T","\"unquote":"AH1 N K W OW1 T","#sharp-sign":"SH AA1 R P S AY1 N","%percent":"P ER0 S EH1 N T","&ersand":"AE1 M P ER0 S AE2 N D","(begin-parens":"B IH0 G IH1 N P ER0 EH1 N Z","(in-parentheses":"IH1 N P ER0 EH1 N TH AH0 S IY2 Z","(left-paren":"L EH1 F T P ER0 EH1 N","(open-parentheses":"OW1 P AH0 N P ER0 EH1 N TH AH0 S IY2 Z","(paren":"P ER0 EH1 N","(parens":"P ER0 EH1 N Z","(parentheses":"P ER0 EH1 N TH AH0 S IY2 Z",")close-paren":"K L OW1 Z P ER0 EH1 N",")close-parentheses":"K L OW1 Z P ER0 EH1 N TH AH0 S IY2 Z",")end-paren":"EH1 N D P ER0 EH1 N",")end-parens":"EH1 N D P ER0 EH1 N Z",")end-parentheses":"EH1 N D P ER0 EH1 N TH AH0 S IY2 Z",")end-the-paren":"EH1 N D DH AH0 P ER0 EH1 N",")paren":"P ER0 EH1 N",")parens":"P ER0 EH1 N Z",")right-paren":"R AY1 T P ER0 EH1 N",")right-paren(1)":"R AY1 T P EH1 R AH0 N",")un-parentheses":"AH1 N P ER0 EH1 N TH AH0 S IY1 Z",",comma":"K AA1 M AH0","-dash":"D AE1 SH","-hyphen":"HH AY1 F AH0 N","...ellipsis":"IH0 L IH1 P S IH0 S",".decimal":"D EH1 S AH0 M AH0 L",".dot":"D AA1 T",".full-stop":"F UH1 L S T AA1 P",".period":"P IH1 R IY0 AH0 D",".point":"P OY1 N T","/slash":"S L AE1 SH",":colon":"K OW1 L AH0 N",";semi-colon":"S EH1 M IY0 K OW1 L AH0 N",";semi-colon(1)":"S EH1 M IH0 K OW2 L AH0 N","?question-mark":"K W EH1 S CH AH0 N M AA1 R K","{brace":"B R EY1 S","{left-brace":"L EH1 F T B R EY1 S","{open-brace":"OW1 P EH0 N B R EY1 S","}close-brace":"K L OW1 Z B R EY1 S","}right-brace":"R AY1 T B R EY1 S","'end-inner-quote":"EH1 N D IH1 N ER0 K W OW1 T","'end-quote":"EH1 N D K W OW1 T","'inner-quote":"IH1 N ER0 K W OW1 T","'single-quote":"S IH1 NG G AH0 L K W OW1 T","'quote":"K W OW1 T","'apostrophe":"AH0 P AA1 S T R AH0 F IY0","":""}
|
|
1
|
+
{"!exclamation-point":"EH2 K S K L AH0 M EY1 SH AH0 N P OY2 N T","\"close-quote":"K L OW1 Z K W OW1 T","\"double-quote":"D AH1 B AH0 L K W OW1 T","\"end-of-quote":"EH1 N D AH0 V K W OW1 T","\"end-quote":"EH1 N D K W OW1 T","\"in-quotes":"IH1 N K W OW1 T S","\"quote":"K W OW1 T","\"unquote":"AH1 N K W OW1 T","#sharp-sign":"SH AA1 R P S AY1 N","%percent":"P ER0 S EH1 N T","&ersand":"AE1 M P ER0 S AE2 N D","(begin-parens":"B IH0 G IH1 N P ER0 EH1 N Z","(in-parentheses":"IH1 N P ER0 EH1 N TH AH0 S IY2 Z","(left-paren":"L EH1 F T P ER0 EH1 N","(open-parentheses":"OW1 P AH0 N P ER0 EH1 N TH AH0 S IY2 Z","(paren":"P ER0 EH1 N","(parens":"P ER0 EH1 N Z","(parentheses":"P ER0 EH1 N TH AH0 S IY2 Z",")close-paren":"K L OW1 Z P ER0 EH1 N",")close-parentheses":"K L OW1 Z P ER0 EH1 N TH AH0 S IY2 Z",")end-paren":"EH1 N D P ER0 EH1 N",")end-parens":"EH1 N D P ER0 EH1 N Z",")end-parentheses":"EH1 N D P ER0 EH1 N TH AH0 S IY2 Z",")end-the-paren":"EH1 N D DH AH0 P ER0 EH1 N",")paren":"P ER0 EH1 N",")parens":"P ER0 EH1 N Z",")right-paren":"R AY1 T P ER0 EH1 N",")right-paren(1)":"R AY1 T P EH1 R AH0 N",")un-parentheses":"AH1 N P ER0 EH1 N TH AH0 S IY1 Z",",comma":"K AA1 M AH0","-dash":"D AE1 SH","-hyphen":"HH AY1 F AH0 N","...ellipsis":"IH0 L IH1 P S IH0 S",".decimal":"D EH1 S AH0 M AH0 L",".dot":"D AA1 T",".full-stop":"F UH1 L S T AA1 P",".period":"P IH1 R IY0 AH0 D",".point":"P OY1 N T","/slash":"S L AE1 SH",":colon":"K OW1 L AH0 N",";semi-colon":"S EH1 M IY0 K OW1 L AH0 N",";semi-colon(1)":"S EH1 M IH0 K OW2 L AH0 N","?question-mark":"K W EH1 S CH AH0 N M AA1 R K","{brace":"B R EY1 S","{left-brace":"L EH1 F T B R EY1 S","{open-brace":"OW1 P EH0 N B R EY1 S","}close-brace":"K L OW1 Z B R EY1 S","}right-brace":"R AY1 T B R EY1 S","'end-inner-quote":"EH1 N D IH1 N ER0 K W OW1 T","'end-quote":"EH1 N D K W OW1 T","'inner-quote":"IH1 N ER0 K W OW1 T","'single-quote":"S IH1 NG G AH0 L K W OW1 T","'quote":"K W OW1 T","'apostrophe":"AH0 P AA1 S T R AH0 F IY0","":""}
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../lib/validate.js", "../lib/main.js", "../lib/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar hasOwnProp = require( '@stdlib/assert-has-own-property' );\nvar isObject = require( '@stdlib/assert-is-plain-object' );\nvar isString = require( '@stdlib/assert-is-string' ).isPrimitive;\nvar format = require( '@stdlib/string-format' );\n\n\n// MAIN //\n\n/**\n* Validates function options.\n*\n* @private\n* @param {Object} opts - destination object\n* @param {Options} options - function options\n* @param {string} [options.data] - dataset name\n* @returns {(Error|null)} null or an error object\n*\n* @example\n* var opts = {};\n* var options = {\n* 'data': 'phones'\n* };\n* var err = validate( opts, options );\n* if ( err ) {\n* throw err;\n* }\n*/\nfunction validate( opts, options ) {\n\tif ( !isObject( options ) ) {\n\t\treturn new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );\n\t}\n\tif ( hasOwnProp( options, 'data' ) ) {\n\t\topts.data = options.data;\n\t\tif ( !isString( opts.data ) ) {\n\t\t\treturn new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'data', opts.data ) );\n\t\t}\n\t}\n\treturn null;\n}\n\n\n// EXPORTS //\n\nmodule.exports = validate;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar resolve = require( 'path' ).resolve;\nvar format = require( '@stdlib/string-format' );\nvar readJSON = require( '@stdlib/fs-read-json' ).sync;\nvar hasOwnProp = require( '@stdlib/assert-has-own-property' );\nvar validate = require( './validate.js' );\n\n\n// VARIABLES //\n\nvar keys = [ 'dict', 'phones', 'symbols', 'vp' ];\nvar dataCMU = {\n\t'dict': resolve( __dirname, '..', 'data', 'dict.json' ),\n\t'phones': resolve( __dirname, '..', 'data', 'phones.json' ),\n\t'symbols': resolve( __dirname, '..', 'data', 'symbols.json' ),\n\t'vp': resolve( __dirname, '..', 'data', 'vp.json' )\n};\nvar fopts = {\n\t'encoding': 'utf8'\n};\n\n\n// MAIN //\n\n/**\n* Returns datasets from the Carnegie Mellon Pronouncing Dictionary (CMUdict).\n*\n* ## Notes\n*\n* - This function synchronously reads data from disk for each invocation. Such behavior is intentional and so is the avoidance of `require`. We assume that invocations are infrequent, and we want to avoid the `require` cache. This means that we allow data to be garbage collected and a user is responsible for explicitly caching data.\n*\n* @param {Options} [options] - options object\n* @param {string} [options.data] - dataset name\n* @throws {Error} unable to read data\n* @throws {TypeError} must provide an object\n* @throws {TypeError} must provide valid options\n* @throws {RangeError} must provide a recognized dataset name\n* @returns {(Object|StringArray)} dataset(s)\n*\n* @example\n* var data = cmudict();\n* // returns <Object>\n*\n* @example\n* var data = cmudict({\n
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar hasOwnProp = require( '@stdlib/assert-has-own-property' );\nvar isObject = require( '@stdlib/assert-is-plain-object' );\nvar isString = require( '@stdlib/assert-is-string' ).isPrimitive;\nvar format = require( '@stdlib/string-format' );\n\n\n// MAIN //\n\n/**\n* Validates function options.\n*\n* @private\n* @param {Object} opts - destination object\n* @param {Options} options - function options\n* @param {string} [options.data] - dataset name\n* @returns {(Error|null)} null or an error object\n*\n* @example\n* var opts = {};\n* var options = {\n* 'data': 'phones'\n* };\n* var err = validate( opts, options );\n* if ( err ) {\n* throw err;\n* }\n*/\nfunction validate( opts, options ) {\n\tif ( !isObject( options ) ) {\n\t\treturn new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );\n\t}\n\tif ( hasOwnProp( options, 'data' ) ) {\n\t\topts.data = options.data;\n\t\tif ( !isString( opts.data ) ) {\n\t\t\treturn new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'data', opts.data ) );\n\t\t}\n\t}\n\treturn null;\n}\n\n\n// EXPORTS //\n\nmodule.exports = validate;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar resolve = require( 'path' ).resolve;\nvar format = require( '@stdlib/string-format' );\nvar readJSON = require( '@stdlib/fs-read-json' ).sync;\nvar hasOwnProp = require( '@stdlib/assert-has-own-property' );\nvar validate = require( './validate.js' );\n\n\n// VARIABLES //\n\nvar keys = [ 'dict', 'phones', 'symbols', 'vp' ];\nvar dataCMU = {\n\t'dict': resolve( __dirname, '..', 'data', 'dict.json' ),\n\t'phones': resolve( __dirname, '..', 'data', 'phones.json' ),\n\t'symbols': resolve( __dirname, '..', 'data', 'symbols.json' ),\n\t'vp': resolve( __dirname, '..', 'data', 'vp.json' )\n};\nvar fopts = {\n\t'encoding': 'utf8'\n};\n\n\n// MAIN //\n\n/**\n* Returns datasets from the Carnegie Mellon Pronouncing Dictionary (CMUdict).\n*\n* ## Notes\n*\n* - This function synchronously reads data from disk for each invocation. Such behavior is intentional and so is the avoidance of `require`. We assume that invocations are infrequent, and we want to avoid the `require` cache. This means that we allow data to be garbage collected and a user is responsible for explicitly caching data.\n*\n* @param {Options} [options] - options object\n* @param {string} [options.data] - dataset name\n* @throws {Error} unable to read data\n* @throws {TypeError} must provide an object\n* @throws {TypeError} must provide valid options\n* @throws {RangeError} must provide a recognized dataset name\n* @returns {(Object|StringArray)} dataset(s)\n*\n* @example\n* var data = cmudict();\n* // returns <Object>\n*\n* @example\n* var data = cmudict({\n* 'data': 'symbols'\n* });\n* // returns <Array>\n*/\nfunction cmudict( options ) {\n\tvar opts;\n\tvar err;\n\tvar key;\n\tvar out;\n\tvar val;\n\tvar i;\n\n\tif ( arguments.length > 0 ) {\n\t\topts = {};\n\t\terr = validate( opts, options );\n\t\tif ( err ) {\n\t\t\tthrow err;\n\t\t}\n\t\tif ( opts.data ) {\n\t\t\tif ( !hasOwnProp( dataCMU, opts.data ) ) {\n\t\t\t\tthrow new RangeError( format( 'invalid option. `%s` option must be one of the following: \"%s\". Option: `%s`.', 'data', keys.join( '\", \"' ), opts.data ) );\n\t\t\t}\n\t\t\tout = readJSON( dataCMU[ opts.data ], fopts );\n\t\t\tif ( out instanceof Error ) {\n\t\t\t\tthrow out;\n\t\t\t}\n\t\t\treturn out;\n\t\t}\n\t}\n\tout = {};\n\tfor ( i = 0; i < keys.length; i++ ) {\n\t\tkey = keys[ i ];\n\t\tval = readJSON( dataCMU[ key ] );\n\t\tif ( val instanceof Error ) {\n\t\t\tthrow val;\n\t\t}\n\t\tout[ key ] = val;\n\t}\n\treturn out;\n}\n\n\n// EXPORTS //\n\nmodule.exports = cmudict;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* The Carnegie Mellon Pronouncing Dictionary (CMUdict).\n*\n* @module @stdlib/datasets-cmudict\n*\n* @example\n* var dict = require( '@stdlib/datasets-cmudict' );\n*\n* var data = dict();\n* // returns {...}\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
|
|
5
5
|
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAa,QAAS,iCAAkC,EACxDC,EAAW,QAAS,gCAAiC,EACrDC,EAAW,QAAS,0BAA2B,EAAE,YACjDC,EAAS,QAAS,uBAAwB,EAwB9C,SAASC,EAAUC,EAAMC,EAAU,CAClC,OAAML,EAAUK,CAAQ,EAGnBN,EAAYM,EAAS,MAAO,IAChCD,EAAK,KAAOC,EAAQ,KACf,CAACJ,EAAUG,EAAK,IAAK,GAClB,IAAI,UAAWF,EAAQ,8DAA+D,OAAQE,EAAK,IAAK,CAAE,EAG5G,KARC,IAAI,UAAWF,EAAQ,qEAAsEG,CAAQ,CAAE,CAShH,CAKAP,EAAO,QAAUK,ICjEjB,IAAAG,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAU,QAAS,MAAO,EAAE,QAC5BC,EAAS,QAAS,uBAAwB,EAC1CC,EAAW,QAAS,sBAAuB,EAAE,KAC7CC,EAAa,QAAS,iCAAkC,EACxDC,EAAW,IAKXC,EAAO,CAAE,OAAQ,SAAU,UAAW,IAAK,EAC3CC,EAAU,CACb,KAAQN,EAAS,UAAW,KAAM,OAAQ,WAAY,EACtD,OAAUA,EAAS,UAAW,KAAM,OAAQ,aAAc,EAC1D,QAAWA,EAAS,UAAW,KAAM,OAAQ,cAAe,EAC5D,GAAMA,EAAS,UAAW,KAAM,OAAQ,SAAU,CACnD,EACIO,EAAQ,CACX,SAAY,MACb,EA8BA,SAASC,EAASC,EAAU,CAC3B,IAAIC,EACAC,EACAC,EACAC,EACAC,EACA,EAEJ,GAAK,UAAU,OAAS,EAAI,CAG3B,GAFAJ,EAAO,CAAC,EACRC,EAAMP,EAAUM,EAAMD,CAAQ,EACzBE,EACJ,MAAMA,EAEP,GAAKD,EAAK,KAAO,CAChB,GAAK,CAACP,EAAYG,EAASI,EAAK,IAAK,EACpC,MAAM,IAAI,WAAYT,EAAQ,gFAAiF,OAAQI,EAAK,KAAM,MAAO,EAAGK,EAAK,IAAK,CAAE,EAGzJ,GADAG,EAAMX,EAAUI,EAASI,EAAK,IAAK,EAAGH,CAAM,EACvCM,aAAe,MACnB,MAAMA,EAEP,OAAOA,CACR,CACD,CAEA,IADAA,EAAM,CAAC,EACD,EAAI,EAAG,EAAIR,EAAK,OAAQ,IAAM,CAGnC,GAFAO,EAAMP,EAAM,CAAE,EACdS,EAAMZ,EAAUI,EAASM,CAAI,CAAE,EAC1BE,aAAe,MACnB,MAAMA,EAEPD,EAAKD,CAAI,EAAIE,CACd,CACA,OAAOD,CACR,CAKAd,EAAO,QAAUS,IC5EjB,IAAIO,EAAO,IAKX,OAAO,QAAUA",
|
|
6
6
|
"names": ["require_validate", "__commonJSMin", "exports", "module", "hasOwnProp", "isObject", "isString", "format", "validate", "opts", "options", "require_main", "__commonJSMin", "exports", "module", "resolve", "format", "readJSON", "hasOwnProp", "validate", "keys", "dataCMU", "fopts", "cmudict", "options", "opts", "err", "key", "out", "val", "main"]
|
|
7
7
|
}
|
package/lib/browser.js
CHANGED
package/lib/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/datasets-cmudict",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "The Carnegie Mellon Pronouncing Dictionary (CMUdict).",
|
|
5
5
|
"license": "Apache-2.0 and BSD",
|
|
6
6
|
"author": {
|
|
@@ -16,21 +16,14 @@
|
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"browser": "./lib/browser.js",
|
|
18
18
|
"directories": {
|
|
19
|
-
"benchmark": "./benchmark",
|
|
20
19
|
"data": "./data",
|
|
21
20
|
"doc": "./docs",
|
|
22
|
-
"example": "./examples",
|
|
23
21
|
"lib": "./lib",
|
|
24
22
|
"scripts": "./scripts",
|
|
25
|
-
"
|
|
23
|
+
"dist": "./dist"
|
|
26
24
|
},
|
|
27
25
|
"types": "./docs/types",
|
|
28
|
-
"scripts": {
|
|
29
|
-
"test": "make test",
|
|
30
|
-
"test-cov": "make test-cov",
|
|
31
|
-
"examples": "make examples",
|
|
32
|
-
"benchmark": "make benchmark"
|
|
33
|
-
},
|
|
26
|
+
"scripts": {},
|
|
34
27
|
"homepage": "https://stdlib.io",
|
|
35
28
|
"repository": {
|
|
36
29
|
"type": "git",
|
|
@@ -40,20 +33,16 @@
|
|
|
40
33
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
41
34
|
},
|
|
42
35
|
"dependencies": {
|
|
43
|
-
"@stdlib/assert-has-own-property": "^0.
|
|
44
|
-
"@stdlib/assert-is-plain-object": "^0.2.
|
|
45
|
-
"@stdlib/assert-is-string": "^0.2.
|
|
46
|
-
"@stdlib/fs-read-json": "^0.2.
|
|
47
|
-
"@stdlib/string-format": "^0.2.
|
|
48
|
-
"@stdlib/utils-copy": "^0.2.
|
|
49
|
-
"@stdlib/utils-keys": "^0.2.
|
|
50
|
-
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"proxyquire": "^2.0.0",
|
|
53
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
54
|
-
"istanbul": "^0.4.1",
|
|
55
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
36
|
+
"@stdlib/assert-has-own-property": "^0.2.2",
|
|
37
|
+
"@stdlib/assert-is-plain-object": "^0.2.2",
|
|
38
|
+
"@stdlib/assert-is-string": "^0.2.2",
|
|
39
|
+
"@stdlib/fs-read-json": "^0.2.2",
|
|
40
|
+
"@stdlib/string-format": "^0.2.2",
|
|
41
|
+
"@stdlib/utils-copy": "^0.2.2",
|
|
42
|
+
"@stdlib/utils-keys": "^0.2.2",
|
|
43
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
|
|
56
44
|
},
|
|
45
|
+
"devDependencies": {},
|
|
57
46
|
"engines": {
|
|
58
47
|
"node": ">=0.10.0",
|
|
59
48
|
"npm": ">2.7.0"
|