Raivis Dejus commited on
Commit
4787c0a
1 Parent(s): bbc85d4

Adding cleaner for scorers

Browse files
Files changed (1) hide show
  1. clean-for-scorer.sh +10 -0
clean-for-scorer.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Script to clean up data for scorer generation
2
+ sed -i -e "s|'||g" lv.txt
3
+ sed -i -e "s/|//g" lv.txt
4
+ sed -i -e 's|[„"”“’‘,.:;ª«»/?!~®()%↑]||g' lv.txt
5
+ sed -i -e 's|[—–\-]| |g' lv.txt
6
+ sed -i -e 's|[а-я]||g' lv.txt
7
+
8
+
9
+
10
+