Skip to content

A JS investigation of letter/word sounds and Audio Analysis for use in the Speech-to-Text-in-TW5

License

Notifications You must be signed in to change notification settings

flancast90/TW-Sounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TW-Sounds

A JS investigation of letter/word sounds and Audio Analysis for use in the Speech-to-Text-in-TW5


Install

Include this library in your browser through the HTML <script> tags.

<script src="https://flancast90.github.io/TW-Sounds/src/tw-sounds.js"></script>

OR: Host the repo yourself (file path must stay intact), and include similarly to below.

<script src="path/to/src/tw-sounds.js"></script>

Usage

Make a function call, as shown below.

find_potential_rhymes(YOUR_WORD);

TW-Sounds will then return an array of potential values to you.

['value a', 'value b']

For example, given the input "hailstorm",

find_potential_rhymes("hailstorm");

You will get the output of the following array:

[afterstorm, brainstorm, outstorm, rainstorm, snowstorm, storm, thunderstorm]

License

Copyright 2021 Finn Lancaster and the TiddlyWiki Community

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The dictionary used to compare English words found here is under the Unlicense License, and dedicated to the Public Domain.

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

The original dictionary before modification is copyrighted material of https://web.archive.org/web/20140330092734/http://www.infochimps.com/users/Infochimps

About

A JS investigation of letter/word sounds and Audio Analysis for use in the Speech-to-Text-in-TW5

Resources

License

Stars

Watchers

Forks

Packages

No packages published