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