yeomtong commited on
Commit
95e432c
·
verified ·
1 Parent(s): 5a8e5d0

Update visualizer_dev.py

Browse files
Files changed (1) hide show
  1. visualizer_dev.py +1 -1
visualizer_dev.py CHANGED
@@ -100,7 +100,7 @@ def print_srl_frames_pretty(words, frames, show_grid=True, color=False):
100
  t = tags[i]
101
  if t == "O":
102
  i += 1; continue
103
- if t.endswith("-V"): # you can include/exclude the V span as you like
104
  spans.append(("V", i, i))
105
  i += 1; continue
106
  if t.startswith("B-"):
 
100
  t = tags[i]
101
  if t == "O":
102
  i += 1; continue
103
+ if t.endswith("-V"): # may include/exclude the V span as you like
104
  spans.append(("V", i, i))
105
  i += 1; continue
106
  if t.startswith("B-"):