Utils# Provides access to utils defined in libNLP. Standard Types base yield_batches() encode() flatten() unflatten() flatten_list() checkpoint CheckpointIter CheckpointIter.batch CheckpointIter.checkpoint CheckpointIter.index Checkpoint Checkpoint.batch_size Checkpoint.n_files Checkpoint.n_docs Checkpoint.prefix Checkpoint.randomize Checkpoint.create() Checkpoint.destroy() classification_metrics generate_metric() config get_schema() validate() email_parsing parse_email() discard_greeting_from_text() EmailMessage EmailMessage.SIG_REGEX EmailMessage.QUOTE_HDR_REGEX EmailMessage.QUOTED_REGEX EmailMessage.HEADER_REGEX EmailMessage.MULTI_QUOTE_HDR_REGEX EmailMessage.MULTI_QUOTE_HDR_REGEX_MULTILINE EmailMessage.read() EmailMessage.reply EmailMessage.quote_header() Fragment Fragment.finish() Fragment.content pdf_extract is_number() BBox BBox.x0 BBox.x1 BBox.y0 BBox.y1 CharPage CharPage.char CharPage.page SentenceBox SentenceBox.bboxes SentenceBox.sentence LineConverter LineConverter.get_pages() LineConverter.handle_undefined_char() LineConverter.write_text() LineConverter.receive_layout() LineConverter.render_string_vertical() LineConverter.render_string() LineConverter.render_char() parse_pdf() MagicPdfAnalyser MagicPdfAnalyser.paragraphs MagicPdfAnalyser.sentences MagicPdfAnalyser.get_paragraphs() MagicPdfAnalyser.debug_boxes() MagicPdfAnalyser.get_sentences_json() MagicPdfAnalyser.is_sentence_continuation() MagicPdfAnalyser.has_shared_fonts() main() sentence_splitting TextSpan TextSpan.end TextSpan.start TextSpan.text sentence_spans() sentence_splitting() squirro_utils is_squirro_type() nlp_doc_to_squirro_item() squirro_item_to_nlp_doc() get_squirro_facet_type() get_squirro_client() stopwords tqdm TqdmLogger TqdmLogger.buf TqdmLogger.logger TqdmLogger.level TqdmLogger.write() TqdmLogger.flush() Cache Package Functions get_model_cache_client get_model_cache_client() Classes Cache Cache CacheWithExpiration CacheWithExpiration ExpiringCache ExpiringCache MemoryCache MemoryCache ModelCacheClient ModelCacheClient Model Management Package Classes InMemModel InMemModel ModelNotInMemoryException ModelNotInMemoryException Transformers Package Functions get_transformer get_transformer() Classes Huggingface_Transformers Huggingface_Transformers SentenceTransformer SentenceTransformer Tensorflow_Transformer Tensorflow_Transformer Transformer Transformer