mirror of https://gitee.com/openkylin/presage.git
Add missing ONLINE_LEARNING configuration value to defaultProfile
Fixes a crash in libpresage when a configuration file isn't found. Bug: https://sourceforge.net/p/presage/patches/3/ Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1639251 Forwarded: https://sourceforge.net/p/presage/patches/3/ Last-Update: 28/10/2016 Gbp-Pq: Name add-missing-online-learning-configuration-value.patch
This commit is contained in:
parent
764c54c063
commit
acfece0c53
|
@ -62,7 +62,16 @@ void DefaultProfile::build_xml_document (const std::string& filename)
|
|||
" <!-- LOWERCASE_MODE"
|
||||
" Instruct context tracker to track text as lowercase"
|
||||
" -->"
|
||||
" <LOWERCASE_MODE>yes</LOWERCASE_MODE>"
|
||||
" <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>"
|
||||
|
|
Loading…
Reference in New Issue