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
|
'\" t
.\" Title: spelldump
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\" Date: 07/19/2016
.\" Manual: Sphinxsearch
.\" Source: 2.2.11-release
.\" Language: English
.\"
.TH "SPELLDUMP" "1" "07/19/2016" "2\&.2\&.11\-release" "Sphinxsearch"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
spelldump \- Sphinxsearch tool for extract the contents of a dictionary file\&.
.SH "SYNOPSIS"
.HP \w'\fBspelldump\fR\ 'u
\fBspelldump\fR [OPTIONS] dictionary affix [result] [locale\-name]
.SH "DESCRIPTION"
.PP
Sphinx is a collection of programs that aim to provide high quality fulltext search\&.
.PP
spelldump is used to extract the contents of a dictionary file that uses ispell or MySpell format, which can help build word lists for wordforms \- all of the possible forms are pre\-built for you\&.
.PP
The two main parameters are the dictionary\*(Aqs main file and its affix file; usually these are named as
[language\-prefix]\&.dict
and
[language\-prefix]\&.aff
and will be available with most common Linux distributions, as well as various places online\&.
\fB[result]\fR
specifies where the dictionary data should be output to, and
\fB[locale\-name]\fR
additionally specifies the locale details you wish to use\&.
.PP
Examples of its usage are:
.PP
.if n \{\
.RS 4
.\}
.nf
spelldump en\&.dict en\&.aff
spelldump ru\&.dict ru\&.aff ru\&.txt ru_RU\&.CP1251
spelldump ru\&.dict ru\&.aff ru\&.txt \&.1251
.fi
.if n \{\
.RE
.\}
.PP
The results file will contain a list of all the words in the dictionary in alphabetical order, output in the format of a wordforms file, which you can use to customise for your specific circumstances\&.
.PP
An example of the result file:
.PP
.if n \{\
.RS 4
.\}
.nf
zone > zone
zoned > zoned
zoning > zoning
.fi
.if n \{\
.RE
.\}
.SH "OPTIONS"
.PP
\fB\-c\fR\ \&\fI[FILE]\fR
.RS 4
specifies a file for case conversion details\&.
.RE
.SH "AUTHOR"
.PP
Andrey Aksenoff (shodan@sphinxsearch\&.com)\&. This manual page is written by Alexey Vinogradov (klirichek@sphinxsearch\&.com)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation\&.
.PP
On Debian systems, the complete text of the GNU General Public License can be found in
/usr/share/common\-licenses/GPL\&.
.SH "SEE ALSO"
.PP
\fBindexer\fR(1),
\fBindextool\fR(1)\&.
.PP
Sphinx and it\*(Aqs programs are documented fully by the
\fISphinx reference manual\fR
available in
/usr/share/doc/sphinxsearch\&.
|