/etc/presage.xml is in libpresage-data 0.8.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Presage>
<PredictorRegistry>
<LOGGER>ERROR</LOGGER>
<!-- PREDICTORS
Space separated list of predictors to use to generate predictions
-->
<PREDICTORS>AbbreviationExpansionPredictor SmoothedNgramPredictor RecencyPredictor</PREDICTORS>
</PredictorRegistry>
<ContextTracker>
<LOGGER>ERROR</LOGGER>
<!-- SLIDING_WINDOW_SIZE
Size of buffer used by context tracker to detect context changes
-->
<SLIDING_WINDOW_SIZE>80</SLIDING_WINDOW_SIZE>
</ContextTracker>
<Selector>
<LOGGER>ERROR</LOGGER>
<!-- SUGGESTIONS
Controls how many suggestions are returned in each prediction.
-->
<SUGGESTIONS>6</SUGGESTIONS>
<!-- REPEAT_SUGGESTIONS
Allow the same suggestion to be offered in subsequent
predictions, even if no context change has been detected.
-->
<REPEAT_SUGGESTIONS>no</REPEAT_SUGGESTIONS>
<!-- GREEDY_SUGGESTION_THRESHOLD
Select only tokens whose completion length is greater than
the specified greedy suggestion threshold.
i.e. If this option is set to 2 and the current prefix is
"cu", then the word "cub" will not offered as a
suggestion, because the completion's length is only one
character long. Tokens "curb" or "cube" or "cubicle" or
"cucumber" will however be offered, because these
words' completions are at least 2 characters long.
-->
<GREEDY_SUGGESTION_THRESHOLD>0</GREEDY_SUGGESTION_THRESHOLD>
</Selector>
<PredictorActivator>
<LOGGER>ERROR</LOGGER>
<!-- PREDICT_TIME
Maximum time allowed for predictors to return their prediction.
-->
<PREDICT_TIME>1000</PREDICT_TIME>
<!-- MAX_PARTIAL_PREDICTION_SIZE
Desired size of each prediction prior to combination phase.
-->
<MAX_PARTIAL_PREDICTION_SIZE>60</MAX_PARTIAL_PREDICTION_SIZE>
<!-- COMBINATION_POLICY
policy used by predictor to combine predictions returned
by the active predictors into one prediction.
-->
<COMBINATION_POLICY>Meritocracy</COMBINATION_POLICY>
</PredictorActivator>
<ProfileManager>
<LOGGER>ERROR</LOGGER>
<!-- AUTOPERSIST
Automatically saves configuration to active profile.
-->
<AUTOPERSIST>false</AUTOPERSIST>
</ProfileManager>
<Predictors>
<SmoothedNgramPredictor>
<LOGGER>ERROR</LOGGER>
<DBFILENAME>/usr/share/presage/database_en.db</DBFILENAME>
<!-- \delta_0, \delta_1, ..., \delta_{n-1} -->
<DELTAS>0.01 0.1 0.89</DELTAS>
<LEARN>false</LEARN>
<DatabaseConnector>
<LOGGER>ERROR</LOGGER>
</DatabaseConnector>
</SmoothedNgramPredictor>
<RecencyPredictor>
<LOGGER>ERROR</LOGGER>
<LAMBDA>1</LAMBDA>
<N_0>1</N_0>
<CUTOFF_THRESHOLD>20</CUTOFF_THRESHOLD>
</RecencyPredictor>
<DictionaryPredictor>
<DICTIONARY>/usr/share/dict/words</DICTIONARY>
<!-- fixed probability assigned to prediction -->
<PROBABILITY>0.000001</PROBABILITY>
</DictionaryPredictor>
<AbbreviationExpansionPredictor>
<LOGGER>ERROR</LOGGER>
<ABBREVIATIONS>/usr/share/presage/abbreviations_en.txt</ABBREVIATIONS>
</AbbreviationExpansionPredictor>
<DejavuPredictor>
<LOGGER>ERROR</LOGGER>
<MEMORY>/usr/share/presage/dejavu_memory_en.txt</MEMORY>
<TRIGGER>3</TRIGGER>
</DejavuPredictor>
<ARPAPredictor>
<LOGGER>ERROR</LOGGER>
<ARPAFILENAME>/usr/share/presage/arpa_en.arpa</ARPAFILENAME>
<VOCABFILENAME>/usr/share/presage/arpa_en.vocab</VOCABFILENAME>
<TIMEOUT>100</TIMEOUT>
</ARPAPredictor>
</Predictors>
</Presage>
|