-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathhowto.html
211 lines (161 loc) · 11.5 KB
/
howto.html
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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#2D2D2D" />
<title>NLTK :: Example usage of NLTK modules</title>
<link rel="stylesheet" href="_static/css/nltk_theme.css"/>
<link rel="stylesheet" href="_static/css/custom.css"/>
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/sphinx_highlight.js"></script>
<script src="https://email.tl.fortawesome.com/c/eJxNjUEOgyAQAF8jR7Kw6wIHDh7sP1Cw2mgxgmn6-3JsMqc5zEQfE8dkxOY1KKMUOI3ACFKRJpSW2AAp7ontYIaxI6i7XPJVwyeVfCQ550Os3jLrGSNOLgbdAy6s0PBk2TFNjEbsfq31LB0OnX407pJa5v2faRadwSW63mn5KuLyR9j2tgx3zecanl-55R_-jjPs"></script>
</head>
<body>
<div id="nltk-theme-container">
<header>
<div id="logo-container">
<h1>
<a href="index.html">NLTK</a>
</h1>
</div>
<div id="project-container">
<h1>Documentation</h1>
</div>
<a id="menu-toggle" class="fa fa-bars" aria-hidden="true"></a>
<script type="text/javascript">
$("#menu-toggle").click(function() {
$("#menu-toggle").toggleClass("toggled");
$("#side-menu-container").slideToggle(300);
});
</script>
</header>
<div id="content-container">
<div id="side-menu-container">
<div id="search" role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<div id="side-menu" role="navigation">
<p class="caption" role="heading"><span class="caption-text">NLTK Documentation</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="api/nltk.html">API Reference</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Example Usage</a></li>
<li class="toctree-l1"><a class="reference internal" href="py-modindex.html">Module Index</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/nltk/nltk/wiki">Wiki</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/nltk/nltk/wiki/FAQ">FAQ</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/nltk/nltk/issues">Open Issues</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/nltk/nltk">NLTK on GitHub</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Installation</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="install.html">Installing NLTK</a></li>
<li class="toctree-l1"><a class="reference internal" href="data.html">Installing NLTK Data</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">More</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="news.html">Release Notes</a></li>
<li class="toctree-l1"><a class="reference internal" href="contribute.html">Contributing to NLTK</a></li>
<li class="toctree-l1"><a class="reference internal" href="team.html">NLTK Team</a></li>
</ul>
</div>
</div>
<div id="main-content-container">
<div id="main-content" role="main">
<section id="example-usage-of-nltk-modules">
<h1>Example usage of NLTK modules<a class="headerlink" href="#example-usage-of-nltk-modules" title="Link to this heading">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="howto/bleu.html">Sample usage for bleu</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/bnc.html">Sample usage for bnc</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/ccg.html">Sample usage for ccg</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/ccg_semantics.html">Sample usage for ccg_semantics</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/chat80.html">Sample usage for chat80</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/childes.html">Sample usage for childes</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/chunk.html">Sample usage for chunk</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/classify.html">Sample usage for classify</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/collections.html">Sample usage for collections</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/collocations.html">Sample usage for collocations</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/concordance.html">Sample usage for concordance</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/corpus.html">Sample usage for corpus</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/crubadan.html">Sample usage for crubadan</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/data.html">Sample usage for data</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/dependency.html">Sample usage for dependency</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/discourse.html">Sample usage for discourse</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/drt.html">Sample usage for drt</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/featgram.html">Sample usage for featgram</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/featstruct.html">Sample usage for featstruct</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/framenet.html">Sample usage for framenet</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/generate.html">Sample usage for generate</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/gensim.html">Sample usage for gensim</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/gluesemantics.html">Sample usage for gluesemantics</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/gluesemantics_malt.html">Sample usage for gluesemantics_malt</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/grammar.html">Sample usage for grammar</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/grammartestsuites.html">Sample usage for grammartestsuites</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/inference.html">Sample usage for inference</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/internals.html">Sample usage for internals</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/japanese.html">Sample usage for japanese</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/lm.html">Sample usage for lm</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/logic.html">Sample usage for logic</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/meteor.html">Sample usage for meteor</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/metrics.html">Sample usage for metrics</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/misc.html">Sample usage for misc</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/nonmonotonic.html">Sample usage for nonmonotonic</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/paice.html">Sample usage for paice</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/parse.html">Sample usage for parse</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/portuguese_en.html">Sample usage for portuguese_en</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/probability.html">Sample usage for probability</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/propbank.html">Sample usage for propbank</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/relextract.html">Sample usage for relextract</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/resolution.html">Sample usage for resolution</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/semantics.html">Sample usage for semantics</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/sentiment.html">Sample usage for sentiment</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/sentiwordnet.html">Sample usage for sentiwordnet</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/simple.html">Sample usage for simple</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/stem.html">Sample usage for stem</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/tag.html">Sample usage for tag</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/tokenize.html">Sample usage for tokenize</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/toolbox.html">Sample usage for toolbox</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/translate.html">Sample usage for translate</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/tree.html">Sample usage for tree</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/treeprettyprinter.html">Sample usage for treeprettyprinter</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/treetransforms.html">Sample usage for treetransforms</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/util.html">Sample usage for util</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/wordnet.html">Sample usage for wordnet</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/wordnet_lch.html">Sample usage for wordnet_lch</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto/wsd.html">Sample usage for wsd</a></li>
</ul>
</div>
</section>
</div>
</div>
</div>
<footer>
<div id="footer-info">
<ul id="build-details">
<li class="footer-element">
<a href="_sources/howto.rst.txt" rel="nofollow"> source</a>
</li>
<li class="footer-element">
<a href="https://github.com/nltk/nltk/tree/3.9.1">3.9.1</a>
</li>
<li class="footer-element">
Aug 19, 2024
</li>
</ul>
<div id="copyright">
© 2024, NLTK Project
</div>
<div id="credit">
created with <a href="http://sphinx-doc.org/">Sphinx</a> and <a href="https://github.com/tomaarsen/nltk_theme">NLTK Theme</a>
</div>
</div>
</footer>
</div>
</body>
</html>