ladapetrushenko commited on
Commit
b17a070
Β·
verified Β·
1 Parent(s): b71f7f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -3,9 +3,6 @@ from construction_prediction.constants import load_w2v
3
  from construction_prediction.construction_calculator import get_collocates_for_word_type
4
 
5
  st.title('Construction Calculator')
6
- st.write('''Related article: Petrushenko L., Mitrofanova O. Predicting Style-Dependent Collocations in Russian Text Corpora. //
7
- The 17th Workshop on Recent Advances in Slavonic Natural Languages Processing, RASLAN 2023, Kouty nad Desnou, Czech Republic, December 8-10, 2023. –
8
- pp. 79–89. – URL: http://nlp.fi.muni.cz/raslan/2023/paper13.pdf''')
9
  form = st.form('Form')
10
  target_word = form.text_input(label='Input the target word:',
11
  placeholder='Input the target word',
@@ -75,3 +72,7 @@ if form_button:
75
  restrict_vocab=restrict_vocab)
76
 
77
  st.write(output)
 
 
 
 
 
3
  from construction_prediction.construction_calculator import get_collocates_for_word_type
4
 
5
  st.title('Construction Calculator')
 
 
 
6
  form = st.form('Form')
7
  target_word = form.text_input(label='Input the target word:',
8
  placeholder='Input the target word',
 
72
  restrict_vocab=restrict_vocab)
73
 
74
  st.write(output)
75
+
76
+ st.markdown('''**Related article:** Petrushenko L., Mitrofanova O. Predicting Style-Dependent Collocations in Russian Text Corpora. //
77
+ The 17th Workshop on Recent Advances in Slavonic Natural Languages Processing, RASLAN 2023, Kouty nad Desnou, Czech Republic, December 8-10, 2023. –
78
+ pp. 79–89. – URL: http://nlp.fi.muni.cz/raslan/2023/paper13.pdf''')