Spaces:
Running
Running
Commit
·
ffaa1f8
1
Parent(s):
2222dbb
change sample
Browse files
app.py
CHANGED
@@ -19,14 +19,7 @@ relation_extractor = CustomGLiNERRelationExtractor(model=model, return_index=Tru
|
|
19 |
|
20 |
# Sample text
|
21 |
SAMPLE_TEXT = (
|
22 |
-
|
23 |
-
"for the Republic of Mali. Conducted between June and December 2011 under the technical oversight of Mali’s "
|
24 |
-
"National Institute of Statistics and paired with on-the-ground data-collection teams, this nationally representative survey "
|
25 |
-
"gathered detailed information on household composition, education levels, employment and income, fertility and family planning, "
|
26 |
-
"maternal and child health, nutrition, mortality, and access to basic services. By combining traditional census modules with "
|
27 |
-
"specialized questionnaires on women’s and children’s health, offers policymakers, development partners, and researchers "
|
28 |
-
"a rich dataset of socioeconomic characteristics—ranging from literacy and school attendance to water and sanitation infrastructure—"
|
29 |
-
"that can be used to monitor progress on poverty reduction, inform targeted social programs, and guide longer-term economic planning."
|
30 |
)
|
31 |
|
32 |
# Post-processing: prune acronyms and self-relations
|
|
|
19 |
|
20 |
# Sample text
|
21 |
SAMPLE_TEXT = (
|
22 |
+
"In 2019, the third round of the Demographic and Health Survey (DHS) was conducted in 2020 by the World Bank, serving as the principal data source for a nationally representative cross‐sectional survey that covered Nigeria, Kenya, and Ghana and providing detailed demographic, health, and nutrition data, including household composition, fertility and mortality rates, maternal and child health indicators, and access to water and sanitation."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
)
|
24 |
|
25 |
# Post-processing: prune acronyms and self-relations
|