From 8112d1516901221e9c68b6ed3277d654ab788809 Mon Sep 17 00:00:00 2001 From: Espen Klem Date: Sun, 18 Aug 2024 22:23:49 +0200 Subject: [PATCH] Corrected 3rd party licenses for Swedish and Danish In 3rd-party.txt --- dist/3rd-party.txt | 54 +++++++++++++++++++++++++++++++++++----------- package.json | 2 +- 2 files changed, 43 insertions(+), 13 deletions(-) diff --git a/dist/3rd-party.txt b/dist/3rd-party.txt index e54ea9c..27b1c12 100644 --- a/dist/3rd-party.txt +++ b/dist/3rd-party.txt @@ -177,14 +177,29 @@ Copyright (c) 2017 Peter Graham, contributors. Released under the Apache-2.0 lic Danish - src/stopwords_dan.js ############################################################################### -Creative Commons – Attribution / ShareAlike 3.0 license -http://creativecommons.org/licenses/by-sa/3.0/ +The MIT License (MIT) + +Copyright (c) 2016 Gene Diaz + +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: -List based on frequently used words in subtitles in 2012. +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. -Thanks to -opensubtitles.org -https://invokeit.wordpress.com/frequency-word-lists/#comment-9707 +Source: https://github.com/stopwords-iso/stopwords-da ############################################################################### @@ -975,14 +990,29 @@ limitations under the License. Swedish - src/stopwords_swe.js ############################################################################### -Creative Commons – Attribution / ShareAlike 3.0 license -http://creativecommons.org/licenses/by-sa/3.0/ +The MIT License (MIT) + +Copyright (c) 2016 Gene Diaz + +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: -List based on frequently used words in subtitles in 2012. +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. -Thanks to -opensubtitles.org -https://invokeit.wordpress.com/frequency-word-lists/#comment-9707 +Source: https://github.com/stopwords-iso/stopwords-sv ############################################################################### diff --git a/package.json b/package.json index ff45646..5da3a0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stopword", - "version": "3.1.0", + "version": "3.1.1", "description": "A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 62 languages and also takes lists with custom stopwords as input.", "main": "./dist/stopword.cjs.js", "module": "./src/stopword.js",