Daniil Larionov commited on
Commit
b24cd9b
1 Parent(s): 9c1813e

update role names

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -29,11 +29,11 @@ def convert_to_spacy(text, result):
29
 
30
  colors = {
31
  'PREDICATE': "#80bdff",
32
- 'КАУЗАТИВ': "#73ffbe",
33
- 'КАУЗАТОР': "#ff5b5e",
34
- 'ЭКСПЕРИЕНЦЕР': "#efff42",
35
- 'ДРУГОЕ': "#924fff",
36
- 'ИНСТРУМЕНТ': "#28fff1"
37
  }
38
  options = {
39
  'ents': list(colors.keys()), 'colors': colors
 
29
 
30
  colors = {
31
  'PREDICATE': "#80bdff",
32
+ 'CAUSATIVE': "#73ffbe",
33
+ 'CAUSATOR': "#ff5b5e",
34
+ 'EXPIRIENCER': "#efff42",
35
+ 'OTHER': "#924fff",
36
+ 'INSTRUMENT': "#28fff1"
37
  }
38
  options = {
39
  'ents': list(colors.keys()), 'colors': colors