Re: [Presage-user] Use on Linux Device
the intelligent predictive text entry platform
Status: Beta
Brought to you by:
matteovescovi
|
From: Jaworski, F. <fd...@bu...> - 2013-01-24 21:05:14
|
Matteo,
Can you help me the C api?
All I want to do is take what the user enters, say "abo" and have the application show the possible predictions through pressing the * key (cycles through them) and then have them select it by pressing space. At this point, new predictions will offered as the user enters more data.
Thank you.
From: Matteo Vescovi [mailto:mat...@ya...]
Sent: Thursday, January 24, 2013 12:08 PM
To: Jaworski, Frank
Cc: pre...@li...
Subject: Re: [Presage-user] Use on Linux Device
On 23/01/13 18:43, Jaworski, Frank wrote:
Matteo,
Essentially I'd like to do something like the presage_demo_c application in the bindings folder. However, when I try to run that, I get an error:
[PredictorRegistry] Presage.Predictors.DefaultSmoothedNgramPredictor.PREDICTOR class is unknown.
I am not sure how to set up my system such that I can use the Presage library. Can you help? Thanks.
I guessing that you don't have SQLite installed on your system, or that you built presage without sqlite.
As detailed in the presage README, the SQLite library and dev files are required.
Please review the output produced by presage ./configure script.
You should see the following:
<snip>
checking for sqlite3_open in -lsqlite3... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
configure: using sqlite 3
</snip>
and you should see this as well:
<snip>
Predictors:
Smoothed n-gram: ............ yes
</snip>
Please let me know if rebuilding presage with SQLite installed solves your problem.
Cheers,
- Matteo
|