-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
221 lines (139 loc) · 6.54 KB
/
README
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
Copyright (C) 2008 Matteo Vescovi <[email protected]>
___________________
The Presage project
~~~~~~~~~~~~~~~~~~~
Welcome to Presage, the intelligent predictive text entry system.
This document will guide you through the steps required to configure
and build the Presage system and libraries. You should be ready to run
Presage in a few minutes.
This README does not contain the answers to all the questions you
might have. If you run into troubles, if you have problems, or if you
would like a pressing question answered, please direct your attention
to the doc/ directory, where you will find all the available
documentation.
Requirements:
- A working development enviroment.
On Linux/Unix systems, this means having GCC (g++), the GNU Compiler
Collection packages, as well as libraries for these languages
(libstdc++, glibc, etc).
On Solaris systems, this means having Sun Studio 10 or Sun Studio 11
compilers.
On Windows systems, please either install the Cygwin development
environment or the MinGW/MSYS developer environment.
Cygwin can be obtained from http://www.cygwin.com
Instructions on how to setup Cygwin and required packages can be
found in the doc/INSTALL_Cygwin_dev_env.txt file.
MinGW/MSYS can be obtained from http://www.mingw.org
Instructions on how to setup MinGW/MSYS and required packages can be
found in the doc/INSTALL_MinGW_MSYS_dev_env.txt file.
- SQLite package. SQLite is a small C library that implements a
self-contained, embeddable, zero-configuration SQL database engine.
SQLite can be obtained from http://www.sqlite.org
On Debian systems, install libsqlite3-dev and sqlite3 packages.
Optional:
- Curses library. On Debian systems, install libncurses5-dev.
- CPPUnit library. On Debian systems, install libcppunit-dev.
- Python package. On Debian systems, install python-dev.
- SWIG package. On Debian systems, install swig.
- help2man package. On Debian systems, install help2man.
- doxygen package. On Debian systems, install doxygen.
- dot program. On Debian systems, install graphviz.
- X11 EvIE extension library. On Debian systems, install libxevie-dev.
- GNOME development package. On Debian systems, install gnome-devel.
- CMU-Cambridge Statistical Language Modeling toolkit.
_______________________
STEP 0: Getting Presage
~~~~~~~~~~~~~~~~~~~~~~~
Official releases and development snapshots are available from the
download section of the official website hosted by SourceForge
http://presage.sourceforge.net
Alternatively, get the latest and greatest sources from SVN.
_________________________
STEP 1: Unpacking Presage
~~~~~~~~~~~~~~~~~~~~~~~~~
On Linux/Unix, uncompress and untar the distribution with
tar jxvf presage-*.tar.bz2
or
tar zxvf presage-*.tar.gz
depending on whether you downloaded the tarball or the bzipped archive.
___________________________
STEP 2: Configuring Presage
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Configuring Presage to different platforms, environments and
operating systems is simply a matter of running
./configure
in the top-level directory of the distribution. This will configure
Presage for your system. Should you require additional options, try
./configure --help
to see the available options.
_________________________
STEP 3: Compiling Presage
~~~~~~~~~~~~~~~~~~~~~~~~~
Kick off the compilation with
make
This will build the Presage system, libraries and available
plugins.
__________________________
STEP 4: Installing Presage
~~~~~~~~~~~~~~~~~~~~~~~~~~
Install Presage and its support libraries and plugins by typing
make install
__________________________________
STEP 5: Let Presage read your mind
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Presage includes some demonstration programs that will read the user
input and guess what the user intends to type using its predictive
technology. These programs require additional libraries that are not
needed by the presage library and might not be configured to build,
depending on the build system installed libraries (except
presage_demo_text, which has no extra dependencies and is therefore
always built). To start, type:
* presage_demo_text
Simple textual console application designed to interactively test
presage predictive functionality. The program reads strings from
standard input and returns predictions.
* presage_demo
Ncurses based demo program similar to presage_demo_text.
* presage_simulator
Console application that simulates presage predictive process and
reports on predictive performance.
* presage_python_demo
Simple console application designed to interactively test presage
python binding.
* gprompter
Cross-platform predictive text editor. gprompter displays
predictions in a contextual pop-up box as each letter is
typed. Predictions can be easily selected and inserted in the
document. gprompter is a cross-platform GTK+ application.
* pyprompter
Text editor with autocompletion popups displaying predictions and
enabling users to quickly and efficiently select the correct
prediction or requesting more predictions. pyprompter is a
cross-platform wxPython application.
* pypresagemate
Universal predictive text companion. Pypresagemate works alongside
any AT-SPI aware application. The Assistive Technology Service
Provider Interface (AT-SPI) is a toolkit-neutral way of providing
accessibility facilities in applications. Pypresagemate works in
the background by tracking what keystrokes are typed and displaying
predictions in its window. When a prediction is selected, text is
sent to the active application.
* gpresagemate
X application that monitors all X events and display predictions in
its window. When users select the correct prediction, it is sent to
the current active X application as if it had been typed
in. Requires that XEvIE X extension is enabled.
########/
Copyright (C) 2008 Matteo Vescovi <[email protected]>
Presage is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
########\