You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Remove_POS_hindi_text/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,15 @@ Short description of package/script
9
9
## Setup instructions
10
10
11
11
--> Explanation on how to setup and run your package/script locally
12
-
-simple import the NLKT package by writing 'import NLKT' in first line of your script.
12
+
-simply import the NLKT package by writing 'import nlkt' in first line of your script.
13
13
- To run the script locally save the 'Tagged_Hindi_Corpus.txt' file at your favourable location.
14
14
- In code, in fp=open(r"..."), give the location of your saved file as mentioned in previous step.
15
-
- In code, in fd=open(r"..."), give the location where you want the file with only Hindi text after removal of POS
16
-
- Run the script with "python hindi_POS_tag_removal.py"
15
+
- In code, in fd=open(r"..."), give the location where you want the file with only Hindi text after removal of POS.
16
+
- Note that for this script, I have run the script therefore only_hindi.txt file already exists. Before executing your script make sure you delete 'only_hindi.txt' file and see it after running the script.
17
+
- Run the script with "python hindi_POS_tag_removal.py OR python <nameofyourpyfile.py>"
17
18
- You will be able to see the file with only Hindi text.
0 commit comments