Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
47453fe
1 Parent(s): 588643e
Files changed (1) hide show
  1. appStore/sdg_analysis.py +11 -9
appStore/sdg_analysis.py CHANGED
@@ -44,9 +44,10 @@ def app():
44
  of a “context” and should limit the paragraph length deviation. \
45
  However, since we want to respect the sentence boundary the limit \
46
  can breach and hence this limit of 120 is tentative. \n
47
- **SDG cLassification:** The application assigns paragraphs to 15 of \
48
- the 17 United Nations Sustainable Development Goals (SDGs). SDG 16 \
49
- “Peace, Justice and Strong Institutions” and SDG 17 \
 
50
  “Partnerships for the Goals” are excluded from the analysis due to \
51
  their broad nature which could potentially inflate the results. \
52
  Each paragraph is assigned to one SDG only. Again, the results are \
@@ -60,12 +61,13 @@ def app():
60
  partnerships and growing community of researchers and institutions \
61
  interested in the classification of research according to the \
62
  Sustainable Development Goals. The summary table only displays \
63
- paragraphs with a calculated relevancy score above 85%. \n
64
- **Keyphrase Extraction:** The application extracts 15 keyphrases from \
65
- the document, calculates a respective relevancy score, and displays \
66
- the results in a summary table. The keyphrases are extracted using \
67
- using [Textrank](https://github.com/summanlp/textrank) which is an \
68
- easy-to-use computational less expensive \
 
69
  model leveraging combination of TFIDF and Graph networks.
70
  """)
71
  st.markdown("")
 
44
  of a “context” and should limit the paragraph length deviation. \
45
  However, since we want to respect the sentence boundary the limit \
46
  can breach and hence this limit of 120 is tentative. \n
47
+ """
48
+ st.write("""**SDG cLassification:** The application assigns paragraphs \
49
+ to 15 of the 17 United Nations Sustainable Development Goals (SDGs).\
50
+ SDG 16 “Peace, Justice and Strong Institutions” and SDG 17 \
51
  “Partnerships for the Goals” are excluded from the analysis due to \
52
  their broad nature which could potentially inflate the results. \
53
  Each paragraph is assigned to one SDG only. Again, the results are \
 
61
  partnerships and growing community of researchers and institutions \
62
  interested in the classification of research according to the \
63
  Sustainable Development Goals. The summary table only displays \
64
+ paragraphs with a calculated relevancy score above 85%. \n""")
65
+
66
+ st.write("""**Keyphrase Extraction:** The application extracts 15 \
67
+ keyphrases from the document, calculates a respective relevancy \
68
+ score, and displays the results in a summary table. The keyphrases \
69
+ are extracted using using [Textrank](https://github.com/summanlp/textrank)\
70
+ which is an easy-to-use computational less expensive \
71
  model leveraging combination of TFIDF and Graph networks.
72
  """)
73
  st.markdown("")