kandysh commited on
Commit
064711b
·
1 Parent(s): a7bf78b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -33,8 +33,6 @@ def clause_segmentation(document):
33
  if split_index[index] == split_index[-1]:
34
  current_span = document[split_index[index]:]
35
  clauses.append(current_span)
36
- clauses.remove("")
37
- clauses.remove(" ")
38
  return clauses
39
  current_span = document[split_index[index]:split_index[index + 1]]
40
  clauses.append(current_span)
 
33
  if split_index[index] == split_index[-1]:
34
  current_span = document[split_index[index]:]
35
  clauses.append(current_span)
 
 
36
  return clauses
37
  current_span = document[split_index[index]:split_index[index + 1]]
38
  clauses.append(current_span)