Sha256: ecd52c8b147be09c7c22080b5e44005072ebcd4459441ffd55dbdcb7dcfe0d8d

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

ó
i;sSc@sAdZddlmZddlZd„Zd„Zd„ZdS(s'Josu Bermudez <josu.bermudez@deusto.es>i(tloggeri˙˙˙˙NcCs:t|dƒ}g|D]}|d ^q}|jƒ|S(Ntri˙˙˙˙(topentclose(t	file_namet	data_filetlinetdata((scorefgraph/features/utils.pyt	load_file
s
cCs¤t|dƒ}g}g}xr|D]j}yN|jddƒjdƒ\}}|dkrh|j|ƒn
|j|ƒWq"tk
r‹}q"Xq"W|jƒ||fS(NRs
ts	tMALE(Rtreplacetsplittappendt	ExceptionR(tfilenametcombinedtmaletfemaleRtnametgendertex((scorefgraph/features/utils.pytsplit_gendername_files
!
c	Cs†|d}y/t|dƒ}tj|ƒ}WdQX|SWnFtk
r}tjdƒtjd|ƒt|dƒ}tƒ}x|D]w}yH|jdƒ\}}t	g|jƒD]}t
|ƒ^q¸ƒ||<WqŠtk
r}tjd||ƒqŠXqŠWyLt|dƒ}tj||dƒWdQXtjd	ƒtjd
|ƒWn#tk
rv}tj
d|ƒnXWdQX|SXdS(Ns.marshalRsNo marshal files
Reason: %ss	sline sipped: %s: %stwi˙˙˙˙sCreated marshal filespath: %ssMarshal file not created:%s(RtmarshaltloadRRtinfotdebugtdictRttupletinttdumptwarningterror(	Rtmarshal_filenameRRRRtformtstatstx((scorefgraph/features/utils.pytbergma_split#s2

	
3

(t
__author__R	RRRRR&(((scorefgraph/features/utils.pyt<module>s
		

Version data entries

1 entries across 1 versions & 1 rubygems

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