gabrielaltay
commited on
Commit
•
85dad33
1
Parent(s):
5e31420
upload hub_repos/cardiode/cardiode.py to hub from bigbio repo
Browse files- cardiode.py +1 -1
cardiode.py
CHANGED
@@ -144,7 +144,7 @@ def _parse_tsv(path: str) -> pd.DataFrame:
|
|
144 |
content = file.read()
|
145 |
|
146 |
# separate doc into sentences
|
147 |
-
passages = content.split("#")
|
148 |
|
149 |
# remove the first line (un-tabbed) of each sentence
|
150 |
# split sentences into words/tokens
|
|
|
144 |
content = file.read()
|
145 |
|
146 |
# separate doc into sentences
|
147 |
+
passages = content.split("\n#")
|
148 |
|
149 |
# remove the first line (un-tabbed) of each sentence
|
150 |
# split sentences into words/tokens
|