update to Apache license

This commit is contained in:
Elia Robyn Lake 2022-10-25 14:20:23 -04:00
parent d8f10b7fb8
commit ba424e6c2d
5 changed files with 91 additions and 37 deletions

13
LICENSE.txt Normal file
View File

@ -0,0 +1,13 @@
Copyright 2022 Robyn Speer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,19 +0,0 @@
Copyright (c) 2015 Luminoso Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

64
NOTICE.md Normal file
View File

@ -0,0 +1,64 @@
wordfreq
Copyright 2022 Robyn Speer
# Attribution notes
Robyn Speer must be credited as Robyn Speer, which is her maiden name, used on academic work.
Crediting her as Elia Robyn Lake (her married name) will make the credit less effective, as it will
not line up with other work.
Crediting Robyn Speer by a different name than one of the above is a serious violation of the license,
in which case you do not have permission to use, copy, or redistribute wordfreq.
If you use wordfreq in academic work, you must cite it. See "Citing wordfreq" in README.md.
# Included licenses
`wordfreq` is freely redistributable under the Apache license (see
`LICENSE.txt`), and it includes data files that may be
redistributed under a Creative Commons Attribution-ShareAlike 4.0
license (<https://creativecommons.org/licenses/by-sa/4.0/>).
`wordfreq` contains data extracted from Google Books Ngrams
(<http://books.google.com/ngrams>) and Google Books Syntactic Ngrams
(<http://commondatastorage.googleapis.com/books/syntactic-ngrams/index.html>).
The terms of use of this data are:
Ngram Viewer graphs and data may be freely used for any purpose, although
acknowledgement of Google Books Ngram Viewer as the source, and inclusion
of a link to http://books.google.com/ngrams, would be appreciated.
`wordfreq` also contains data derived from the following Creative Commons-licensed
sources:
- The Leeds Internet Corpus, from the University of Leeds Centre for Translation
Studies (<http://corpus.leeds.ac.uk/list.html>)
- Wikipedia, the free encyclopedia (<http://www.wikipedia.org>)
- ParaCrawl, a multilingual Web crawl (<https://paracrawl.eu>)
It contains data from OPUS OpenSubtitles 2018
(<http://opus.nlpl.eu/OpenSubtitles.php>), whose data originates from the
OpenSubtitles project (<http://www.opensubtitles.org/>) and may be used with
attribution to OpenSubtitles.
It contains data from various SUBTLEX word lists: SUBTLEX-US, SUBTLEX-UK,
SUBTLEX-CH, SUBTLEX-DE, and SUBTLEX-NL, created by Marc Brysbaert et al.
(see citations below) and available at
<http://crr.ugent.be/programs-data/subtitle-frequencies>.
I (Robyn Speer) have obtained permission by e-mail from Marc Brysbaert to
distribute these wordlists in wordfreq, to be used for any purpose, not just
for academic use, under these conditions:
- Wordfreq and code derived from it must credit the SUBTLEX authors.
- It must remain clear that SUBTLEX is freely available data.
These terms are similar to the Creative Commons Attribution-ShareAlike license.
Some additional data was collected by a custom application that watches the
streaming Twitter API, in accordance with Twitter's Developer Agreement &
Policy. This software gives statistics about words that are commonly used on
Twitter; it does not display or republish any Twitter content.

View File

@ -454,8 +454,8 @@ As of version 2.4.2, you no longer have to install dictionaries separately.
## License ## License
`wordfreq` is freely redistributable under the MIT license (see `wordfreq` is freely redistributable under the Apache license (see
`MIT-LICENSE.txt`), and it includes data files that may be `LICENSE.txt`), and it includes data files that may be
redistributed under a Creative Commons Attribution-ShareAlike 4.0 redistributed under a Creative Commons Attribution-ShareAlike 4.0
license (<https://creativecommons.org/licenses/by-sa/4.0/>). license (<https://creativecommons.org/licenses/by-sa/4.0/>).
@ -508,24 +508,20 @@ If you use wordfreq in your research, please cite it! We publish the code
through Zenodo so that it can be reliably cited using a DOI. The current through Zenodo so that it can be reliably cited using a DOI. The current
citation is: citation is:
> Robyn Speer, Joshua Chin, Andrew Lin, Sara Jewett, & Lance Nathan. > Robyn Speer. (2022). rspeer/wordfreq: v3.0 (v3.0.2). Zenodo. https://doi.org/10.5281/zenodo.7199437
> (2018, October 3). LuminosoInsight/wordfreq: v2.2. Zenodo.
> <https://doi.org/10.5281/zenodo.1443582>
The same citation in BibTex format: The same citation in BibTex format:
``` ```
@misc{robyn_speer_2018_1443582, @software{robyn_speer_2022_7199437,
author = {Robyn Speer and author = {Robyn Speer},
Joshua Chin and title = {rspeer/wordfreq: v3.0},
Andrew Lin and month = sep,
Sara Jewett and year = 2022,
Lance Nathan}, publisher = {Zenodo},
title = {LuminosoInsight/wordfreq: v2.2}, version = {v3.0.2},
month = oct, doi = {10.5281/zenodo.7199437},
year = 2018, url = {https://doi.org/10.5281/zenodo.7199437}
doi = {10.5281/zenodo.1443582},
url = {https://doi.org/10.5281/zenodo.1443582}
} }
``` ```

View File

@ -1,9 +1,9 @@
[tool.poetry] [tool.poetry]
name = "wordfreq" name = "wordfreq"
version = "3.0.2" version = "3.0.3"
description = "Look up the frequencies of words in many languages, based on many sources of data." description = "Look up the frequencies of words in many languages, based on many sources of data."
authors = ["Robyn Speer <rspeer@arborelia.net>"] authors = ["Robyn Speer <rspeer@arborelia.net>"]
license = "MIT" license = "Apache-2.0"
readme = "README.md" readme = "README.md"
homepage = "https://github.com/rspeer/wordfreq/" homepage = "https://github.com/rspeer/wordfreq/"