← Back to team overview

cuneiform team mailing list archive

Re: Checked in basic User Dictionary support

 

On Sun, Jul 12, 2009 at 3:21 AM, Ben Jackson<ben@xxxxxxx> wrote:

> "Compile" this to a user dictionary using the new utility.  This must be
> done as root (or at least with write perms to /usr/local/share/cuneiform)
> because the path components are added internally by the library):
>
>        $ sudo cuneiform-dict -l <lang> -o <name>.voc wordlist.txt

Just a quick note to you all: don't run these kinds of commands as
root. First you compile the dict and only then do a 'sudo cp ...'.

You might want to look at the function open_data_file in cfcompat.c to
see how the data files are currently accessed. User added dict files
should be accessed in a similar manner.



Follow ups

References