Loading src/config.py +11 −11 Original line number Diff line number Diff line Loading @@ -16,14 +16,12 @@ output = "../output/" ''' Disambiguation Pipeline There are multiple disambiguation methods implemented. Specify the order in which they should be merged and whether or not conflicts should be resolved. If conflicts are not resolved, the first method with a positive result is used. Methods labeled with 0 are ignored. which they should be merged. The first method with a positive result is used and methods labeled with 0 are ignored. At least one method must be given a value != 0. ''' resolve_conflicts = False #not yet implemented colour_rank = 0 mst_rank = 1 colour_rank = 1 mst_rank = 2 ''' Choose stop words and allowed pos-tags. Loading @@ -40,21 +38,23 @@ max_nodes = 20000 max_edges = 2000000 ''' Choose the minimum context size. Choose the minimum and maximum context size. ''' min_context_size = 4 max_context_size = 20 ''' Choose filters for building the graph. - use dynamic filters (mean frequencies of occurences) - Use dynamic filters for nodes and edges (mean frequencies of occurences) or - Only considers occurrences/cooccurrences for nodes/edges, that occur more often than these values. - Only considers edges with a weight beneath the maximum weight - Only consider occurrences/cooccurrences for nodes/edges, that occur more often than these values. - Only consider edges with a weight beneath the maximum weight ''' use_mean_freq = False use_mean_freq = True min_node_freq = 10 min_edge_freq = 5 max_weight = 0.9 ''' Loading Loading
src/config.py +11 −11 Original line number Diff line number Diff line Loading @@ -16,14 +16,12 @@ output = "../output/" ''' Disambiguation Pipeline There are multiple disambiguation methods implemented. Specify the order in which they should be merged and whether or not conflicts should be resolved. If conflicts are not resolved, the first method with a positive result is used. Methods labeled with 0 are ignored. which they should be merged. The first method with a positive result is used and methods labeled with 0 are ignored. At least one method must be given a value != 0. ''' resolve_conflicts = False #not yet implemented colour_rank = 0 mst_rank = 1 colour_rank = 1 mst_rank = 2 ''' Choose stop words and allowed pos-tags. Loading @@ -40,21 +38,23 @@ max_nodes = 20000 max_edges = 2000000 ''' Choose the minimum context size. Choose the minimum and maximum context size. ''' min_context_size = 4 max_context_size = 20 ''' Choose filters for building the graph. - use dynamic filters (mean frequencies of occurences) - Use dynamic filters for nodes and edges (mean frequencies of occurences) or - Only considers occurrences/cooccurrences for nodes/edges, that occur more often than these values. - Only considers edges with a weight beneath the maximum weight - Only consider occurrences/cooccurrences for nodes/edges, that occur more often than these values. - Only consider edges with a weight beneath the maximum weight ''' use_mean_freq = False use_mean_freq = True min_node_freq = 10 min_edge_freq = 5 max_weight = 0.9 ''' Loading