rafmacalaba commited on
Commit
1488c39
·
1 Parent(s): 712d9ff

add trivial example

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -20,13 +20,7 @@ relation_extractor = CustomGLiNERRelationExtractor(model=model, return_index=Tru
20
 
21
  # Sample text
22
  SAMPLE_TEXT = (
23
- "In 2021, Smith and Wright released version 2.0 of the Global Migration Reference Database (GMRD), "
24
- "a comprehensive panel survey that tracks migration flows across Africa, Asia, and Europe. Developed by the "
25
- "United Nations and published by the UN Statistics Division, the GMRD describing detailed demographic and "
26
- "socioeconomic indicators—including age, gender, employment status, and education levels—for displaced persons "
27
- "and migrant workers. The 2020 edition draws on administrative records and household interviews, covering "
28
- "over 100 countries. Its reference year is 2020, and it focuses on internally displaced populations and "
29
- "refugees as the key study group."
30
  )
31
 
32
  # Post-processing: prune acronyms and self-relations
 
20
 
21
  # Sample text
22
  SAMPLE_TEXT = (
23
+ "The 2020 Demographic and Health Survey (DHS), conducted by the Ministry of Health in Kenya, provides data on maternal health and child nutrition for rural households."
 
 
 
 
 
 
24
  )
25
 
26
  # Post-processing: prune acronyms and self-relations