Skip to content

Commit 9d637c0

Browse files
Merge pull request #7 from imbesat-rizvi/main
minor spelling correction and formatting
2 parents 967e86a + 45017ff commit 9d637c0

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) sonorus contributors.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
setup(name="sonorus",
2828
version="0.1.0",
2929
description=description,
30-
long_descriptio=README,
30+
long_description=README,
3131
author="Md Imbesat Hassan Rizvi",
3232
author_email="imbugene@gmail.com",
3333
url="https://github.com/pensieves/sonorus",
34+
download_url="https://github.com/pensieves/sonorus/releases",
3435
packages=find_packages(exclude=["contrib", "docs", "examples", "tests"]), # Required
3536
install_requires=install_requires,
3637
extras_require=extras_require,

sonorus/speech/lm/FairseqTokenDictionary.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ def __init__(
2323
assert s in indexed_symbols, assert_str.format(s)
2424

2525
if isinstance(indexed_symbols, dict):
26-
indexed_symbols = sorted(indexed_symbols.keys(),
27-
key=lambda k: indexed_symbols[k])
26+
indexed_symbols = sorted(
27+
indexed_symbols.keys(), key=lambda k: indexed_symbols[k]
28+
)
2829

2930
for s in indexed_symbols:
3031
self.add_symbol(s)

0 commit comments

Comments
 (0)