From 5e4783e12aace7e2f3e83905dd13368bdf86f88d Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Fri, 15 Apr 2022 11:54:18 +0000 Subject: [PATCH] rm license --- .pre-commit-config.yaml | 4 ++-- speechx/tools/fstbin/fstaddselfloops.cc | 14 -------------- speechx/tools/fstbin/fstdeterminizestar.cc | 14 -------------- speechx/tools/fstbin/fstisstochastic.cc | 14 -------------- speechx/tools/fstbin/fstminimizeencoded.cc | 14 -------------- speechx/tools/fstbin/fsttablecompose.cc | 14 -------------- speechx/tools/lmbin/arpa2fst.cc | 14 -------------- 7 files changed, 2 insertions(+), 86 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09e92a66..e3cc36e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,13 +50,13 @@ repos: entry: bash .pre-commit-hooks/clang-format.hook -i language: system files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$ - exclude: (?=speechx/speechx/kaldi|speechx/patch).*(\.cpp|\.cc|\.h|\.py)$ + exclude: (?=speechx/speechx/kaldi|speechx/patch|speechx/tools/fstbin|speechx/tools/lmbin).*(\.cpp|\.cc|\.h|\.py)$ - id: copyright_checker name: copyright_checker entry: python .pre-commit-hooks/copyright-check.hook language: system files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$ - exclude: (?=third_party|pypinyin|speechx/speechx/kaldi|speechx/patch).*(\.cpp|\.cc|\.h|\.py)$ + exclude: (?=third_party|pypinyin|speechx/speechx/kaldi|speechx/patch|speechx/tools/fstbin|speechx/tools/lmbin).*(\.cpp|\.cc|\.h|\.py)$ - repo: https://github.com/asottile/reorder_python_imports rev: v2.4.0 hooks: diff --git a/speechx/tools/fstbin/fstaddselfloops.cc b/speechx/tools/fstbin/fstaddselfloops.cc index 61ef3377..a014bfbc 100644 --- a/speechx/tools/fstbin/fstaddselfloops.cc +++ b/speechx/tools/fstbin/fstaddselfloops.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // fstbin/fstaddselfloops.cc // Copyright 2009-2011 Microsoft Corporation diff --git a/speechx/tools/fstbin/fstdeterminizestar.cc b/speechx/tools/fstbin/fstdeterminizestar.cc index d7019cb6..4e55929b 100644 --- a/speechx/tools/fstbin/fstdeterminizestar.cc +++ b/speechx/tools/fstbin/fstdeterminizestar.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // fstbin/fstdeterminizestar.cc // Copyright 2009-2011 Microsoft Corporation diff --git a/speechx/tools/fstbin/fstisstochastic.cc b/speechx/tools/fstbin/fstisstochastic.cc index 8e7eb962..df37b8b3 100644 --- a/speechx/tools/fstbin/fstisstochastic.cc +++ b/speechx/tools/fstbin/fstisstochastic.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // fstbin/fstisstochastic.cc // Copyright 2009-2011 Microsoft Corporation diff --git a/speechx/tools/fstbin/fstminimizeencoded.cc b/speechx/tools/fstbin/fstminimizeencoded.cc index d48c437e..4e3301e1 100644 --- a/speechx/tools/fstbin/fstminimizeencoded.cc +++ b/speechx/tools/fstbin/fstminimizeencoded.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // fstbin/fstminimizeencoded.cc // Copyright 2009-2011 Microsoft Corporation diff --git a/speechx/tools/fstbin/fsttablecompose.cc b/speechx/tools/fstbin/fsttablecompose.cc index 5f7e7741..0ba3e681 100644 --- a/speechx/tools/fstbin/fsttablecompose.cc +++ b/speechx/tools/fstbin/fsttablecompose.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // fstbin/fsttablecompose.cc // Copyright 2009-2011 Microsoft Corporation diff --git a/speechx/tools/lmbin/arpa2fst.cc b/speechx/tools/lmbin/arpa2fst.cc index 47716085..659a60a4 100644 --- a/speechx/tools/lmbin/arpa2fst.cc +++ b/speechx/tools/lmbin/arpa2fst.cc @@ -1,17 +1,3 @@ -// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. -// -// 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. - // bin/arpa2fst.cc // // Copyright 2009-2011 Gilles Boulianne.