Class DictionaryServiceImpl

  • All Implemented Interfaces:
    org.opencastproject.dictionary.api.DictionaryService

    public class DictionaryServiceImpl
    extends Object
    implements org.opencastproject.dictionary.api.DictionaryService
    This dictionary service implementation passes the input text to the hunspell spell checker and returns its results.
    • Constructor Detail

      • DictionaryServiceImpl

        public DictionaryServiceImpl()
    • Method Detail

      • setBinary

        public void setBinary​(String b)
      • getBinary

        public String getBinary()
      • setCommand

        public void setCommand​(String c)
      • getCommand

        public String getCommand()
      • cleanUpText

        public org.opencastproject.metadata.mpeg7.Textual cleanUpText​(String text)
        Filter the text according to the rules defined by the dictionary implementation used. This implementation will just let the whole text pass through.
        Specified by:
        cleanUpText in interface org.opencastproject.dictionary.api.DictionaryService
        Returns:
        filtered text