From 70ee6d3483265659d4d28dc421edaf999cabade8 Mon Sep 17 00:00:00 2001 From: Mouse Zhang Date: Tue, 27 Feb 2024 17:32:34 +0800 Subject: [PATCH] fix wrong copyright --- libchinese-segmentation/cppjieba/DatTrie.hpp | 33 ++++++++----------- libchinese-segmentation/cppjieba/IdfTrie.hpp | 33 ++++++++----------- .../cppjieba/PinYinTrie.hpp | 33 ++++++++----------- .../cppjieba/limonp/ArgvContext.hpp | 1 - .../cppjieba/limonp/BlockingQueue.hpp | 1 - .../cppjieba/limonp/BoundedBlockingQueue.hpp | 1 - .../cppjieba/limonp/BoundedQueue.hpp | 1 - .../cppjieba/limonp/Closure.hpp | 1 - .../cppjieba/limonp/Colors.hpp | 1 - .../cppjieba/limonp/Condition.hpp | 1 - .../cppjieba/limonp/Config.hpp | 1 - .../cppjieba/limonp/FileLock.hpp | 1 - .../cppjieba/limonp/ForcePublic.hpp | 1 - .../cppjieba/limonp/LocalVector.hpp | 1 - .../cppjieba/limonp/Logging.hpp | 1 - .../cppjieba/limonp/MutexLock.hpp | 1 - .../cppjieba/limonp/NonCopyable.hpp | 1 - .../cppjieba/limonp/StdExtension.hpp | 1 - .../cppjieba/limonp/StringUtil.hpp | 1 - .../cppjieba/limonp/Thread.hpp | 1 - .../cppjieba/limonp/ThreadPool.hpp | 1 - 21 files changed, 39 insertions(+), 78 deletions(-) diff --git a/libchinese-segmentation/cppjieba/DatTrie.hpp b/libchinese-segmentation/cppjieba/DatTrie.hpp index b53f642..6f3c8d6 100644 --- a/libchinese-segmentation/cppjieba/DatTrie.hpp +++ b/libchinese-segmentation/cppjieba/DatTrie.hpp @@ -1,29 +1,22 @@ /* + * Copyright (C) 2022, KylinSoft Co., Ltd. * - * The MIT License (MIT) + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * 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: + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. + * Authors: jixiaoxu * - * 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. - * -*/ + */ #pragma once diff --git a/libchinese-segmentation/cppjieba/IdfTrie.hpp b/libchinese-segmentation/cppjieba/IdfTrie.hpp index a143acc..0b929ae 100644 --- a/libchinese-segmentation/cppjieba/IdfTrie.hpp +++ b/libchinese-segmentation/cppjieba/IdfTrie.hpp @@ -1,29 +1,22 @@ /* + * Copyright (C) 2022, KylinSoft Co., Ltd. * - * The MIT License (MIT) + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * 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: + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. + * Authors: jixiaoxu * - * 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. - * -*/ + */ #pragma once diff --git a/libchinese-segmentation/cppjieba/PinYinTrie.hpp b/libchinese-segmentation/cppjieba/PinYinTrie.hpp index 048d7dc..c1f6311 100644 --- a/libchinese-segmentation/cppjieba/PinYinTrie.hpp +++ b/libchinese-segmentation/cppjieba/PinYinTrie.hpp @@ -1,29 +1,22 @@ /* + * Copyright (C) 2022, KylinSoft Co., Ltd. * - * The MIT License (MIT) + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * 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: + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. + * Authors: jixiaoxu * - * 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. - * -*/ + */ #pragma once diff --git a/libchinese-segmentation/cppjieba/limonp/ArgvContext.hpp b/libchinese-segmentation/cppjieba/limonp/ArgvContext.hpp index c437eeb..1e5d567 100644 --- a/libchinese-segmentation/cppjieba/limonp/ArgvContext.hpp +++ b/libchinese-segmentation/cppjieba/limonp/ArgvContext.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/BlockingQueue.hpp b/libchinese-segmentation/cppjieba/limonp/BlockingQueue.hpp index f8b5db0..e6fba85 100644 --- a/libchinese-segmentation/cppjieba/limonp/BlockingQueue.hpp +++ b/libchinese-segmentation/cppjieba/limonp/BlockingQueue.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/BoundedBlockingQueue.hpp b/libchinese-segmentation/cppjieba/limonp/BoundedBlockingQueue.hpp index 6216c55..6a8a3be 100644 --- a/libchinese-segmentation/cppjieba/limonp/BoundedBlockingQueue.hpp +++ b/libchinese-segmentation/cppjieba/limonp/BoundedBlockingQueue.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/BoundedQueue.hpp b/libchinese-segmentation/cppjieba/limonp/BoundedQueue.hpp index c0f460f..cf52c03 100644 --- a/libchinese-segmentation/cppjieba/limonp/BoundedQueue.hpp +++ b/libchinese-segmentation/cppjieba/limonp/BoundedQueue.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Closure.hpp b/libchinese-segmentation/cppjieba/limonp/Closure.hpp index 1f89abb..b9093be 100644 --- a/libchinese-segmentation/cppjieba/limonp/Closure.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Closure.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Colors.hpp b/libchinese-segmentation/cppjieba/limonp/Colors.hpp index 447d9b8..6ba9d3f 100644 --- a/libchinese-segmentation/cppjieba/limonp/Colors.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Colors.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Condition.hpp b/libchinese-segmentation/cppjieba/limonp/Condition.hpp index fc30baa..84bf83d 100644 --- a/libchinese-segmentation/cppjieba/limonp/Condition.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Condition.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Config.hpp b/libchinese-segmentation/cppjieba/limonp/Config.hpp index cc4a265..9ab0c19 100644 --- a/libchinese-segmentation/cppjieba/limonp/Config.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Config.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/FileLock.hpp b/libchinese-segmentation/cppjieba/limonp/FileLock.hpp index 94e5c37..848ee9e 100644 --- a/libchinese-segmentation/cppjieba/limonp/FileLock.hpp +++ b/libchinese-segmentation/cppjieba/limonp/FileLock.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/ForcePublic.hpp b/libchinese-segmentation/cppjieba/limonp/ForcePublic.hpp index 420138e..3ea1fd5 100644 --- a/libchinese-segmentation/cppjieba/limonp/ForcePublic.hpp +++ b/libchinese-segmentation/cppjieba/limonp/ForcePublic.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/LocalVector.hpp b/libchinese-segmentation/cppjieba/limonp/LocalVector.hpp index 9cb0bf0..ed0f144 100644 --- a/libchinese-segmentation/cppjieba/limonp/LocalVector.hpp +++ b/libchinese-segmentation/cppjieba/limonp/LocalVector.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Logging.hpp b/libchinese-segmentation/cppjieba/limonp/Logging.hpp index a254bf8..929dcf8 100644 --- a/libchinese-segmentation/cppjieba/limonp/Logging.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Logging.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/MutexLock.hpp b/libchinese-segmentation/cppjieba/limonp/MutexLock.hpp index d3746c9..9be2d0c 100644 --- a/libchinese-segmentation/cppjieba/limonp/MutexLock.hpp +++ b/libchinese-segmentation/cppjieba/limonp/MutexLock.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/NonCopyable.hpp b/libchinese-segmentation/cppjieba/limonp/NonCopyable.hpp index 2c49888..d5ac457 100644 --- a/libchinese-segmentation/cppjieba/limonp/NonCopyable.hpp +++ b/libchinese-segmentation/cppjieba/limonp/NonCopyable.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/StdExtension.hpp b/libchinese-segmentation/cppjieba/limonp/StdExtension.hpp index b792ded..7fd88c6 100644 --- a/libchinese-segmentation/cppjieba/limonp/StdExtension.hpp +++ b/libchinese-segmentation/cppjieba/limonp/StdExtension.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/StringUtil.hpp b/libchinese-segmentation/cppjieba/limonp/StringUtil.hpp index b27707c..a1e5f72 100644 --- a/libchinese-segmentation/cppjieba/limonp/StringUtil.hpp +++ b/libchinese-segmentation/cppjieba/limonp/StringUtil.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/Thread.hpp b/libchinese-segmentation/cppjieba/limonp/Thread.hpp index 39e55f8..f49317c 100644 --- a/libchinese-segmentation/cppjieba/limonp/Thread.hpp +++ b/libchinese-segmentation/cppjieba/limonp/Thread.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libchinese-segmentation/cppjieba/limonp/ThreadPool.hpp b/libchinese-segmentation/cppjieba/limonp/ThreadPool.hpp index 32c5c07..e4f968b 100644 --- a/libchinese-segmentation/cppjieba/limonp/ThreadPool.hpp +++ b/libchinese-segmentation/cppjieba/limonp/ThreadPool.hpp @@ -3,7 +3,6 @@ * The MIT License (MIT) * * Copyright (C) 2013 Yanyi Wu - * Copyright (C) 2023, KylinSoft Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),