We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2688157 commit 0a5c960Copy full SHA for 0a5c960
words_extractor_jl/src/words_extractor_jl.jl
@@ -1,15 +1,14 @@
1
module words_extractor_jl
2
3
using Distributed
4
-using Pipe
5
using YAML
6
7
-folder = "words"
+const folder = "words"
8
9
-function worker(yaml_path)
10
- path = get_filepath(yaml_path)
+function worker(yaml_path)
+ path = get_filepath(yaml_path)
11
words = get_words(yaml_path)
12
- write(path, join(words, "\n"))
+ write(path, join(words, "\n"))
13
println(string("Saved...", path))
14
end
15
@@ -29,7 +28,7 @@ function walk(path, file_ext)
29
28
for (root, _, files) in walkdir(path, topdown = true)
30
for file in files
31
if endswith(file, file_ext)
32
- filepath = joinpath(root, file)
+ filepath = joinpath(root, file)
33
push!(res, filepath)
34
35
0 commit comments