diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/header | 18 | ||||
-rw-r--r-- | scripts/pydict.py | 17 | ||||
-rw-r--r-- | scripts/pyutil.py | 17 |
3 files changed, 25 insertions, 27 deletions
diff --git a/scripts/header b/scripts/header index 61b4a80..8879061 100644 --- a/scripts/header +++ b/scripts/header @@ -4,18 +4,18 @@ * * Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This library 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 + * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA - */
\ No newline at end of file + */ diff --git a/scripts/pydict.py b/scripts/pydict.py index 01e112f..eb0a2c1 100644 --- a/scripts/pydict.py +++ b/scripts/pydict.py @@ -5,19 +5,19 @@ # # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com> # -# This library is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. # -# This library 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 +# This library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA N_ = lambda x : x @@ -405,4 +405,3 @@ SHUANGPIN_SCHEMAS = [ (N_("PYJJ"), (PYJJ_SHUANGPIN_SHENGMU_DICT, PYJJ_SHUANGPIN_YUNMU_DICT)), (N_("XHE"), (XHE_SHUANGPIN_SHENGMU_DICT, XHE_SHUANGPIN_YUNMU_DICT)), ] - diff --git a/scripts/pyutil.py b/scripts/pyutil.py index f1b4acc..89b34e4 100644 --- a/scripts/pyutil.py +++ b/scripts/pyutil.py @@ -5,19 +5,19 @@ # # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com> # -# This library is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. # -# This library 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 +# This library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA from pydict import * @@ -146,4 +146,3 @@ def load_sogou_phrases (_file): w = re.split (ur"\t+", w) dic [w[0]] = (w[0], int (w[1])) return dic - |