-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdefault.properties
46 lines (46 loc) · 2.04 KB
/
default.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# defines the default dictionary type
# Supported dictionary types:
# * hashmap
# * lucene
dictionary.type=lucene
# This entry defines where the files for the different file type are.
# The value can be a single file or a dictionary.
# Supported keys for locations are:
# * rdf
# * tsv
# * reverse_tsv
# For more information about the file types see documentation in org.aksw.sessa.helper.files.handler
dictionary.files.location.rdf=resources
# Defines the location of the Lucene Index
dictionary.lucene.location=lucene_index
# Defines if the Lucene Index should be cleaned on startup
dictionary.lucene.override_on_start=false
# Applies the named filters together with the given limit to the dictionary
# The configuration support multiple filters (comma-separated)
# The amount of filters and limits has to be the same!
# Current supported filter-names:
# * levenshtein
# * pagerank
#
# Example on how the filters are applied:
# dictionary.filter.names = levenshtein, pagerank
# dictionary.filter.limit = 100, 50
#
# The Levenshtein-filter will be applied first and reduce the number ob candidates to a maximum of 100.
# After that PageRank-filter is applied and reduces the candidates to a max. of 50.
#
# The order of the "tuples" (filter, limit) does not matter, as the filter with the biggest limit is applied first.
# E.g. the following configuration produces the same results as the example above:
# dictionary.filter.names = pagerank, levenshtein
# dictionary.filter.limit = 50, 100
#
dictionary.filter.names=levenshtein
dictionary.filter.limits=5
# Applies the named energy function to the nodes.
# The supported functions are the same as in the filter names (dictionary.filter.names).
dictionary.energy_function=levenshtein
# Returns empty set if the relative explanation score of the results is under the given limit.
# The maximum possible explanation score is the number of words in the query.
# This means that e.g. a query has 4 words and the best result has an explanation score of 3 (words),
# the relative explanation score is 0.75.
sessa.relative_explanation_limit=1