[0cf85fa] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[432ea40] | 7 | <!ENTITY snowballstemmer-download-http "https://files.pythonhosted.org/packages/source/a/snowballstemmer/snowballstemmer-&snowballstemmer-version;.tar.gz">
|
---|
| 8 | <!ENTITY snowballstemmer-download-ftp " ">
|
---|
| 9 | <!ENTITY snowballstemmer-md5sum "ecac3af818f7a65596efc6e243b520a0">
|
---|
| 10 | <!ENTITY snowballstemmer-size "212 KB">
|
---|
| 11 | <!ENTITY snowballstemmer-buildsize "2.6 MB">
|
---|
| 12 | <!ENTITY snowballstemmer-time "less than 0.1 SBU">
|
---|
[0cf85fa] | 13 | ]>
|
---|
| 14 |
|
---|
[432ea40] | 15 | <sect2 id="snowballstemmer" xreflabel="snowballstemmer-&snowballstemmer-version;">
|
---|
[0cf85fa] | 16 |
|
---|
[432ea40] | 17 | <title>Snowballstemmer-&snowballstemmer-version;</title>
|
---|
[0cf85fa] | 18 |
|
---|
[432ea40] | 19 | <indexterm zone="snowballstemmer">
|
---|
| 20 | <primary sortas="a-snowballstemmer">snowballstemmer</primary>
|
---|
[0cf85fa] | 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
[432ea40] | 24 | <title>Introduction to Snowballstemmer Module</title>
|
---|
[0cf85fa] | 25 |
|
---|
| 26 | <para>
|
---|
[432ea40] | 27 | The <application>Snowballstemmer</application> package is a small
|
---|
| 28 | string processing language for creating stemming algorithms for use
|
---|
| 29 | in Information Retrieval, plus a collection of stemming algorithms
|
---|
| 30 | implemented using it. Stemming maps different forms of the same word
|
---|
| 31 | to a common <quote>stem</quote> &emdash; for example, the English
|
---|
| 32 | stemmer maps <emphasis>connection</emphasis>,
|
---|
| 33 | <emphasis>connections</emphasis>, <emphasis>connective</emphasis>,
|
---|
| 34 | <emphasis>connected</emphasis>, and <emphasis>connecting</emphasis>
|
---|
| 35 | to <emphasis>connect</emphasis>. So a searching for
|
---|
| 36 | <emphasis>connected</emphasis> would also find documents which only
|
---|
| 37 | have the other forms.
|
---|
[0cf85fa] | 38 | </para>
|
---|
| 39 |
|
---|
| 40 | &lfs112_checked;
|
---|
| 41 |
|
---|
| 42 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
[432ea40] | 46 | Download (HTTP): <ulink url="&snowballstemmer-download-http;"/>
|
---|
[0cf85fa] | 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
[432ea40] | 51 | Download (FTP): <ulink url="&snowballstemmer-download-ftp;"/>
|
---|
[0cf85fa] | 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
[432ea40] | 56 | Download MD5 sum: &snowballstemmer-md5sum;
|
---|
[0cf85fa] | 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
[432ea40] | 61 | Download size: &snowballstemmer-size;
|
---|
[0cf85fa] | 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
[432ea40] | 66 | Estimated disk space required: &snowballstemmer-buildsize;
|
---|
[0cf85fa] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
[432ea40] | 71 | Estimated build time: &snowballstemmer-time;
|
---|
[0cf85fa] | 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3 role="installation">
|
---|
[432ea40] | 79 | <title>Installation of Snowballstemmer</title>
|
---|
[0cf85fa] | 80 |
|
---|
| 81 | <para> Build the module: </para>
|
---|
| 82 |
|
---|
[432ea40] | 83 | <screen><userinput>make dist_libstemmer_python</userinput></screen>
|
---|
[0cf85fa] | 84 |
|
---|
| 85 | <para>
|
---|
| 86 | This package does not come with a test suite.
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[432ea40] | 93 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user snowballstemmer</userinput></screen>
|
---|
[0cf85fa] | 94 |
|
---|
| 95 | </sect3>
|
---|
| 96 |
|
---|
| 97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 98 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 99 |
|
---|
| 100 | <sect3 role="content">
|
---|
| 101 | <title>Contents</title>
|
---|
| 102 |
|
---|
| 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed Programs</segtitle>
|
---|
| 105 | <segtitle>Installed Libraries</segtitle>
|
---|
| 106 | <segtitle>Installed Directories</segtitle>
|
---|
| 107 |
|
---|
| 108 | <seglistitem>
|
---|
[432ea40] | 109 | <seg>None</seg>
|
---|
[0cf85fa] | 110 | <seg>None</seg>
|
---|
| 111 | <seg>
|
---|
[432ea40] | 112 | /usr/lib/python&python3-majorver;/site-packages/snowballstemmer and
|
---|
| 113 | /usr/lib/python&python3-majorver;/site-packages/snowballstemmer-&snowballstemmer-version;.dist-info
|
---|
[0cf85fa] | 114 | </seg>
|
---|
| 115 | </seglistitem>
|
---|
| 116 | </segmentedlist>
|
---|
| 117 | <!--
|
---|
| 118 | <variablelist>
|
---|
| 119 | <bridgehead renderas="sect5">Short Descriptions</bridgehead>
|
---|
| 120 | <?dbfo list-presentation="list"?>
|
---|
| 121 | <?dbhtml list-presentation="table"?>
|
---|
| 122 |
|
---|
| 123 | <varlistentry id="a2x">
|
---|
| 124 | <term><command>a2x</command></term>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>
|
---|
| 127 | is a toolchain manager for AsciiDoc
|
---|
[432ea40] | 128 | (converts Snowballstemmer text files to other file formats)
|
---|
[0cf85fa] | 129 | </para>
|
---|
[432ea40] | 130 | <indexterm zone="snowballstemmer a2x">
|
---|
[0cf85fa] | 131 | <primary sortas="b-a2x">a2x</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
[432ea40] | 136 | <varlistentry id="snowballstemmer-prog">
|
---|
| 137 | <term><command>snowballstemmer</command></term>
|
---|
[0cf85fa] | 138 | <listitem>
|
---|
| 139 | <para>
|
---|
| 140 | converts an AsciiDoc text file to HTML or DocBook
|
---|
| 141 | </para>
|
---|
[432ea40] | 142 | <indexterm zone="snowballstemmer snowballstemmer-prog">
|
---|
| 143 | <primary sortas="b-snowballstemmer-prog">snowballstemmer</primary>
|
---|
[0cf85fa] | 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | </variablelist>
|
---|
| 149 | -->
|
---|
| 150 | </sect3>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|