Skip to content

Commit 3588883

Browse files
committed
Update license from LGPL to MIT
Closes GH-6.
1 parent 8caa10b commit 3588883

File tree

6 files changed

+33
-51
lines changed

6 files changed

+33
-51
lines changed

LICENSE

+25-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,25 @@
1-
LGPL
1+
(The MIT License)
2+
3+
Copyright (c) 2014 Titus Wormer <[email protected]>
4+
Copyright (c) 2008 Kent S Johnson
5+
Copyright (c) 2006 Jacob R Rideout <[email protected]>
6+
Copyright (c) 2004 Maciej Ceglowski
7+
8+
Permission is hereby granted, free of charge, to any person obtaining
9+
a copy of this software and associated documentation files (the
10+
'Software'), to deal in the Software without restriction, including
11+
without limitation the rights to use, copy, modify, merge, publish,
12+
distribute, sublicense, and/or sell copies of the Software, and to
13+
permit persons to whom the Software is furnished to do so, subject to
14+
the following conditions:
15+
16+
The above copyright notice and this permission notice shall be
17+
included in all copies or substantial portions of the Software.
18+
19+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
20+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ On a MacBook Air, it runs 175 paragraphs 2 times per second (total: 350 op/s).
112112

113113
(I’ll work on a better benchmark soon)
114114

115+
## Derivation
116+
117+
Franc is a derivative work from [guess-language](http://code.google.com/p/guess-language/) (Python, LGPL), [guesslanguage](http://websvn.kde.org/branches/work/sonnet-refactoring/common/nlp/guesslanguage.cpp?view=markup) (C++, LGPL), and [Language::Guess](http://web.archive.org/web/20090228163219/http://languid.cantbedone.org/) (Perl, GPL). Their creators granted me the rights to distribute franc under the MIT license: respectively, [Maciej Ceglowski](https://github.com/wooorm/franc/issues/6#issuecomment-59669191), [Jacob R. Rideout](https://github.com/wooorm/franc/issues/6#issuecomment-60196819), and [Kent S. Johnson](https://github.com/wooorm/franc/issues/6#issuecomment-59936827).
118+
115119
## License
116120

117-
LGPL © Titus Wormer
121+
MIT © Titus Wormer

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "franc",
33
"main": "index.js",
44
"description": "Detect the language of text",
5-
"license": "LGPL",
5+
"license": "MIT",
66
"keywords": [
77
"natural",
88
"language",

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "franc",
33
"version": "0.3.0",
44
"description": "Detect the language of text",
5-
"license": "LGPL",
5+
"license": "MIT",
66
"keywords": [
77
"natural",
88
"language",

lib/franc.js

-46
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
/**
2-
* Franc:
3-
*
4-
* Copyright (c) 2014 Titus Wormer <[email protected]>
5-
* http://github.com/wooorm/franc/
6-
*
7-
* Original Python package:
8-
*
9-
* Copyright (c) 2008, Kent S Johnson
10-
* http://code.google.com/p/guess-language/
11-
*
12-
* Original C++ version for KDE:
13-
*
14-
* Copyright (c) 2006 Jacob R Rideout <[email protected]>
15-
* http://websvn.kde.org/branches/work/sonnet-refactoring/
16-
* common/nlp/guesslanguage.cpp?view=markup
17-
*
18-
* Original Language::Guess Perl module:
19-
*
20-
* Copyright (c) 2004-2006 Maciej Ceglowski
21-
* http://web.archive.org/web/20090228163219/http://
22-
* languid.cantbedone.org/
23-
*
24-
* Note: Language::Guess is GPL-licensed. KDE developers
25-
* received permission from the author to distribute
26-
* their port under LGPL:
27-
*
28-
* http://lists.kde.org/?l=kde-sonnet&m=116910092228811&w=2
29-
*
30-
* This program is free software: you can redistribute it
31-
* and/or modify it under the terms of the GNU Lesser
32-
* General Public License as published by the Free
33-
* Software Foundation, either version 3 of the License,
34-
* or (at your option) any later version.
35-
*
36-
* This program is distributed in the hope that it will
37-
* be useful, but WITHOUT ANY WARRANTY; without even the
38-
* implied warranty of MERCHANTABILITY or FITNESS FOR A
39-
* PARTICULAR PURPOSE.
40-
* See the GNU Lesser General Public License for more details.
41-
*
42-
* You should have received a copy of the GNU Lesser
43-
* General Public License along with this program. If
44-
* not, see <http://www.gnu.org/licenses/>.
45-
*/
46-
471
'use strict';
482

493
var data,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "franc",
33
"version": "0.3.0",
44
"description": "Detect the language of text",
5-
"license": "LGPL",
5+
"license": "MIT",
66
"keywords": [
77
"natural",
88
"language",

0 commit comments

Comments
 (0)