Skip to content

Commit

Permalink
apply ner bugfix to legacy skill too
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernstein committed Nov 6, 2024
1 parent 01c8b8e commit f40c449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adala/skills/collection/entity_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def extract_indices(self, df):
"""
input_field_name = self._get_input_field_name()
output_field_name = self._get_output_field_name()
df = validate_output_format_for_ner_tag(df, input_field_name, output_field_name)
df = extract_indices(df, input_field_name, output_field_name, self._quote_string_field_name, self._labels_field_name)
return df

Expand Down

0 comments on commit f40c449

Please sign in to comment.