Interface ITermAccess

    • Method Detail

      • setParameters

        void setParameters​(IParameters params)
        Sets the parameters for this termbase connector.
        Parameters:
        params - the new parameter
      • getParameters

        IParameters getParameters()
        Gets the current parameters for this termbase connector.
        Returns:
        the current parameters for this termbase connector.
      • close

        void close()
        Closes the connection to the termbase.
      • getExistingTerms

        List<TermHit> getExistingTerms​(TextFragment fragment,
                                       LocaleId fragmentLoc,
                                       LocaleId otherLoc)
        Gets the list of all terms of the termbase that exist in a given fragment for a given source/target pair of locales.
        Parameters:
        fragment - the fragment to examine.
        fragmentLoc - the locale of the fragment.
        otherLoc - the other (source or target) locale.
        Returns:
        the list of all terms of the termbase that exist in the given fragment.