diff --git a/scripts/add_header.sh b/scripts/add_header.sh new file mode 100755 index 0000000..e27b7a8 --- /dev/null +++ b/scripts/add_header.sh @@ -0,0 +1 @@ +sed -i '1i/************************************\n * file enc : utf8\n * author : wuyanyi09@gmail.com\n************************************/' ../src/*.h ../src/*.cpp ../src/*.tcc diff --git a/src/KeyWordExt.cpp b/src/KeyWordExt.cpp index e6c6f54..ea512c8 100644 --- a/src/KeyWordExt.cpp +++ b/src/KeyWordExt.cpp @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ #include "KeyWordExt.h" diff --git a/src/KeyWordExt.h b/src/KeyWordExt.h index 146df30..d7f1998 100644 --- a/src/KeyWordExt.h +++ b/src/KeyWordExt.h @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ #ifndef CPPJIEBA_KEYWORDEXT_H #define CPPJIEBA_KEYWORDEXT_H diff --git a/src/Segment.cpp b/src/Segment.cpp index 9987129..e06c828 100644 --- a/src/Segment.cpp +++ b/src/Segment.cpp @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ #include "Segment.h" namespace CppJieba diff --git a/src/Segment.h b/src/Segment.h index d7dc2fb..6765411 100644 --- a/src/Segment.h +++ b/src/Segment.h @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ #ifndef CPPJIEBA_SEGMENT_H #define CPPJIEBA_SEGMENT_H diff --git a/src/Trie.cpp b/src/Trie.cpp index c3f1751..dd2161b 100644 --- a/src/Trie.cpp +++ b/src/Trie.cpp @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ /* * file encoding: utf-8 * author: wuyanyi09@gmail.com diff --git a/src/Trie.h b/src/Trie.h index 9602a28..d07c88e 100644 --- a/src/Trie.h +++ b/src/Trie.h @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ /* * file encoding: utf-8 * author: wuyanyi09@gmail.com diff --git a/src/globals.h b/src/globals.h index 94d1d40..1c73c45 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1,3 +1,7 @@ +/************************************ + * file enc : utf8 + * author : wuyanyi09@gmail.com +************************************/ #ifndef CPPJIEBA_GLOBALS_H #define CPPJIEBA_GLOBALS_H