pyeeg.io.load_open_values

pyeeg.io.load_open_values(filepath)

Load syntactic structure open values. Expected file format is:

Word Depth Open Close ton toff word1 depth1 open1 close1 ton1 toff1 word2 depth2 …

Parameters:

filepath (str) – Path to the file containing syntactic structure open values. If None, returns None.

Returns:

open – Opening node values for each word, i.e. number of opening nodes at each word position.

Return type:

ndarray