[Groonga-commit] ranguba/chupa-text at 5470c51 [master] Extract Decomposers.load from create_extractor

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 3 23:23:07 JST 2014


Kouhei Sutou	2014-01-03 23:23:07 +0900 (Fri, 03 Jan 2014)

  New Revision: 5470c51aa80d0f8b4c36c8b8927078d6a3d826bc
  https://github.com/ranguba/chupa-text/commit/5470c51aa80d0f8b4c36c8b8927078d6a3d826bc

  Message:
    Extract Decomposers.load from create_extractor
    
    Because Decomposers.load isn't related with extractor creation.

  Modified files:
    lib/chupa-text/command/chupa-text.rb

  Modified: lib/chupa-text/command/chupa-text.rb (+1 -1)
===================================================================
--- lib/chupa-text/command/chupa-text.rb    2014-01-03 23:22:32 +0900 (675e610)
+++ lib/chupa-text/command/chupa-text.rb    2014-01-03 23:23:07 +0900 (e2f16b8)
@@ -36,6 +36,7 @@ module ChupaText
 
         return false unless parse_arguments(arguments)
 
+        Decomposers.load
         extractor = create_extractor
         data = create_data
         formatter = create_formatter
@@ -82,7 +83,6 @@ module ChupaText
       end
 
       def create_extractor
-        Decomposers.load
         extractor = Extractor.new
         extractor.apply_configuration(@configuration)
         extractor
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index