Spaces:
Sleeping
Sleeping
File size: 421 Bytes
9f2df60 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """Property extraction strategy for property source."""
def run(file_name: str, file_content: str, chunk: str) -> str:
"""
Runs the property extraction strategy on processed chunk.
Args:
file_name (str): Name of the file from which the chunk was collected.
file_content (str): Entire text extracted from file.
chunk (str): Chunk collected from file.
Returns:
Extracted property.
"""
return file_name |