Sha256: 703e8b70c58e648422a69a6ee12b1324af2df267ddeddf6026dcd4ba792e7b78

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

ó
i;sSc@sMdZddlmZddlmZddlmZdd	d„ƒYZdS(
s'Josu Bermudez <josu.bermudez@deusto.es>i(tloggeri(tverbs(tdependency_tagstSpeakerExtractorcBs)eZdZd„Zd„Zd„ZRS(t-tcCs||_||_dS(N(tgrapht
graph_builder(tselfRR((s'corefgraph/features/speakerExtractor.pyt__init__s	c
Cs÷|d}|jj|ƒ}|jj|ƒ}|jj|ƒ}|||f}x|D]•}|rV|jjd|ƒ}	xq|	D]f}
|
dtjkr~|
d|kr~x:|jj|
ƒD]#\}}tj	|dƒrº|SqºWq~q~WqVqVW|dS(Nt	utterancetsentencetlemmatvaluetspeaker(
Rtget_roottget_prev_sentencetget_next_sentencetget_sentence_wordsRt	reportingtget_dependant_wordsRtsubject(
Rtsyntactic_elementt	head_wordtconstituent_utterancetcurrent_sentencetprevious_sentencet
next_sentencet	sentencestroottsentence_termsttermtwordt
dependency((s'corefgraph/features/speakerExtractor.pyt
_find_speakers


#cCs&|dr|j||ƒS|dSdS(NtquotedR(R"(RRR((s'corefgraph/features/speakerExtractor.pytextract3s
(RR(t__name__t
__module__tinvalid_speakersR	R"R$(((s'corefgraph/features/speakerExtractor.pyRs		N((t
__author__RRtresources.dictionariesRtresources.tagsetRR(((s'corefgraph/features/speakerExtractor.pyt<module>s

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opener-coreference-base-2.1.0 core/corefgraph/features/speakerExtractor.pyo