Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BabelZoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
BabelZoo
Commits
f57f4645
Unverified
Commit
f57f4645
authored
Nov 24, 2019
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(load_texts): correct path
parent
2271548b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
loader.py
glossolalia/loader.py
+1
-1
lyrics.py
glossolalia/lyrics.py
+2
-1
No files found.
glossolalia/loader.py
View file @
f57f4645
...
...
@@ -16,7 +16,7 @@ def load_texts(root="./"):
files
=
os
.
listdir
(
data_dir
)
print
(
"
%
i files in data folder."
%
len
(
files
))
for
filename
in
files
:
all_lines
.
extend
(
get_lines
(
filename
))
all_lines
.
extend
(
get_lines
(
data_dir
+
"/"
+
filename
))
all_lines
=
filter_lines
(
all_lines
)
print
(
"Loaded
%
i lines of data:
%
s."
%
(
len
(
all_lines
),
all_lines
[
0
]))
...
...
glossolalia/lyrics.py
View file @
f57f4645
...
...
@@ -9,4 +9,5 @@ def fetch(artist_name: str):
if
__name__
==
'__main__'
:
fetch
(
"Booba"
)
fetch
(
"Lucio Bukowski"
)
fetch
(
"Hippocampe Fou"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment