Class DefaultLinguisticsProvider

java.lang.Object
com.yahoo.language.provider.DefaultLinguisticsProvider
All Implemented Interfaces:
com.yahoo.component.Deconstructable, com.yahoo.container.di.componentgraph.Provider<com.yahoo.language.Linguistics>

public class DefaultLinguisticsProvider extends Object implements com.yahoo.container.di.componentgraph.Provider<com.yahoo.language.Linguistics>
Provides the default linguistics implementation if no linguistics component has been explicitly configured (dependency injection will fallback to providers if no components of the requested type is found).
Author:
bratseth
  • Constructor Details

    • DefaultLinguisticsProvider

      @Inject public DefaultLinguisticsProvider()
  • Method Details

    • get

      public com.yahoo.language.Linguistics get()
      Specified by:
      get in interface com.yahoo.container.di.componentgraph.Provider<com.yahoo.language.Linguistics>
    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable