source: general/prog/python-dependencies/snowballstemmer.xml@ 569925c7

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 569925c7 was 569925c7, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update python modules for pythonhosted

Move the pythonhoted page to python_modules even though it is not
yet activated to render in the book.

Change location of pythonhosted md5sum ENTITIES to packages.ent
so they can be used in multiple pages but only need to be updated
in one place.

Note that pages not have entries like:

<!ENTITY asciidoc-md5sum "&asciidoc-md5sum;">

so this seems to be redefinig the entity to the version
in packages.ent. This seems to be OK with the build system.

  • Property mode set to 100644
File size: 4.0 KB
Line 
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
7 <!ENTITY snowballstemmer-download-http "https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-&snowballstemmer-version;.tar.gz">
8 <!ENTITY snowballstemmer-download-ftp " ">
9 <!ENTITY snowballstemmer-md5sum "&snowballstemmer-md5sum;">
10 <!ENTITY snowballstemmer-size "85 KB">
11 <!ENTITY snowballstemmer-buildsize "3.8 MB">
12 <!ENTITY snowballstemmer-time "less than 0.1 SBU">
13]>
14
15 <sect2 id="snowballstemmer" xreflabel="snowballstemmer-&snowballstemmer-version;">
16
17 <title>Snowballstemmer-&snowballstemmer-version;</title>
18
19 <indexterm zone="snowballstemmer">
20 <primary sortas="a-snowballstemmer">snowballstemmer</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to Snowballstemmer Module</title>
25
26 <para>
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> &mdash; 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.
38 </para>
39
40 &lfs112_checked;
41
42 <bridgehead renderas="sect4">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&snowballstemmer-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&snowballstemmer-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &snowballstemmer-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &snowballstemmer-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &snowballstemmer-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &snowballstemmer-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 </sect3>
77
78 <sect3 role="installation">
79 <title>Installation of Snowballstemmer</title>
80
81 <para> Build the module: </para>
82
83<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
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
93<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user snowballstemmer</userinput></screen>
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>
109 <seg>None</seg>
110 <seg>None</seg>
111 <seg>
112 /usr/lib/python&python3-majorver;/site-packages/snowballstemmer and
113 /usr/lib/python&python3-majorver;/site-packages/snowballstemmer-&snowballstemmer-version;.dist-info
114 </seg>
115 </seglistitem>
116 </segmentedlist>
117
118 </sect3>
119
120 </sect2>
Note: See TracBrowser for help on using the repository browser.