Showing
4 changed files
with
2 additions
and
2 deletions
.get_abstracts.py.swp
0 → 100644
No preview for this file type
This diff could not be displayed because it is too large.
data/ecoli_abstracts/useful_abstracts.txt
0 → 100644
This diff could not be displayed because it is too large.
... | @@ -114,12 +114,12 @@ def get_abstracts(file_name, label): | ... | @@ -114,12 +114,12 @@ def get_abstracts(file_name, label): |
114 | return docs | 114 | return docs |
115 | 115 | ||
116 | 116 | ||
117 | -filename="../data/ecoli_abstracts/not_useful_abstracts.txt" | 117 | +filename="data/ecoli_abstracts/not_useful_abstracts.txt" |
118 | labels = ['useless', 'useful'] | 118 | labels = ['useless', 'useful'] |
119 | 119 | ||
120 | abstracs = get_abstracts(file_name = filename, label = labels[0]) | 120 | abstracs = get_abstracts(file_name = filename, label = labels[0]) |
121 | 121 | ||
122 | -filename="../data/ecoli_abstracts/useful_abstracts.txt" | 122 | +filename="data/ecoli_abstracts/useful_abstracts.txt" |
123 | 123 | ||
124 | abstracs += get_abstracts(file_name = filename, label = labels[1]) | 124 | abstracs += get_abstracts(file_name = filename, label = labels[1]) |
125 | 125 | ... | ... |
-
Please register or login to post a comment