Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nltk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
nltk
Commits
f175da83
Commit
f175da83
authored
Oct 01, 2014
by
Quentin Pradet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove remaining googlecode URLs
parent
0b91a716
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
15 deletions
+12
-15
nltk/corpus/__init__.py
+3
-3
nltk/downloader.py
+3
-4
nltk/test/align.doctest
+2
-2
nltk/test/ccg.doctest
+0
-3
nltk/test/corpus.doctest
+1
-1
nltk/test/data.doctest
+2
-2
papers/iwcs-08/nltk_iwcs_09.tex
+1
-0
No files found.
nltk/corpus/__init__.py
View file @
f175da83
...
...
@@ -5,7 +5,7 @@
# URL: <http://nltk.org/>
# For license information, see LICENSE.TXT
#
[xx] this docstring isnt'
up-to-date!
#
TODO this docstring isn't
up-to-date!
"""
NLTK corpus readers. The modules in this package provide functions
that can be used to read corpus files in a variety of formats. These
...
...
@@ -16,8 +16,8 @@ of external corpora.
Available Corpora
=================
Please see http://
nltk.googlecode.com/svn/trunk/nltk_data/index.xml
for a complete list.
Install corpora using nltk.download().
Please see http://
www.nltk.org/nltk_data/ for a complete list.
Install corpora using nltk.download().
Corpus Reader Functions
=======================
...
...
nltk/downloader.py
View file @
f175da83
...
...
@@ -54,9 +54,9 @@ NLTK Download Server
Before downloading any packages, the corpus and module downloader
contacts the NLTK download server, to retrieve an index file
describing the available packages. By default, this index file is
loaded from ``http://
nltk.googlecode.com/svn/trunk/nltk_data/index.xml``.
If necessary, it is possible to create a new ``Downloader`` object,
specifying a different
URL for the package index file.
loaded from ``http://
www.nltk.org/nltk_data/``. If necessary, it is
possible to create a new ``Downloader`` object, specifying a different
URL for the package index file.
Usage::
...
...
@@ -377,7 +377,6 @@ class Downloader(object):
server index will be considered 'stale,' and will be
re-downloaded."""
# DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml'
DEFAULT_URL
=
'http://nltk.github.com/nltk_data/'
"""The default URL for the NLTK data server's index. An
alternative URL can be specified when creating a new
...
...
nltk/test/align.doctest
View file @
f175da83
...
...
@@ -162,7 +162,7 @@ Here are some examples:
.. _nltk.metrics.scores.precision:
http://
nltk.googlecode.com/svn/trunk/doc/api/nltk.metrics.scores-module.html#
precision
http://
www.nltk.org/api/nltk.metrics.html#nltk.metrics.scores.
precision
Recall
...
...
@@ -191,7 +191,7 @@ Here are some examples:
.. _nltk.metrics.scores.recall:
http://
nltk.googlecode.com/svn/trunk/doc/api/nltk.metrics.scores-module.html#
recall
http://
www.nltk.org/api/nltk.metrics.html#nltk.metrics.scores.
recall
Alignment Error Rate (AER)
...
...
nltk/test/ccg.doctest
View file @
f175da83
...
...
@@ -5,9 +5,6 @@
Combinatory Categorial Grammar
==============================
For more information, please see:
http://nltk.googlecode.com/svn/trunk/doc/contrib/ccg/ccg.pdf
Relative Clauses
----------------
...
...
nltk/test/corpus.doctest
View file @
f175da83
...
...
@@ -9,7 +9,7 @@ The `nltk.corpus` package defines a collection of *corpus reader*
classes, which can be used to access the contents of a diverse set of
corpora. The list of available corpora is given at:
http://
nltk.googlecode.com/svn/trunk/nltk_data/index.xml
http://
www.nltk.org/nltk_data/
Each corpus reader class is specialized to handle a specific
corpus format. In addition, the `nltk.corpus` package automatically
...
...
nltk/test/data.doctest
View file @
f175da83
...
...
@@ -277,13 +277,13 @@ Create a temp dir for tests that write files:
The `retrieve()` function accepts all url types:
>>> urls = ['http
://nltk.googlecode.com/svn/trunk/nltk
/nltk/test/toy.cfg',
>>> urls = ['http
s://raw.githubusercontent.com/nltk/nltk/develop
/nltk/test/toy.cfg',
... 'file:%s' % nltk.data.find('grammars/sample_grammars/toy.cfg'),
... 'nltk:grammars/sample_grammars/toy.cfg',
... 'grammars/sample_grammars/toy.cfg']
>>> for i, url in enumerate(urls):
... nltk.data.retrieve(url, 'toy-%d.cfg' % i) # doctest: +ELLIPSIS
Retrieving 'http
://nltk.googlecode.com/svn/trunk/nltk
/nltk/test/toy.cfg', saving to 'toy-0.cfg'
Retrieving 'http
s://raw.githubusercontent.com/nltk/nltk/develop
/nltk/test/toy.cfg', saving to 'toy-0.cfg'
Retrieving 'file:...toy.cfg', saving to 'toy-1.cfg'
Retrieving 'nltk:grammars/sample_grammars/toy.cfg', saving to 'toy-2.cfg'
Retrieving 'nltk:grammars/sample_grammars/toy.cfg', saving to 'toy-3.cfg'
...
...
papers/iwcs-08/nltk_iwcs_09.tex
View file @
f175da83
...
...
@@ -493,6 +493,7 @@ The \NLTK\ module \texttt{sem.glue} implements Glue for
\footnote
{
See
\url
{
http://nltk.googlecode.com/svn/trunk/doc/contrib/sem/index.html
}
for more details.
}
% sem now at https://github.com/nltk/nltk_contrib/tree/master/doc/sem
The following example shows how Glue formulas are
created and combined to derive a logical form for
\textit
{
John walks
}
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment