segram.semantic.frames module
- class segram.semantic.frames.Frame(story: Story)[source]
Bases:
Sequence
Semantic frame class.
Semantic frames groups phrases from a given
segram.semantic.Story
instance according to some selection criteria.- story
A Story the frame belongs to.
- matcher
Arbitrary callable implementing filtering function.
- phrases
Phrases matching the criteria.