yitingliii
commited on
Commit
•
48e4179
1
Parent(s):
7abb94b
Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ python
|
|
34 |
```
|
35 |
<br> Download necessary NTLK resources for preprocessing.
|
36 |
|
37 |
-
```
|
38 |
import nltk
|
39 |
nltk.download('stopwords')
|
40 |
nltk.download('wordnet')
|
@@ -53,7 +53,7 @@ import nltk
|
|
53 |
nltk.download('stopwords')
|
54 |
```
|
55 |
<br> You can replace with any datasets you want by changing the file name inside ```pd.read_csv()```.
|
56 |
-
```
|
57 |
# Load your data
|
58 |
df = pd.read_csv("hf://datasets/CIS5190abcd/headlines_test/test_cleaned_headlines.csv")
|
59 |
|
|
|
34 |
```
|
35 |
<br> Download necessary NTLK resources for preprocessing.
|
36 |
|
37 |
+
```python
|
38 |
import nltk
|
39 |
nltk.download('stopwords')
|
40 |
nltk.download('wordnet')
|
|
|
53 |
nltk.download('stopwords')
|
54 |
```
|
55 |
<br> You can replace with any datasets you want by changing the file name inside ```pd.read_csv()```.
|
56 |
+
```python
|
57 |
# Load your data
|
58 |
df = pd.read_csv("hf://datasets/CIS5190abcd/headlines_test/test_cleaned_headlines.csv")
|
59 |
|