Menu

#16 Add support for empty tag names

v0.9.2
open
None
5
2017-12-06
2017-12-06
No

Hello Matteo,

I am working on integrating presage to a system (Sailfish OS) where it would be a requirement to change language (Presage.Predictors.DefaultSmoothedNgramPredictor.DBFILENAME config) on the fly.

In these systems the english database will not necessarily be installed, so having a hardcoded English db path is not a solution. If I leave the Presage.Predictors.DefaultSmoothedNgramPredictor.DBFILENAME blank in the config XML the presage will fail to load because of the missing parameter. I would recommend to remove the nonempty condition at the configuration loading.

What is your opinion about this?

Discussion


Log in to post a comment.