MrSimple01 commited on
Commit
a80db22
·
verified ·
1 Parent(s): 57493a9

Update documents_prep.py

Browse files
Files changed (1) hide show
  1. documents_prep.py +1 -1
documents_prep.py CHANGED
@@ -98,7 +98,7 @@ def chunk_text_documents(documents):
98
  for i, chunk in enumerate(chunks):
99
  # Normalize steel designations in the chunk text
100
  original_text = chunk.text
101
- chunk.text, changes = normalize_steel_designations(chunk.text)
102
 
103
  if changes > 0:
104
  chunks_with_changes += 1
 
98
  for i, chunk in enumerate(chunks):
99
  # Normalize steel designations in the chunk text
100
  original_text = chunk.text
101
+ chunk.text, changes, change_list = normalize_steel_designations(chunk.text) # FIX: 3 values
102
 
103
  if changes > 0:
104
  chunks_with_changes += 1