Fix malformed tuple delimiters in extraction result processing
This commit is contained in:
parent
2db7e4a3e8
commit
385668dec5
1 changed files with 4 additions and 0 deletions
|
|
@ -870,6 +870,10 @@ async def _process_extraction_result(
|
|||
record = record.replace("<|>>", "<|>")
|
||||
# fix <<|> with <|>
|
||||
record = record.replace("<<|>", "<|>")
|
||||
# fix <.|> with <|>
|
||||
record = record.replace("<.|>", "<|>")
|
||||
# fix <|.> with <|>
|
||||
record = record.replace("<|.>", "<|>")
|
||||
|
||||
record_attributes = split_string_by_multi_markers(record, [tuple_delimiter])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue