Skip to content

Commit

Permalink
Update entities_checker_util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jkshj21 authored Oct 16, 2023
1 parent 82c9a78 commit 5e6b56f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/dfcx_scrapi/tools/entities_checker_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,11 @@ def _set_entity_types_df(self):

def _unpack_nested_entities(self, df, target_kind_type):
"""Unpacking the nested entity types to the comparable df structure
e.g:Nested entity type->
e.g:Nested entity type->
before: entity_type:@child_entity_1,@child_entity_2
after: entity_type:{
[child1.entities]:[child1.synonyms],
[child2.entities]:[child2.synonyms]..
}
after: entity_type:
entities_values:[child1.entities, child2.entities,..]
synonyms: [child1.synonyms, child2.synonyms,..],
Returns:
A dataframe with columns
Expand Down

0 comments on commit 5e6b56f

Please sign in to comment.