Commit 31052a9d authored by Wael Ramadan's avatar Wael Ramadan
Browse files

default error to empty string

parent add7d452
Pipeline #5699 failed with stage
in 6 minutes and 22 seconds
......@@ -44,7 +44,6 @@ class Document:
original_text: str,
dominant_language_code: str,
analysis_lang: str,
error: str,
stanza_sentences: [list],
stanza_entities,
concat_resources: dict,
......@@ -52,6 +51,7 @@ class Document:
doc_path: str = "text",
json_doc: dict = None,
analyzers: list = [],
error: str = "",
):
self.original_text = original_text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment