Spaces:
Runtime error
Runtime error
LOUIS SANNA
commited on
Commit
·
6a7cee6
1
Parent(s):
6d540dc
data(seychelles): add new summary
Browse files- data/processed/cixiidae/Fulgoroidea2008-FulgoromorphaSeychellesPreliminaryChecklis-Holzinger-LöckerLöcker-summary.txt +1 -0
- data/processed/{Fulgoroidea2008-Mascareignes-AttiéBourgoinVeslotSoulier-summary.txt → cixiidae/Fulgoroidea2008-Mascareignes-AttiéBourgoinVeslotSoulier-summary.txt} +0 -0
- summarize.py +3 -4
data/processed/cixiidae/Fulgoroidea2008-FulgoromorphaSeychellesPreliminaryChecklis-Holzinger-LöckerLöcker-summary.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
This paper presents a checklist of 59 Fulgoromorpha species from 8 families known to occur in Seychelles, with the majority being endemic. It was written by M.D. Webb in 1975 and 1980 and authored by Werner E. Holzinger, Holger Löcker, and Birgit Löcker from Austria and Australia. The paper acknowledges the support of various individuals and organizations in the course of the project.
|
data/processed/{Fulgoroidea2008-Mascareignes-AttiéBourgoinVeslotSoulier-summary.txt → cixiidae/Fulgoroidea2008-Mascareignes-AttiéBourgoinVeslotSoulier-summary.txt}
RENAMED
File without changes
|
summarize.py
CHANGED
@@ -31,13 +31,12 @@ def summarize(raw_documents):
|
|
31 |
|
32 |
|
33 |
def main():
|
34 |
-
|
35 |
-
|
36 |
-
)
|
37 |
output = summarize(raw_documents)
|
38 |
print(output)
|
39 |
with open(
|
40 |
-
"data/processed/
|
41 |
"w",
|
42 |
) as f:
|
43 |
f.write(output)
|
|
|
31 |
|
32 |
|
33 |
def main():
|
34 |
+
name = "Fulgoroidea2008-FulgoromorphaSeychellesPreliminaryChecklis-Holzinger-LöckerLöcker"
|
35 |
+
raw_documents = parse_document(f"data/raw/cixiidae/${name}.pdf")
|
|
|
36 |
output = summarize(raw_documents)
|
37 |
print(output)
|
38 |
with open(
|
39 |
+
"data/processed/cixiidae/${name}-summary.txt",
|
40 |
"w",
|
41 |
) as f:
|
42 |
f.write(output)
|