Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced http with https in most URLs #2852

Merged
merged 5 commits into from Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
@@ -1,6 +1,6 @@
# Contributing to NLTK

Hi! Thanks for your interest in contributing to [NLTK](http://www.nltk.org/).
Hi! Thanks for your interest in contributing to [NLTK](https://www.nltk.org/).
:-) You'll be joining a [long list of contributors](https://github.com/nltk/nltk/blob/develop/AUTHORS.md).
In this document we'll try to summarize everything that you need to know to
do a good job.
Expand Down Expand Up @@ -33,11 +33,11 @@ Some priority areas for development are listed in the [NLTK Wiki](https://github

### Git

We use [Git](http://git-scm.com/) as our [version control
system](http://en.wikipedia.org/wiki/Revision_control), so the best way to
We use [Git](https://git-scm.com/) as our [version control
system](https://en.wikipedia.org/wiki/Revision_control), so the best way to
contribute is to learn how to use it and put your changes on a Git repository.
There's a plenty of documentation about Git -- you can start with the [Pro Git
book](http://git-scm.com/book/).
book](https://git-scm.com/book/).


### Setting up a Development Environment
Expand All @@ -63,7 +63,7 @@ repository [nltk/nltk](https://github.com/nltk/nltk/):
### GitHub Pull requests

We use the famous
[gitflow](http://nvie.com/posts/a-successful-git-branching-model/) to manage our
[gitflow](https://nvie.com/posts/a-successful-git-branching-model/) to manage our
branches.

Summary of our git branching model:
Expand All @@ -89,7 +89,7 @@ Summary of our git branching model:
### Tips

- Write [helpful commit
messages](http://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message).
messages](https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message).
- Anything in the `develop` branch should be deployable (no failing tests).
- Never use `git add .`: it can add unwanted files;
- Avoid using `git commit -a` unless you know what you're doing;
Expand All @@ -106,16 +106,16 @@ Summary of our git branching model:

## Code Guidelines

- Use [PEP8](http://www.python.org/dev/peps/pep-0008/);
- Use [PEP8](https://www.python.org/dev/peps/pep-0008/);
- Write tests for your new features (please see "Tests" topic below);
- Always remember that [commented code is dead
code](http://www.codinghorror.com/blog/2008/07/coding-without-comments.html);
code](https://www.codinghorror.com/blog/2008/07/coding-without-comments.html);
- Name identifiers (variables, classes, functions, module names) with readable
names (`x` is always wrong);
- When manipulating strings, we prefer either [f-string
formatting](https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals)
(f`'{a} = {b}'`) or [new-style
formatting](http://docs.python.org/library/string.html#format-string-syntax)
formatting](https://docs.python.org/library/string.html#format-string-syntax)
(`'{} = {}'.format(a, b)`), instead of the old-style formatting (`'%s = %s' % (a, b)`);
- All `#TODO` comments should be turned into issues (use our
[GitHub issue system](https://github.com/nltk/nltk/issues));
Expand Down
10 changes: 5 additions & 5 deletions ChangeLog
Expand Up @@ -239,7 +239,7 @@ Version 3.2.2 2016-12-31
* rewrite Porter Stemmer
* rewrite FrameNet corpus reader
(adds frame parameter to fes(), lus(), exemplars()
see http://nltk.org/howto/framenet.html)
see https://www.nltk.org/howto/framenet.html)
* updated FrameNet Corpus to version 1.7
* fixes to stanford_segmenter.py, SentiText, CoNLL Corpus Reader
* fixes to BLEU, naivebayes, Krippendorff's alpha, Punkt
Expand Down Expand Up @@ -509,9 +509,9 @@ Morten Neergaard, Nathan Schneider, Rico Sennrich.

Version 2.0.1 2012-05-15

* moved NLTK to GitHub: http://github.com/nltk
* moved NLTK to GitHub: https://github.com/nltk
* set up integration testing: https://jenkins.shiningpanda.com/nltk/ (Morten Neergaard)
* converted documentation to Sphinx format: http://nltk.github.com/api/nltk.html
* converted documentation to Sphinx format: https://www.nltk.org/api/nltk.html
* dozens of minor enhancements and bugfixes: https://github.com/nltk/nltk/commits/
* dozens of fixes for conformance with PEP-8
* dozens of fixes to ensure operation with Python 2.5
Expand Down Expand Up @@ -642,7 +642,7 @@ NLTK-Contrib:

Book:
* updates for second printing, correcting errata
http://nltk.googlecode.com/svn/trunk/nltk/doc/book/errata.txt
https://nltk.googlecode.com/svn/trunk/nltk/doc/book/errata.txt

Data:
* added Europarl sample, with 10 docs for each of 11 langs (Nitin Madnani)
Expand Down Expand Up @@ -855,7 +855,7 @@ Data:
* Added movie script "Monty Python and the Holy Grail" to webtext corpus
* Replaced words corpus data with a much larger list of English words
* New URL for list of available NLTK corpora
http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml
https://nltk.googlecode.com/svn/trunk/nltk_data/index.xml

Book:
* complete rewrite of first three chapters to make the book accessible
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.txt
Expand Up @@ -2,4 +2,4 @@ To install NLTK, run setup.py from an administrator account, e.g.:

sudo python setup.py install

For full installation instructions, please see http://nltk.github.com/install.html
For full installation instructions, please see https://www.nltk.org/install.html
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Author: Steven Bird <stevenbird1@gmail.com>
# Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

PYTHON = python
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -6,15 +6,15 @@ NLTK -- the Natural Language Toolkit -- is a suite of open source Python
modules, data sets, and tutorials supporting research and development in Natural
Language Processing. NLTK requires Python version 3.6, 3.7, 3.8, or 3.9.

For documentation, please visit [nltk.org](http://www.nltk.org/).
For documentation, please visit [nltk.org](https://www.nltk.org/).


## Contributing

Do you want to contribute to NLTK development? Great!
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

See also [how to contribute to NLTK](http://www.nltk.org/contribute.html).
See also [how to contribute to NLTK](https://www.nltk.org/contribute.html).


## Donate
Expand Down
6 changes: 3 additions & 3 deletions nltk/__init__.py
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Authors: Steven Bird <stevenbird1@gmail.com>
# Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand All @@ -13,7 +13,7 @@

Steven Bird, Ewan Klein, and Edward Loper (2009).
Natural Language Processing with Python. O'Reilly Media Inc.
http://nltk.org/book
https://www.nltk.org/book

isort:skip_file
"""
Expand Down Expand Up @@ -67,7 +67,7 @@
"natural language",
"text analytics",
]
__url__ = "http://nltk.org/"
__url__ = "https://www.nltk.org/"

# Maintainer, contributors, etc.
__maintainer__ = "NLTK Team"
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/__init__.py
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Author: Edward Loper <edloper@gmail.com>
# Steven Bird <stevenbird1@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/chartparser_app.py
Expand Up @@ -4,7 +4,7 @@
# Author: Edward Loper <edloper@gmail.com>
# Jean Mark Gawron <gawron@mail.sdsu.edu>
# Steven Bird <stevenbird1@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/chunkparser_app.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/collocations_app.py
Expand Up @@ -2,7 +2,7 @@
# Much of the GUI code is imported from concordance.py; We intend to merge these tools together
# Copyright (C) 2001-2021 NLTK Project
# Author: Sumukh Ghodke <sghodke@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
#

Expand Down
2 changes: 1 addition & 1 deletion nltk/app/concordance_app.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Sumukh Ghodke <sghodke@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

import queue as q
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/nemo_app.py
@@ -1,5 +1,5 @@
# Finding (and Replacing) Nemo, Version 1.1, Aristide Grange 2006/06/06
# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496783
# https://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496783

"""
Finding (and Replacing) Nemo
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/rdparser_app.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/srparser_app.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/app/wordfreq_app.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Sumukh Ghodke <sghodke@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

from matplotlib import pylab
Expand Down
12 changes: 6 additions & 6 deletions nltk/app/wordnet_app.py
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Author: Jussi Salmela <jtsalmela@users.sourceforge.net>
# Paul Bone <pbone@students.csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down Expand Up @@ -830,7 +830,7 @@ def get_static_web_help_page():
<!-- Natural Language Toolkit: Wordnet Interface: Graphical Wordnet Browser
Copyright (C) 2001-2021 NLTK Project
Author: Jussi Salmela <jtsalmela@users.sourceforge.net>
URL: <http://nltk.org/>
URL: <https://www.nltk.org/>
For license information, see LICENSE.TXT -->
<head>
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii'>
Expand All @@ -840,8 +840,8 @@ def get_static_web_help_page():
<h2>NLTK Wordnet Browser Help</h2>
<p>The NLTK Wordnet Browser is a tool to use in browsing the Wordnet database. It tries to behave like the Wordnet project's web browser but the difference is that the NLTK Wordnet Browser uses a local Wordnet database.
<p><b>You are using the Javascript client part of the NLTK Wordnet BrowseServer.</b> We assume your browser is in tab sheets enabled mode.</p>
<p>For background information on Wordnet, see the Wordnet project home page: <a href="http://wordnet.princeton.edu/"><b> http://wordnet.princeton.edu/</b></a>. For more information on the NLTK project, see the project home:
<a href="http://nltk.sourceforge.net/"><b>http://nltk.sourceforge.net/</b></a>. To get an idea of what the Wordnet version used by this browser includes choose <b>Show Database Info</b> from the <b>View</b> submenu.</p>
<p>For background information on Wordnet, see the Wordnet project home page: <a href="https://wordnet.princeton.edu/"><b> https://wordnet.princeton.edu/</b></a>. For more information on the NLTK project, see the project home:
<a href="https://www.nltk.org/"><b>https://www.nltk.org/</b></a>. To get an idea of what the Wordnet version used by this browser includes choose <b>Show Database Info</b> from the <b>View</b> submenu.</p>
<h3>Word search</h3>
<p>The word to be searched is typed into the <b>New Word</b> field and the search started with Enter or by clicking the <b>Search</b> button. There is no uppercase/lowercase distinction: the search word is transformed to lowercase before the search.</p>
<p>In addition, the word does not have to be in base form. The browser tries to find the possible base form(s) by making certain morphological substitutions. Typing <b>fLIeS</b> as an obscure example gives one <a href="MfLIeS">this</a>. Click the previous link to see what this kind of search looks like and then come back to this page by using the <b>Alt+LeftArrow</b> key combination.</p>
Expand Down Expand Up @@ -900,7 +900,7 @@ def get_static_index_page(with_shutdown):
<!-- Natural Language Toolkit: Wordnet Interface: Graphical Wordnet Browser
Copyright (C) 2001-2021 NLTK Project
Author: Jussi Salmela <jtsalmela@users.sourceforge.net>
URL: <http://nltk.org/>
URL: <https://www.nltk.org/>
For license information, see LICENSE.TXT -->
<HEAD>
<TITLE>NLTK Wordnet Browser</TITLE>
Expand Down Expand Up @@ -933,7 +933,7 @@ def get_static_upper_page(with_shutdown):
<!-- Natural Language Toolkit: Wordnet Interface: Graphical Wordnet Browser
Copyright (C) 2001-2021 NLTK Project
Author: Jussi Salmela <jtsalmela@users.sourceforge.net>
URL: <http://nltk.org/>
URL: <https://www.nltk.org/>
For license information, see LICENSE.TXT -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Expand Down
2 changes: 1 addition & 1 deletion nltk/book.py
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Author: Steven Bird <stevenbird1@gmail.com>
#
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

from nltk.corpus import (
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/__init__.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/api.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

from abc import ABCMeta, abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/chart.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/combinator.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
"""
CCG Combinators
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/lexicon.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
"""
CCG Lexicons
Expand Down
2 changes: 1 addition & 1 deletion nltk/ccg/logic.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Tanin Na Nakorn (@tanin)
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
"""
Helper functions for CCG semantics computation
Expand Down
2 changes: 1 addition & 1 deletion nltk/chat/__init__.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Authors: Steven Bird <stevenbird1@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

# Based on an Eliza implementation by Joe Strout <joe@strout.net>,
Expand Down
2 changes: 1 addition & 1 deletion nltk/chat/eliza.py
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2001-2021 NLTK Project
# Authors: Steven Bird <stevenbird1@gmail.com>
# Edward Loper <edloper@gmail.com>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

# Based on an Eliza implementation by Joe Strout <joe@strout.net>,
Expand Down
2 changes: 1 addition & 1 deletion nltk/chat/iesha.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Selina Dennis <sjmd@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

"""
Expand Down
2 changes: 1 addition & 1 deletion nltk/chat/rude.py
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Peter Spiller <pspiller@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT

from nltk.chat.util import Chat, reflections
Expand Down