test_class.file: commons-nlp/src/test/java/com/tqmall/search/commons/nlp/TraditionToSimpleTest.java
test_class.identifier: TraditionToSimpleTest
test_case.body: @Test
      public void convertTest() {
          TraditionToSimple traditionToSimple = TraditionToSimple.instance();
          Assert.assertFalse(traditionToSimple.isTraditional('简'));
          Assert.assertTrue(traditionToSimple.isTraditional('簡'));
          Assert.assertTrue(traditionToSimple.convert('簡') == '简');
          String str = "简体";
          Assert.assertTrue(str == traditionToSimple.convert(str));
          str = "簡体";
          Assert.assertEquals("简体", traditionToSimple.convert(str));
          str = "电费測試繁體轉簡體";
          Assert.assertEquals("电费测试繁体转简体", traditionToSimple.convert(str));
          str = "电费as測試繁12體轉xing簡體";
          Assert.assertEquals("电费as测试繁12体转xing简体", traditionToSimple.convert(str));
          str = "head电费as測試12繁體轉xing簡體";
          Assert.assertEquals("head电费as测试12繁体转xing简体", traditionToSimple.convert(str));
      }
test_case.class_method_signature: TraditionToSimpleTest.convertTest()
test_case.full_signature: @Test public void convertTest()
test_case.identifier: convertTest
test_case.invocations: instance assertFalse isTraditional assertTrue isTraditional assertTrue convert assertTrue convert assertEquals ert(str assertEquals assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void convertTest()
focal_class.declarator: log = LoggerFactory.getLogger(TraditionToSimple.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(TraditionToSimple.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: INSTANCE = new LazyInit<>(new Supplier<TraditionToSimple>() {
          @Override
          public TraditionToSimple get() {
              return new TraditionToSimple();
          }
      })
focal_class.modifier: private static final
focal_class.original_string: private static final LazyInit<TraditionToSimple> INSTANCE = new LazyInit<>(new Supplier<TraditionToSimple>() {
          @Override
          public TraditionToSimple get() {
              return new TraditionToSimple();
          }
      });
focal_class.type: LazyInit<TraditionToSimple>
focal_class.var_name: INSTANCE
focal_class.declarator: chars
focal_class.modifier: private final
focal_class.original_string: private final char[] chars;
focal_class.type: char[]
focal_class.var_name: chars
focal_class.file: commons-nlp/src/main/java/com/tqmall/search/commons/nlp/TraditionToSimple.java
focal_class.identifier: TraditionToSimple
focal_class.class_method_signature: TraditionToSimple.instance()
focal_class.full_signature: public static TraditionToSimple instance()
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: TraditionToSimple
focal_class.signature: TraditionToSimple instance()
focal_class.class_method_signature: TraditionToSimple.TraditionToSimple()
focal_class.full_signature:   TraditionToSimple()
focal_class.identifier: TraditionToSimple
focal_class.parameters: ()
focal_class.signature:  TraditionToSimple()
focal_class.class_method_signature: TraditionToSimple.isTraditional(char ch)
focal_class.full_signature: public final boolean isTraditional(char ch)
focal_class.identifier: isTraditional
focal_class.modifiers: public final
focal_class.parameters: (char ch)
focal_class.return: boolean
focal_class.signature: boolean isTraditional(char ch)
focal_class.class_method_signature: TraditionToSimple.convert(char ch)
focal_class.full_signature: public final char convert(char ch)
focal_class.identifier: convert
focal_class.modifiers: public final
focal_class.parameters: (char ch)
focal_class.return: char
focal_class.signature: char convert(char ch)
focal_class.class_method_signature: TraditionToSimple.convert(final char[] text, final int startPos, final int length)
focal_class.full_signature: public final void convert(final char[] text, final int startPos, final int length)
focal_class.identifier: convert
focal_class.modifiers: public final
focal_class.parameters: (final char[] text, final int startPos, final int length)
focal_class.return: void
focal_class.signature: void convert(final char[] text, final int startPos, final int length)
focal_class.class_method_signature: TraditionToSimple.convert(String str)
focal_class.full_signature: public final String convert(String str)
focal_class.identifier: convert
focal_class.modifiers: public final
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String convert(String str)
focal_method.body: public final char convert(char ch) {
          return ch < NlpConst.CJK_UNIFIED_IDEOGRAPHS_FIRST || ch > NlpConst.CJK_UNIFIED_IDEOGRAPHS_LAST ?
                  ch : chars[ch - NlpConst.CJK_UNIFIED_IDEOGRAPHS_FIRST];
      }
focal_method.class_method_signature: TraditionToSimple.convert(char ch)
focal_method.full_signature: public final char convert(char ch)
focal_method.identifier: convert
focal_method.modifiers: public final
focal_method.parameters: (char ch)
focal_method.return: char
focal_method.signature: char convert(char ch)