@Test public void testSpecificForms() { final Loader l = getLoader("test.data.path.lexicon.forms", "specific_forms.txt"); l.loadSpecificForms(); assertLoaded(4, "specificForm", "strongNumber", "GC001"); }
int loadSpecificForms() { LOGGER.debug("Loading lexical forms"); this.addUpdate("install_original_word_forms"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("specificForm"); new SpecificFormsLoader(writer, this.coreProperties.getProperty("test.data.path.lexicon.forms")) .init(this); final int close = writer.close(); this.addUpdate("install_original_word_forms_complete", close); return close; }
Loader { int loadSpecificForms() { LOGGER.debug("Loading lexical forms"); this.addUpdate("install_original_word_forms"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("specificForm"); new SpecificFormsLoader(writer, this.coreProperties.getProperty("test.data.path.lexicon.forms")) .init(this); final int close = writer.close(); this.addUpdate("install_original_word_forms_complete", close); return close; } }
Loader { int loadSpecificForms() { LOGGER.debug("Loading lexical forms"); this.addUpdate("install_original_word_forms"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("specificForm"); new SpecificFormsLoader(writer, this.coreProperties.getProperty("test.data.path.lexicon.forms")) .init(this); final int close = writer.close(); this.addUpdate("install_original_word_forms_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); }
Loader { int loadSpecificForms() { LOGGER.debug("Loading lexical forms"); this.addUpdate("install_original_word_forms"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("specificForm"); new SpecificFormsLoader(writer, this.coreProperties.getProperty("test.data.path.lexicon.forms")) .init(this); final int close = writer.close(); this.addUpdate("install_original_word_forms_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); void init(); List<String> readOnceProgress(); int getTotalProgress(); boolean isComplete(); }
Loader { int loadSpecificForms() { LOGGER.debug("Loading lexical forms"); this.addUpdate("install_original_word_forms"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("specificForm"); new SpecificFormsLoader(writer, this.coreProperties.getProperty("test.data.path.lexicon.forms")) .init(this); final int close = writer.close(); this.addUpdate("install_original_word_forms_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); void init(); List<String> readOnceProgress(); int getTotalProgress(); boolean isComplete();  }