rain1024 commited on
Commit
b5daa8a
1 Parent(s): cd3882a
data/data.txt ADDED
The diff for this file is too large to render. See raw diff
 
docs/base.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ license: apache-2.0
2
+ langauge: vi
generate_baseline_dataset.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from underthesea.transformer.tagged_feature import lower_words as dictionary
2
+ from os.path import dirname, join
3
+
4
+ words = sorted(dictionary)
5
+
6
+ print(words[:100])
7
+ pwd = dirname(__file__)
8
+ data_file = join(pwd, "data", "data.txt")
9
+ with open(data_file, "w") as f:
10
+ content = "\n".join(words)
11
+ f.write(content)
12
+
genrate_doc.py ADDED
File without changes