text: #  Copyright 2017-2021 John Snow Labs
  #
  #  Licensed under the Apache License, Version 2.0 (the "License");
  #  you may not use this file except in compliance with the License.
  #  You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  #  Unless required by applicable law or agreed to in writing, software
  #  distributed under the License is distributed on an "AS IS" BASIS,
  #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  #  See the License for the specific language governing permissions and
  #  limitations under the License.
  
  from test.annotators import *
  from test.functions import FunctionMapColumnsTestSpec, FunctionMapColumnTestSpec
  from test.misc import *
  from test.base import *
  from test.pretrained import *
  
  # Annotator tests
  unittest.TextTestRunner().run(BasicAnnotatorsTestSpec())
  unittest.TextTestRunner().run(RegexMatcherTestSpec())
  unittest.TextTestRunner().run(TokenizerTestSpec())
  unittest.TextTestRunner().run(NormalizerTestSpec())
  unittest.TextTestRunner().run(ChunkTokenizerTestSpec())
  unittest.TextTestRunner().run(LemmatizerTestSpec())
  unittest.TextTestRunner().run(LemmatizerWithTrainingDataSetTestSpec())
  unittest.TextTestRunner().run(DateMatcherTestSpec())
  unittest.TextTestRunner().run(TextMatcherTestSpec())
  unittest.TextTestRunner().run(DocumentNormalizerSpec())
  
  unittest.TextTestRunner().run(PerceptronApproachTestSpec())
  unittest.TextTestRunner().run(ChunkerTestSpec())
  unittest.TextTestRunner().run(ChunkDocSerializingTestSpec())
  
  unittest.TextTestRunner().run(PragmaticSBDTestSpec())
  unittest.TextTestRunner().run(PragmaticScorerTestSpec())
  unittest.TextTestRunner().run(PipelineTestSpec())
  unittest.TextTestRunner().run(SpellCheckerTestSpec())
  unittest.TextTestRunner().run(NorvigSweetingModelTestSpec())
  unittest.TextTestRunner().run(SymmetricDeleteTestSpec())
  unittest.TextTestRunner().run(ContextSpellCheckerModelTestSpec())
  unittest.TextTestRunner().run(ParamsGettersTestSpec())
  unittest.TextTestRunner().run(DependencyParserTreeBankTestSpec())
  unittest.TextTestRunner().run(DependencyParserConllUTestSpec())
  unittest.TextTestRunner().run(TypedDependencyParserConll2009TestSpec())
  unittest.TextTestRunner().run(TypedDependencyParserConllUTestSpec())
  unittest.TextTestRunner().run(SentenceEmbeddingsTestSpec())
  unittest.TextTestRunner().run(StopWordsCleanerTestSpec())
  unittest.TextTestRunner().run(StopWordsCleanerModelTestSpec())
  unittest.TextTestRunner().run(NGramGeneratorTestSpec())
  unittest.TextTestRunner().run(ChunkEmbeddingsTestSpec())
  unittest.TextTestRunner().run(EmbeddingsFinisherTestSpec())
  unittest.TextTestRunner().run(NerDLModelTestSpec())
  unittest.TextTestRunner().run(YakeKeywordExtractionTestSpec())
  unittest.TextTestRunner().run(SentenceDetectorDLTestSpec())
  unittest.TextTestRunner().run(WordSegmenterTestSpec())
  unittest.TextTestRunner().run(LanguageDetectorDLTestSpec())
  unittest.TextTestRunner().run(GraphExtractionTestSpec())
  unittest.TextTestRunner().run(EntityRulerTestSpec())
  unittest.TextTestRunner().run(Doc2VecTestSpec())
  
  # Should be locally tested
  # print("Running ElmoEmbeddingsTestSpec")
  # unittest.TextTestRunner().run(ElmoEmbeddingsTestSpec())
  # print("Running AlbertEmbeddingsTestSpec")
  # unittest.TextTestRunner().run(AlbertEmbeddingsTestSpec())
  # print("Running XlnetEmbeddingsTestSpec")
  # unittest.TextTestRunner().run(XlnetEmbeddingsTestSpec())
  # print("Running UniversalSentenceEncoderTestSpec")
  # unittest.TextTestRunner().run(UniversalSentenceEncoderTestSpec())
  # print("Running ClassifierDLTestSpec")
  # unittest.TextTestRunner().run(ClassifierDLTestSpec())
  # print("Running MultiClassifierDLTestSpec")
  # unittest.TextTestRunner().run(MultiClassifierDLTestSpec())
  # print("Running SentimentDLTestSpec")
  # unittest.TextTestRunner().run(SentimentDLTestSpec())
  # print("Running RecursiveTestSpec")
  # unittest.TextTestRunner().run(RecursiveTestSpec())
  # print("Running T5TransformerQATestSpec")
  # unittest.TextTestRunner().run(T5TransformerQATestSpec())
  # print("Running T5TransformerSummaryTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryTestSpec())
  # print("Running T5TransformerSummaryWithSamplingTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryWithSamplingTestSpec())
  # print("Running T5TransformerSummaryWithSamplingAndDeactivatedTopKTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryWithSamplingAndDeactivatedTopKTestSpec())
  # print("Running T5TransformerSummaryWithSamplingAndTemperatureTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryWithSamplingAndTemperatureTestSpec())
  # print("Running T5TransformerSummaryWithSamplingAndTopPTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryWithSamplingAndTopPTestSpec())
  # print("Running T5TransformerSummaryWithRepetitionPenaltyTestSpec")
  # unittest.TextTestRunner().run(T5TransformerSummaryWithRepetitionPenaltyTestSpec())
  # unittest.TextTestRunner().run(BertForTokenClassificationTestSpec())
  # unittest.TextTestRunner().run(RoBertaSentenceEmbeddingsTestSpec())
  # unittest.TextTestRunner().run(RoBertaForTokenClassificationTestSpec())
  # unittest.TextTestRunner().run(XlmRoBertaForTokenClassificationTestSpec())
  # unittest.TextTestRunner().run(AlbertForTokenClassificationTestSpec())
  # unittest.TextTestRunner().run(XlnetForTokenClassificationTestSpec())
  # unittest.TextTestRunner().run(LongformerForTokenClassificationTestSpec())
  
  # Misc tests
  
  # unittest.TextTestRunner().run(UtilitiesTestSpec())
  # unittest.TextTestRunner().run(SerializersTestSpec())
  # unittest.TextTestRunner().run(ResourceDownloaderShowTestSpec())
  
  # Functions tests
  # unittest.TextTestRunner().run(FunctionMapColumnsTestSpec())
  # unittest.TextTestRunner().run(FunctionMapColumnTestSpec())
  