You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash-3.2$ cicero generateText --data data.json --out sample2.txt
18:05:35 - info: Using current directory as template folder
18:05:36 - info: Creating file: sample2.txt
18:05:36 - info: PROMISSORY NOTE
1000 USD 01/30/2018
FOR VALUE RECEIVED, the undersigned, "Daniel Selman", an individual residing at "1 Main Street" (“Maker”), hereby promises to pay to the order of "Clause", a CORP, having offices at "246 5th Ave, 3rd Fl, New York, NY 10001", or its successors and permitted assigns\t (“Lender” or the “Company”), the principal sum of 500 USD, plus any and all interest accrued thereon at the Note Rate (defined below), each due and payable in cash in lawful money of the United States on the dates and in the manner set forth in this Promissory Note (this “Note”).
...
That sample does not parse due to the \t:
bash-3.2$ cicero parse --sample sample2.txt
18:05:47 - info: Using current directory as template folder
18:05:48 - error: invalid syntax at line 4 col 265:
FOR VALUE RECEIVED, the undersigned, "Daniel Selman", an individual residing at "1 Main Street" (“Maker”), hereby promises to pay to the order of "Clause", a CORP, having offices at "246 5th Ave, 3rd Fl, New York, NY 10001", or its successors and permitted assigns\t (“Lender” or the “Company”), the principal sum of 500 USD, plus any and all interest accrued thereon at the Note Rate (defined below), each due and payable in cash in lawful money of the United States on the dates and in the manner set forth in this Promissory Note (this “Note”).
^
Unexpected "\\"
18:05:48 - info: undefined
bash-3.2$
The text was updated successfully, but these errors were encountered:
generateText escapes tabs into
\t
which leads to errors in parsing:If one creates a new sample from that JSON:
That sample does not parse due to the
\t
:The text was updated successfully, but these errors were encountered: