Dmitry Kirsanov commited on
Commit
74b9dcf
·
1 Parent(s): c7fdb95
Files changed (1) hide show
  1. understand.py +2 -2
understand.py CHANGED
@@ -201,7 +201,7 @@ Output the line "ACTORS:" followed by your list of actors, one per line.
201
 
202
 
203
  def annotate_sentences_with_actors(self, src="document", dst="document with actors"):
204
- markup = fad.get_plaintext_with_markup(self.values.get(src), "sentence")
205
 
206
  print(f"=== Sentence markup: {markup}")
207
 
@@ -240,7 +240,7 @@ Output just the document adding the actors attributes for sentences, but otherw
240
 
241
  def annotate_sentences_with_audiences(self, src="document", dst="document with audiences"):
242
  # EXPERIMENTAL! we use the actors list but here interpret it as audiences
243
- markup = fad.get_plaintext_with_markup(self.values.get(src), "sentence")
244
 
245
  print(f"=== Sentence markup: {markup}")
246
 
 
201
 
202
 
203
  def annotate_sentences_with_actors(self, src="document", dst="document with actors"):
204
+ markup = self.fad.get_plaintext_with_markup(self.values.get(src), "sentence")
205
 
206
  print(f"=== Sentence markup: {markup}")
207
 
 
240
 
241
  def annotate_sentences_with_audiences(self, src="document", dst="document with audiences"):
242
  # EXPERIMENTAL! we use the actors list but here interpret it as audiences
243
+ markup = self.fad.get_plaintext_with_markup(self.values.get(src), "sentence")
244
 
245
  print(f"=== Sentence markup: {markup}")
246