public static StopWordsHandler getInstance(string stopWordsFilename)
        {
            if (stopWords == null)
            {
                stopWords = new DefaultStopWordsHandler(stopWordsFilename);
            }

            return(stopWords);
        }
 public static void setInstance(StopWordsHandler stopWordsHandler)
 {
     stopWords = stopWordsHandler;
 }
 public static void setInstance(StopWordsHandler stopWordsHandler)
 {
     stopWords = stopWordsHandler;
 }
        public static StopWordsHandler getInstance(string stopWordsFilename)
        {
            if (stopWords == null)
                stopWords = new DefaultStopWordsHandler(stopWordsFilename);

            return (stopWords);
        }