pyeeg.io.load_close_values
- pyeeg.io.load_close_values(filepath)
Load syntactic structure close 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 close values. If None, returns None.
- Returns:
close – Closing node values for each word, i.e. number of closing nodes at each word position.
- Return type:
ndarray