Class RsType

java.lang.Object
org.apache.uima.analysis_engine.impl.RsType

public class RsType extends Object
Holds types and/or features with language specs These are expected to be sparse with respect to the complete type system
  • Field Details

    • EMPTY_FEATURE_LIST

      public static final List<Feature> EMPTY_FEATURE_LIST
    • typeName

      final String typeName
    • isAllFeatures

      boolean isAllFeatures
    • isSpecified

      boolean isSpecified
    • languagesAllFeat

      RsLangs languagesAllFeat
    • languagesNotAllFeat

      RsLangs languagesNotAllFeat
    • features

      RsFeats features
  • Constructor Details

    • RsType

      RsType(String name)
    • RsType

      RsType(RsType original)
  • Method Details

    • subsumesLanguageInFeat

      boolean subsumesLanguageInFeat(String shortFeatName, String lang)
      Parameters:
      shortFeatName -
      lang -
      Returns:
      true if lang subsumed by langs of the feature or of the type with all-feats specified
    • getFeat

      RsFeat getFeat(String shortFeatName)
    • getAllAppropriateFeatures

      List<Feature> getAllAppropriateFeatures(TypeSystem ts)
      returns the Features for a type in a result spec
      Parameters:
      ts - The type system, may be null
      Returns:
      list of features for a type in a result spec
    • hasAllFeaturesExplicitly

      boolean hasAllFeaturesExplicitly(TypeSystem ts)
    • allFeaturesHaveSameLangs

      boolean allFeaturesHaveSameLangs()