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