v1.0.166: fix missing _smart_extract function
This commit is contained in:
@@ -125,6 +125,9 @@ def _safe_json_parse(raw):
|
||||
text = _re.sub(r',\s*]', ']', text)
|
||||
|
||||
return json.loads(text)
|
||||
|
||||
|
||||
def _smart_extract(elements_json):
|
||||
"""
|
||||
Умная выжимка текста для классификации (решение Q3 от Opus).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user