Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
>
presage
> _service:tar_git:presage.xml
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:presage.xml of Package presage
<?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>DefaultSmoothedNgramTriePredictor UserSmoothedNgramPredictor DefaultHunspellPredictor DefaultRecencyPredictor</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> <!-- LOWERCASE_MODE Instruct context tracker to track text as lowercase --> <LOWERCASE_MODE>yes</LOWERCASE_MODE> <!-- ONLINE_LEARNING Controls presage online machine learning feature. Presage is context-aware and capable of dynamic online learning. Setting this to yes/true will enable online learning mode. Setting this to no/false will disable online learning mode. When online learning mode is disabled, it is still possible to instruct presage to learn through its API. --> <ONLINE_LEARNING>yes</ONLINE_LEARNING> </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>yes</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>10</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> <DefaultSmoothedNgramPredictor> <PREDICTOR>SmoothedNgramPredictor</PREDICTOR> <LOGGER>ERROR</LOGGER> <DBFILENAME>/usr/share/presage/database_empty.db</DBFILENAME> <!-- delta_0, delta_1, ..., delta_{n-1} Deltas also control the value of n in the n-gram model. --> <DELTAS>0.01 0.1 0.89</DELTAS> <COUNT_THRESHOLD>0</COUNT_THRESHOLD> <LEARN>false</LEARN> <DatabaseConnector> <LOGGER>ERROR</LOGGER> </DatabaseConnector> </DefaultSmoothedNgramPredictor> <DefaultSmoothedNgramTriePredictor> <PREDICTOR>SmoothedNgramTriePredictor</PREDICTOR> <LOGGER>ERROR</LOGGER> <DBFILENAME>/usr/share/presage/database_empty</DBFILENAME> <!-- delta_0, delta_1, ..., delta_{n-1} Deltas also control the value of n in the n-gram model. --> <DELTAS>0.01 0.1 0.89</DELTAS> <COUNT_THRESHOLD>0</COUNT_THRESHOLD> <DatabaseConnector> <LOGGER>ERROR</LOGGER> </DatabaseConnector> </DefaultSmoothedNgramTriePredictor> <UserSmoothedNgramPredictor> <PREDICTOR>SmoothedNgramPredictor</PREDICTOR> <LOGGER>ERROR</LOGGER> <!-- ${HOME} is special. It expands to: - $HOME on Unix - %USERPROFILE% on Windows --> <DBFILENAME>${HOME}/.local/share/presage/lm.db</DBFILENAME> <!-- delta_0, delta_1, ..., delta_{n-1} Deltas also control the value of n in the n-gram model. --> <DELTAS>0.01 0.1 0.89</DELTAS> <COUNT_THRESHOLD>0</COUNT_THRESHOLD> <LEARN>true</LEARN> <DatabaseConnector> <LOGGER>ERROR</LOGGER> </DatabaseConnector> </UserSmoothedNgramPredictor> <DefaultRecencyPredictor> <PREDICTOR>RecencyPredictor</PREDICTOR> <LOGGER>ERROR</LOGGER> <LAMBDA>1</LAMBDA> <N_0>1</N_0> <CUTOFF_THRESHOLD>20</CUTOFF_THRESHOLD> </DefaultRecencyPredictor> <DefaultHunspellPredictor> <PREDICTOR>HunspellPredictor</PREDICTOR> <LOGGER>ERROR</LOGGER> <!-- basename of the dictionary and affix files. extensions .dic and .aff will be added, as appropriate --> <DICTIONARYBASE>/usr/share/hunspell/en_US</DICTIONARYBASE> <!-- the probability assigned to the first prediction --> <PROBABILITY>0.000001</PROBABILITY> </DefaultHunspellPredictor> </Predictors> </Presage>