def average_sentence_length(sentence_graphs): return _average_statistic(sentence_length, sentence_graphs)
def average_punctuation_per_sentence(sentence_graphs): return _average_statistic(punctuation_per_sentence, sentence_graphs)
def average_sentence_length_characters(sentence_graphs): return _average_statistic(sentence_length_characters, sentence_graphs)
def average_longest_shortest_path(sentence_graphs): return _average_statistic(longest_shortest_path, sentence_graphs)
def average_closeness_centralization(sentence_graphs): """Closeness centralization of the graph (Freeman, 1978). Return values range between 0 and 1. 1 means all other vertices are dependent on the root vertex. Used by Oya (2012). """ return _average_statistic(closeness_centralization, sentence_graphs)
def average_closeness_centrality(sentence_graphs): """Closeness centrality of the root vertex, i.e. the inverse of the average length of the shortest paths from the root to all other vertices. Used by Oya (2012). """ return _average_statistic(closeness_centrality, sentence_graphs)
def average_average_dependency_distance(sentence_graphs): """Oya (2011)""" return _average_statistic(average_dependency_distance, sentence_graphs)