spark-nlp 6.1.2rc1__tar.gz → 6.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of spark-nlp might be problematic. Click here for more details.
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/PKG-INFO +5 -5
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/README.md +4 -4
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/setup.py +1 -1
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/spark_nlp.egg-info/PKG-INFO +5 -5
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/spark_nlp.egg-info/SOURCES.txt +3 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/__init__.py +1 -1
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/__init__.py +1 -0
- spark_nlp-6.1.3/sparknlp/annotator/ner/ner_dl_graph_checker.py +237 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/__init__.py +1 -0
- spark_nlp-6.1.3/sparknlp/annotator/seq2seq/auto_gguf_reranker.py +329 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/__init__.py +1 -0
- spark_nlp-6.1.3/sparknlp/base/gguf_ranking_finisher.py +234 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/__init__.py +6 -1
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/reader2doc.py +35 -1
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/com/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/com/johnsnowlabs/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/com/johnsnowlabs/ml/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/com/johnsnowlabs/ml/ai/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/com/johnsnowlabs/nlp/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/setup.cfg +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/spark_nlp.egg-info/dependency_links.txt +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/spark_nlp.egg-info/top_level.txt +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotation.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotation_audio.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotation_image.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/audio/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/audio/hubert_for_ctc.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/audio/wav2vec2_for_ctc.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/audio/whisper_for_ctc.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/chunk2_doc.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/chunker.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/albert_for_multiple_choice.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/albert_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/albert_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/albert_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/albert_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bart_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bert_for_multiple_choice.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bert_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bert_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bert_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/bert_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/camembert_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/camembert_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/camembert_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/camembert_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/classifier_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/deberta_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/deberta_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/deberta_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/deberta_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/distil_bert_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/distil_bert_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/distil_bert_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/distil_bert_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/distilbert_for_multiple_choice.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/longformer_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/longformer_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/longformer_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/mpnet_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/mpnet_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/mpnet_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/multi_classifier_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/roberta_for_multiple_choice.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/roberta_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/roberta_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/roberta_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/roberta_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/sentiment_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/tapas_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlm_roberta_for_multiple_choice.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlm_roberta_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlm_roberta_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlm_roberta_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlm_roberta_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlnet_for_sequence_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/classifier_dl/xlnet_for_token_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cleaners/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cleaners/cleaner.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cleaners/extractor.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/coref/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/coref/spanbert_coref.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/blip_for_question_answering.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/clip_for_zero_shot_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/convnext_for_image_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/florence2_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/gemma3_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/internvl_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/janus_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/llava_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/mllama_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/paligemma_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/phi3_vision_for_multimodal.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/qwen2vl_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/smolvlm_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/swin_for_image_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/vision_encoder_decoder_for_image_captioning.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/cv/vit_for_image_classification.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/dataframe_optimizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/date2_chunk.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/dependency/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/dependency/dependency_parser.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/dependency/typed_dependency_parser.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/document_character_text_splitter.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/document_normalizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/document_token_splitter.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/document_token_splitter_test.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/albert_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/auto_gguf_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/bert_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/bert_sentence_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/bge_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/camembert_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/chunk_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/deberta_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/distil_bert_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/doc2vec.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/e5_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/e5v_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/elmo_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/instructor_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/longformer_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/minilm_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/mpnet_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/mxbai_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/nomic_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/roberta_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/roberta_sentence_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/sentence_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/snowflake_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/uae_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/universal_sentence_encoder.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/word2vec.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/word_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/xlm_roberta_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/xlm_roberta_sentence_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/embeddings/xlnet_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/er/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/er/entity_ruler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/graph_extraction.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/keyword_extraction/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/keyword_extraction/yake_keyword_extraction.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ld_dl/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ld_dl/language_detector_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/lemmatizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/big_text_matcher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/date_matcher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/multi_date_matcher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/regex_matcher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/matcher/text_matcher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/n_gram_generator.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/ner_approach.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/ner_converter.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/ner_crf.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/ner_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/ner_overwriter.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ner/zero_shot_ner_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/normalizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/openai/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/openai/openai_completion.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/openai/openai_embeddings.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/param/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/param/classifier_encoder.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/param/evaluation_dl_params.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/pos/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/pos/perceptron.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentence/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentence/sentence_detector.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentence/sentence_detector_dl.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentiment/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentiment/sentiment_detector.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/sentiment/vivekn_sentiment.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/auto_gguf_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/auto_gguf_vision_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/bart_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/cohere_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/cpm_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/gpt2_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/llama2_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/llama3_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/m2m100_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/marian_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/mistral_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/nllb_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/olmo_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/phi2_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/phi3_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/phi4_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/qwen_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/starcoder_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/seq2seq/t5_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/similarity/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/similarity/document_similarity_ranker.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/spell_check/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/spell_check/context_spell_checker.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/spell_check/norvig_sweeting.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/spell_check/symmetric_delete.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/stemmer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/stop_words_cleaner.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/tf_ner_dl_graph_builder.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token/chunk_tokenizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token/recursive_tokenizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token/regex_tokenizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token/tokenizer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/token2_chunk.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ws/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/annotator/ws/word_segmenter.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/audio_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/doc2_chunk.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/document_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/embeddings_finisher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/finisher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/graph_finisher.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/has_recursive_fit.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/has_recursive_transform.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/image_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/light_pipeline.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/multi_document_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/prompt_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/recursive_pipeline.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/table_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/base/token_assembler.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/annotator_approach.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/annotator_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/annotator_properties.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/annotator_type.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/coverage_result.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/match_strategy.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/properties.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/read_as.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/recursive_annotator_approach.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/storage.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/common/utils.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/functions.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/annotator_java_ml.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/annotator_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/extended_java_wrapper.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/params_getters_setters.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/internal/recursive.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/logging/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/logging/comet.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/partition/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/partition/partition.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/partition/partition_properties.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/partition/partition_transformer.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/pretrained/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/pretrained/pretrained_pipeline.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/pretrained/resource_downloader.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/pretrained/utils.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/enums.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/pdf_to_text.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/reader2table.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/reader/sparknlp_reader.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/graph_builders.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/create_graph.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/dataset_encoder.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/ner_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/ner_model_saver.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/ner_dl/sentence_grouper.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/core_rnn_cell.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/fused_rnn_cell.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/gru_ops.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/lstm_ops.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/rnn.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders/tf2contrib/rnn_cell.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/graph_builders.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/__init__.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/create_graph.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/dataset_encoder.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/ner_model.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/ner_model_saver.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/_tf_graph_builders_1x/ner_dl/sentence_grouper.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/conll.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/conllu.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/pos.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/pub_tator.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/spacy_to_annotation.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/training/tfgraphs.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/upload_to_hub.py +0 -0
- {spark_nlp-6.1.2rc1 → spark_nlp-6.1.3}/sparknlp/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spark-nlp
|
|
3
|
-
Version: 6.1.
|
|
3
|
+
Version: 6.1.3
|
|
4
4
|
Summary: John Snow Labs Spark NLP is a natural language processing library built on top of Apache Spark ML. It provides simple, performant & accurate NLP annotations for machine learning pipelines, that scale easily in a distributed environment.
|
|
5
5
|
Home-page: https://github.com/JohnSnowLabs/spark-nlp
|
|
6
6
|
Author: John Snow Labs
|
|
@@ -102,7 +102,7 @@ $ java -version
|
|
|
102
102
|
$ conda create -n sparknlp python=3.7 -y
|
|
103
103
|
$ conda activate sparknlp
|
|
104
104
|
# spark-nlp by default is based on pyspark 3.x
|
|
105
|
-
$ pip install spark-nlp==6.1.
|
|
105
|
+
$ pip install spark-nlp==6.1.3 pyspark==3.3.1
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
In Python console or Jupyter `Python3` kernel:
|
|
@@ -168,7 +168,7 @@ For a quick example of using pipelines and models take a look at our official [d
|
|
|
168
168
|
|
|
169
169
|
### Apache Spark Support
|
|
170
170
|
|
|
171
|
-
Spark NLP *6.1.
|
|
171
|
+
Spark NLP *6.1.3* has been built on top of Apache Spark 3.4 while fully supports Apache Spark 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x, and 3.5.x
|
|
172
172
|
|
|
173
173
|
| Spark NLP | Apache Spark 3.5.x | Apache Spark 3.4.x | Apache Spark 3.3.x | Apache Spark 3.2.x | Apache Spark 3.1.x | Apache Spark 3.0.x | Apache Spark 2.4.x | Apache Spark 2.3.x |
|
|
174
174
|
|-----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
|
@@ -198,7 +198,7 @@ Find out more about 4.x `SparkNLP` versions in our official [documentation](http
|
|
|
198
198
|
|
|
199
199
|
### Databricks Support
|
|
200
200
|
|
|
201
|
-
Spark NLP 6.1.
|
|
201
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following runtimes:
|
|
202
202
|
|
|
203
203
|
| **CPU** | **GPU** |
|
|
204
204
|
|--------------------|--------------------|
|
|
@@ -216,7 +216,7 @@ We are compatible with older runtimes. For a full list check databricks support
|
|
|
216
216
|
|
|
217
217
|
### EMR Support
|
|
218
218
|
|
|
219
|
-
Spark NLP 6.1.
|
|
219
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following EMR releases:
|
|
220
220
|
|
|
221
221
|
| **EMR Release** |
|
|
222
222
|
|--------------------|
|
|
@@ -63,7 +63,7 @@ $ java -version
|
|
|
63
63
|
$ conda create -n sparknlp python=3.7 -y
|
|
64
64
|
$ conda activate sparknlp
|
|
65
65
|
# spark-nlp by default is based on pyspark 3.x
|
|
66
|
-
$ pip install spark-nlp==6.1.
|
|
66
|
+
$ pip install spark-nlp==6.1.3 pyspark==3.3.1
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
In Python console or Jupyter `Python3` kernel:
|
|
@@ -129,7 +129,7 @@ For a quick example of using pipelines and models take a look at our official [d
|
|
|
129
129
|
|
|
130
130
|
### Apache Spark Support
|
|
131
131
|
|
|
132
|
-
Spark NLP *6.1.
|
|
132
|
+
Spark NLP *6.1.3* has been built on top of Apache Spark 3.4 while fully supports Apache Spark 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x, and 3.5.x
|
|
133
133
|
|
|
134
134
|
| Spark NLP | Apache Spark 3.5.x | Apache Spark 3.4.x | Apache Spark 3.3.x | Apache Spark 3.2.x | Apache Spark 3.1.x | Apache Spark 3.0.x | Apache Spark 2.4.x | Apache Spark 2.3.x |
|
|
135
135
|
|-----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
|
@@ -159,7 +159,7 @@ Find out more about 4.x `SparkNLP` versions in our official [documentation](http
|
|
|
159
159
|
|
|
160
160
|
### Databricks Support
|
|
161
161
|
|
|
162
|
-
Spark NLP 6.1.
|
|
162
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following runtimes:
|
|
163
163
|
|
|
164
164
|
| **CPU** | **GPU** |
|
|
165
165
|
|--------------------|--------------------|
|
|
@@ -177,7 +177,7 @@ We are compatible with older runtimes. For a full list check databricks support
|
|
|
177
177
|
|
|
178
178
|
### EMR Support
|
|
179
179
|
|
|
180
|
-
Spark NLP 6.1.
|
|
180
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following EMR releases:
|
|
181
181
|
|
|
182
182
|
| **EMR Release** |
|
|
183
183
|
|--------------------|
|
|
@@ -41,7 +41,7 @@ setup(
|
|
|
41
41
|
# project code, see
|
|
42
42
|
# https://packaging.python.org/en/latest/single_source_version.html
|
|
43
43
|
|
|
44
|
-
version='6.1.
|
|
44
|
+
version='6.1.3', # Required
|
|
45
45
|
|
|
46
46
|
# This is a one-line description or tagline of what your project does. This
|
|
47
47
|
# corresponds to the 'Summary' metadata field:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spark-nlp
|
|
3
|
-
Version: 6.1.
|
|
3
|
+
Version: 6.1.3
|
|
4
4
|
Summary: John Snow Labs Spark NLP is a natural language processing library built on top of Apache Spark ML. It provides simple, performant & accurate NLP annotations for machine learning pipelines, that scale easily in a distributed environment.
|
|
5
5
|
Home-page: https://github.com/JohnSnowLabs/spark-nlp
|
|
6
6
|
Author: John Snow Labs
|
|
@@ -102,7 +102,7 @@ $ java -version
|
|
|
102
102
|
$ conda create -n sparknlp python=3.7 -y
|
|
103
103
|
$ conda activate sparknlp
|
|
104
104
|
# spark-nlp by default is based on pyspark 3.x
|
|
105
|
-
$ pip install spark-nlp==6.1.
|
|
105
|
+
$ pip install spark-nlp==6.1.3 pyspark==3.3.1
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
In Python console or Jupyter `Python3` kernel:
|
|
@@ -168,7 +168,7 @@ For a quick example of using pipelines and models take a look at our official [d
|
|
|
168
168
|
|
|
169
169
|
### Apache Spark Support
|
|
170
170
|
|
|
171
|
-
Spark NLP *6.1.
|
|
171
|
+
Spark NLP *6.1.3* has been built on top of Apache Spark 3.4 while fully supports Apache Spark 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x, and 3.5.x
|
|
172
172
|
|
|
173
173
|
| Spark NLP | Apache Spark 3.5.x | Apache Spark 3.4.x | Apache Spark 3.3.x | Apache Spark 3.2.x | Apache Spark 3.1.x | Apache Spark 3.0.x | Apache Spark 2.4.x | Apache Spark 2.3.x |
|
|
174
174
|
|-----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
|
@@ -198,7 +198,7 @@ Find out more about 4.x `SparkNLP` versions in our official [documentation](http
|
|
|
198
198
|
|
|
199
199
|
### Databricks Support
|
|
200
200
|
|
|
201
|
-
Spark NLP 6.1.
|
|
201
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following runtimes:
|
|
202
202
|
|
|
203
203
|
| **CPU** | **GPU** |
|
|
204
204
|
|--------------------|--------------------|
|
|
@@ -216,7 +216,7 @@ We are compatible with older runtimes. For a full list check databricks support
|
|
|
216
216
|
|
|
217
217
|
### EMR Support
|
|
218
218
|
|
|
219
|
-
Spark NLP 6.1.
|
|
219
|
+
Spark NLP 6.1.3 has been tested and is compatible with the following EMR releases:
|
|
220
220
|
|
|
221
221
|
| **EMR Release** |
|
|
222
222
|
|--------------------|
|
|
@@ -158,6 +158,7 @@ sparknlp/annotator/ner/ner_approach.py
|
|
|
158
158
|
sparknlp/annotator/ner/ner_converter.py
|
|
159
159
|
sparknlp/annotator/ner/ner_crf.py
|
|
160
160
|
sparknlp/annotator/ner/ner_dl.py
|
|
161
|
+
sparknlp/annotator/ner/ner_dl_graph_checker.py
|
|
161
162
|
sparknlp/annotator/ner/ner_overwriter.py
|
|
162
163
|
sparknlp/annotator/ner/zero_shot_ner_model.py
|
|
163
164
|
sparknlp/annotator/openai/__init__.py
|
|
@@ -176,6 +177,7 @@ sparknlp/annotator/sentiment/sentiment_detector.py
|
|
|
176
177
|
sparknlp/annotator/sentiment/vivekn_sentiment.py
|
|
177
178
|
sparknlp/annotator/seq2seq/__init__.py
|
|
178
179
|
sparknlp/annotator/seq2seq/auto_gguf_model.py
|
|
180
|
+
sparknlp/annotator/seq2seq/auto_gguf_reranker.py
|
|
179
181
|
sparknlp/annotator/seq2seq/auto_gguf_vision_model.py
|
|
180
182
|
sparknlp/annotator/seq2seq/bart_transformer.py
|
|
181
183
|
sparknlp/annotator/seq2seq/cohere_transformer.py
|
|
@@ -213,6 +215,7 @@ sparknlp/base/doc2_chunk.py
|
|
|
213
215
|
sparknlp/base/document_assembler.py
|
|
214
216
|
sparknlp/base/embeddings_finisher.py
|
|
215
217
|
sparknlp/base/finisher.py
|
|
218
|
+
sparknlp/base/gguf_ranking_finisher.py
|
|
216
219
|
sparknlp/base/graph_finisher.py
|
|
217
220
|
sparknlp/base/has_recursive_fit.py
|
|
218
221
|
sparknlp/base/has_recursive_transform.py
|
|
@@ -16,5 +16,6 @@ from sparknlp.annotator.ner.ner_approach import *
|
|
|
16
16
|
from sparknlp.annotator.ner.ner_converter import *
|
|
17
17
|
from sparknlp.annotator.ner.ner_crf import *
|
|
18
18
|
from sparknlp.annotator.ner.ner_dl import *
|
|
19
|
+
from sparknlp.annotator.ner.ner_dl_graph_checker import *
|
|
19
20
|
from sparknlp.annotator.ner.ner_overwriter import *
|
|
20
21
|
from sparknlp.annotator.ner.zero_shot_ner_model import *
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# Copyright 2017-2025 John Snow Labs
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
"""Contains classes for NerDL."""
|
|
15
|
+
|
|
16
|
+
from sparknlp.common import *
|
|
17
|
+
import sparknlp.internal as _internal
|
|
18
|
+
from pyspark.ml.util import JavaMLWritable
|
|
19
|
+
from pyspark.ml.wrapper import JavaEstimator
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NerDLGraphChecker(
|
|
23
|
+
JavaEstimator,
|
|
24
|
+
JavaMLWritable,
|
|
25
|
+
_internal.ParamsGettersSetters,
|
|
26
|
+
):
|
|
27
|
+
"""Checks whether a suitable NerDL graph is available for the given training dataset, before any
|
|
28
|
+
computations/training is done. This annotator is useful for custom training cases, where
|
|
29
|
+
specialized graphs are needed.
|
|
30
|
+
|
|
31
|
+
Important: This annotator should be used or positioned before any embedding or NerDLApproach
|
|
32
|
+
annotators in the pipeline and will process the whole dataset to extract the required graph parameters.
|
|
33
|
+
|
|
34
|
+
This annotator requires a dataset with at least two columns: one with tokens and one with the
|
|
35
|
+
labels. In addition, it requires the used embedding annotator in the pipeline to extract the
|
|
36
|
+
suitable embedding dimension.
|
|
37
|
+
|
|
38
|
+
For extended examples of usage, see the`Examples
|
|
39
|
+
<https://github.com/JohnSnowLabs/spark-nlp/blob/master//home/ducha/Workspace/scala/spark-nlp-feature/examples/python/training/english/dl-ner/ner_dl_graph_checker.ipynb>`__
|
|
40
|
+
and the `NerDLGraphCheckerTestSpec
|
|
41
|
+
<https://github.com/JohnSnowLabs/spark-nlp/blob/master/src/test/scala/com/johnsnowlabs/nlp/annotators/ner/dl/NerDLGraphCheckerTestSpec.scala>`__.
|
|
42
|
+
|
|
43
|
+
==================================== ======================
|
|
44
|
+
Input Annotation types Output Annotation type
|
|
45
|
+
==================================== ======================
|
|
46
|
+
``DOCUMENT, TOKEN`` `NONE`
|
|
47
|
+
==================================== ======================
|
|
48
|
+
|
|
49
|
+
Parameters
|
|
50
|
+
----------
|
|
51
|
+
inputCols
|
|
52
|
+
Column names of input annotations
|
|
53
|
+
labelColumn
|
|
54
|
+
Column name for data labels
|
|
55
|
+
embeddingsDim
|
|
56
|
+
Dimensionality of embeddings
|
|
57
|
+
|
|
58
|
+
Examples
|
|
59
|
+
--------
|
|
60
|
+
>>> import sparknlp
|
|
61
|
+
>>> from sparknlp.base import *
|
|
62
|
+
>>> from sparknlp.annotator import *
|
|
63
|
+
>>> from pyspark.ml import Pipeline
|
|
64
|
+
|
|
65
|
+
This CoNLL dataset already includes a sentence, token and label
|
|
66
|
+
column with their respective annotator types. If a custom dataset is used,
|
|
67
|
+
these need to be defined with for example:
|
|
68
|
+
|
|
69
|
+
>>> conll = CoNLL()
|
|
70
|
+
>>> trainingData = conll.readDataset(spark, "src/test/resources/conll2003/eng.train")
|
|
71
|
+
>>> embeddings = BertEmbeddings \\
|
|
72
|
+
... .pretrained() \\
|
|
73
|
+
... .setInputCols(["sentence", "token"]) \\
|
|
74
|
+
... .setOutputCol("embeddings")
|
|
75
|
+
|
|
76
|
+
This annotatorr requires the data for NerDLApproach graphs: text, tokens, labels and the embedding model
|
|
77
|
+
|
|
78
|
+
>>> nerDLGraphChecker = NerDLGraphChecker() \\
|
|
79
|
+
... .setInputCols(["sentence", "token"]) \\
|
|
80
|
+
... .setLabelColumn("label") \\
|
|
81
|
+
... .setEmbeddingsModel(embeddings)
|
|
82
|
+
>>> nerTagger = NerDLApproach() \\
|
|
83
|
+
... .setInputCols(["sentence", "token", "embeddings"]) \\
|
|
84
|
+
... .setLabelColumn("label") \\
|
|
85
|
+
... .setOutputCol("ner") \\
|
|
86
|
+
... .setMaxEpochs(1) \\
|
|
87
|
+
... .setRandomSeed(0) \\
|
|
88
|
+
... .setVerbose(0)
|
|
89
|
+
>>> pipeline = Pipeline().setStages([nerDLGraphChecker, embeddings, nerTagger])
|
|
90
|
+
|
|
91
|
+
If we now fit the model with a graph missing, then an exception is raised.
|
|
92
|
+
|
|
93
|
+
>>> pipelineModel = pipeline.fit(trainingData)
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
inputCols = Param(
|
|
97
|
+
Params._dummy(),
|
|
98
|
+
"inputCols",
|
|
99
|
+
"Input columns",
|
|
100
|
+
typeConverter=TypeConverters.toListString,
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
def setInputCols(self, *value):
|
|
104
|
+
"""Sets column names of input annotations.
|
|
105
|
+
|
|
106
|
+
Parameters
|
|
107
|
+
----------
|
|
108
|
+
*value : List[str]
|
|
109
|
+
Input columns for the annotator
|
|
110
|
+
"""
|
|
111
|
+
if type(value[0]) == str or type(value[0]) == list:
|
|
112
|
+
# self.inputColsValidation(value)
|
|
113
|
+
if len(value) == 1 and type(value[0]) == list:
|
|
114
|
+
return self._set(inputCols=value[0])
|
|
115
|
+
else:
|
|
116
|
+
return self._set(inputCols=list(value))
|
|
117
|
+
else:
|
|
118
|
+
raise TypeError(
|
|
119
|
+
"InputCols datatype not supported. It must be either str or list"
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
labelColumn = Param(
|
|
123
|
+
Params._dummy(),
|
|
124
|
+
"labelColumn",
|
|
125
|
+
"Column with label per each token",
|
|
126
|
+
typeConverter=TypeConverters.toString,
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
def setLabelColumn(self, value):
|
|
130
|
+
"""Sets name of column for data labels.
|
|
131
|
+
|
|
132
|
+
Parameters
|
|
133
|
+
----------
|
|
134
|
+
value : str
|
|
135
|
+
Column for data labels
|
|
136
|
+
"""
|
|
137
|
+
return self._set(labelColumn=value)
|
|
138
|
+
|
|
139
|
+
embeddingsDim = Param(
|
|
140
|
+
Params._dummy(),
|
|
141
|
+
"embeddingsDim",
|
|
142
|
+
"Dimensionality of embeddings",
|
|
143
|
+
typeConverter=TypeConverters.toInt,
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
def setEmbeddingsDim(self, value: int):
|
|
147
|
+
"""Sets Dimensionality of embeddings
|
|
148
|
+
|
|
149
|
+
Parameters
|
|
150
|
+
----------
|
|
151
|
+
value : int
|
|
152
|
+
Dimensionality of embeddings
|
|
153
|
+
"""
|
|
154
|
+
return self._set(embeddingsDim=value)
|
|
155
|
+
|
|
156
|
+
def setEmbeddingsModel(self, model: HasEmbeddingsProperties):
|
|
157
|
+
"""
|
|
158
|
+
Get embeddingsDim from a given embeddings model, if possible.
|
|
159
|
+
Falls back to setEmbeddingsDim if dimension cannot be obtained automatically.
|
|
160
|
+
"""
|
|
161
|
+
# Try Python API first
|
|
162
|
+
if hasattr(model, "getDimension"):
|
|
163
|
+
dim = model.getDimension()
|
|
164
|
+
return self.setEmbeddingsDim(int(dim))
|
|
165
|
+
# Try JVM side if available
|
|
166
|
+
if hasattr(model, "_java_obj") and hasattr(model._java_obj, "getDimension"):
|
|
167
|
+
dim = int(model._java_obj.getDimension())
|
|
168
|
+
return self.setEmbeddingsDim(dim)
|
|
169
|
+
raise ValueError(
|
|
170
|
+
"Could not infer embeddings dimension from provided model. "
|
|
171
|
+
"Use setEmbeddingsDim(dim) explicitly."
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
inputAnnotatorTypes = [
|
|
175
|
+
AnnotatorType.DOCUMENT,
|
|
176
|
+
AnnotatorType.TOKEN,
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
graphFolder = Param(
|
|
180
|
+
Params._dummy(),
|
|
181
|
+
"graphFolder",
|
|
182
|
+
"Folder path that contain external graph files",
|
|
183
|
+
TypeConverters.toString,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
def setGraphFolder(self, p):
|
|
187
|
+
"""Sets folder path that contain external graph files.
|
|
188
|
+
|
|
189
|
+
Parameters
|
|
190
|
+
----------
|
|
191
|
+
p : str
|
|
192
|
+
Folder path that contain external graph files
|
|
193
|
+
"""
|
|
194
|
+
return self._set(graphFolder=p)
|
|
195
|
+
|
|
196
|
+
@keyword_only
|
|
197
|
+
def __init__(self):
|
|
198
|
+
_internal.ParamsGettersSetters.__init__(self)
|
|
199
|
+
classname = "com.johnsnowlabs.nlp.annotators.ner.dl.NerDLGraphChecker"
|
|
200
|
+
self.__class__._java_class_name = classname
|
|
201
|
+
self._java_obj = self._new_java_obj(classname, self.uid)
|
|
202
|
+
# self._setDefault()
|
|
203
|
+
|
|
204
|
+
def _create_model(self, java_model):
|
|
205
|
+
return NerDLGraphCheckerModel()
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
class NerDLGraphCheckerModel(
|
|
209
|
+
JavaModel,
|
|
210
|
+
JavaMLWritable,
|
|
211
|
+
_internal.ParamsGettersSetters,
|
|
212
|
+
):
|
|
213
|
+
"""
|
|
214
|
+
Resulting model from NerDLGraphChecker, that does not perform any transformations, as the
|
|
215
|
+
checks are done during the ``fit`` phase. It acts as the identity.
|
|
216
|
+
|
|
217
|
+
This annotator should never be used directly.
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
inputAnnotatorTypes = [
|
|
221
|
+
AnnotatorType.DOCUMENT,
|
|
222
|
+
AnnotatorType.TOKEN,
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
@keyword_only
|
|
226
|
+
def __init__(
|
|
227
|
+
self,
|
|
228
|
+
classname="com.johnsnowlabs.nlp.annotators.ner.dl.NerDLGraphCheckerModel",
|
|
229
|
+
java_model=None,
|
|
230
|
+
):
|
|
231
|
+
super(NerDLGraphCheckerModel, self).__init__(java_model=java_model)
|
|
232
|
+
if classname and not java_model:
|
|
233
|
+
self.__class__._java_class_name = classname
|
|
234
|
+
self._java_obj = self._new_java_obj(classname, self.uid)
|
|
235
|
+
if java_model is not None:
|
|
236
|
+
self._transfer_params_from_java()
|
|
237
|
+
# self._setDefault(lazyAnnotator=False)
|
|
@@ -32,3 +32,4 @@ from sparknlp.annotator.seq2seq.llama3_transformer import *
|
|
|
32
32
|
from sparknlp.annotator.seq2seq.cohere_transformer import *
|
|
33
33
|
from sparknlp.annotator.seq2seq.olmo_transformer import *
|
|
34
34
|
from sparknlp.annotator.seq2seq.phi4_transformer import *
|
|
35
|
+
from sparknlp.annotator.seq2seq.auto_gguf_reranker import *
|