Update README.md
Browse files
README.md
CHANGED
@@ -9,15 +9,15 @@ Commands used for preprocessing.
|
|
9 |
|
10 |
1. To remove all non Malayalam characters.
|
11 |
|
12 |
-
sed -i 's/[^ം-ൿ.,;:@$%+&?!() ]//g' test.txt
|
13 |
|
14 |
2. To merge all the text files in a particular Directory(Sub-Directory)
|
15 |
|
16 |
-
find SMC -type f -name '*.txt' -exec cat {} \; >> combined_SMC.txt
|
17 |
|
18 |
3. To remove all lines with characters less than 5.
|
19 |
|
20 |
-
grep -P '[\x{0D00}-\x{0D7F}]' data/ml.txt | awk 'length($0) >= 5' > preprocessed/ml.txt
|
21 |
|
22 |
---
|
23 |
dataset_info:
|
|
|
9 |
|
10 |
1. To remove all non Malayalam characters.
|
11 |
|
12 |
+
sed -i 's/[^ം-ൿ.,;:@$%+&?!() ]//g' test.txt
|
13 |
|
14 |
2. To merge all the text files in a particular Directory(Sub-Directory)
|
15 |
|
16 |
+
find SMC -type f -name '*.txt' -exec cat {} \; >> combined_SMC.txt
|
17 |
|
18 |
3. To remove all lines with characters less than 5.
|
19 |
|
20 |
+
grep -P '[\x{0D00}-\x{0D7F}]' data/ml.txt | awk 'length($0) >= 5' > preprocessed/ml.txt
|
21 |
|
22 |
---
|
23 |
dataset_info:
|