🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function create_enhanced_word_document

    Converts markdown-formatted warranty disclosure content into a formatted Microsoft Word document with hierarchical headings, styled text, lists, and special formatting for block references.

    File: /tf/active/vicechatdev/improved_word_converter.py | Lines: 20-185

    document-generation markdown-to-word docx warranty-processing legal-documents
  • function create_word_report

    Generates a formatted Microsoft Word document report containing warranty disclosures with a table of contents, metadata, and structured sections for each warranty.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 233-371

    document-generation word-document docx report-generation warranty
  • function create_excel_report

    Creates a multi-sheet Excel report from warranty data, including main report, summary view, complete data, and statistics sheets with auto-formatted columns.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 167-231

    excel reporting data-export pandas openpyxl
  • function create_csv_report

    Creates two CSV reports (summary and detailed) from warranty data, writing warranty information to files with different levels of detail.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 141-165

    csv reporting data-export file-io warranty
  • function extract_warranty_data

    Parses markdown-formatted warranty documentation to extract structured warranty information including IDs, titles, sections, source document counts, warranty text, and disclosure content.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 75-139

    markdown-parsing data-extraction warranty-processing text-processing regex
  • function test_markdown_link_parsing

    A test function that validates markdown link parsing capabilities, specifically testing extraction and URL encoding of complex URLs containing special characters from Quill editor format.

    File: /tf/active/vicechatdev/test_complex_hyperlink.py | Lines: 50-80

    testing markdown url-parsing regex url-encoding
  • function test_complex_url_hyperlink

    A test function that validates the creation of Word documents with complex FileCloud URLs containing special characters, query parameters, and URL fragments as clickable hyperlinks.

    File: /tf/active/vicechatdev/test_complex_hyperlink.py | Lines: 8-48

    testing word-document hyperlink docx url-handling
  • class RegulatoryExtractor

    A class for extracting structured metadata from regulatory guideline PDF documents using LLM-based analysis and storing the results in an Excel tracking spreadsheet.

    File: /tf/active/vicechatdev/reg_extractor.py | Lines: 11-383

    pdf-extraction regulatory-documents llm-extraction ocr data-extraction
  • function validate_and_alternatives

    Validates whether a given keyword is a valid chemical compound, biochemical concept, or drug-related term using GPT-4, and returns alternative names/synonyms if valid.

    File: /tf/active/vicechatdev/offline_parser_docstore.py | Lines: 71-112

    validation chemistry biochemistry drug-research llm
  • function get_bibtext

    Retrieves and parses BibTeX citation data for a given DOI (Digital Object Identifier), extracting the title and formatted BibTeX string.

    File: /tf/active/vicechatdev/offline_parser_docstore.py | Lines: 54-69

    bibliography bibtex doi citation academic
  • function get_bib

    Fetches BibTeX citation data for a given DOI (Digital Object Identifier) from the CrossRef API.

    File: /tf/active/vicechatdev/offline_parser_docstore.py | Lines: 31-52

    bibliography citation bibtex doi crossref
  • function test_fixes

    A comprehensive test function that validates email template rendering and CDocs application link presence in a document management system's email notification templates.

    File: /tf/active/vicechatdev/test_comprehensive_fixes.py | Lines: 10-148

    testing email-templates template-rendering validation document-management
  • class MetadataCatalog

    Helper class to manage FileCloud metadata sets and attributes. This class provides methods to work with FileCloud metadata by providing a more user-friendly interface on top of the raw API.

    File: /tf/active/vicechatdev/metadata_catalog.py | Lines: 9-1398

    class metadatacatalog
  • function create_word_report_improved

    Generates a formatted Microsoft Word document report containing warranty disclosures with table of contents, structured sections, and references.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 291-419

    document-generation word-processing report-generation docx warranty-management
  • function parse_references_section

    Parses a formatted references section string and extracts structured data including reference numbers, sources, and content previews using regular expressions.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 269-289

    parsing text-processing references citations regex
  • function create_excel_report_improved

    Creates a multi-sheet Excel report from warranty data, including main report, summary view, complete data, references, and statistics sheets with auto-formatted columns.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 193-267

    excel reporting data-export pandas multi-sheet
  • function create_csv_report_improved

    Creates two CSV reports from warranty data: a summary report with key fields and a detailed report with all fields including full disclosures.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 167-191

    csv report-generation file-io warranty data-export
  • function extract_warranty_data_improved

    Parses markdown-formatted warranty documentation to extract structured warranty data including IDs, titles, sections, disclosure text, and reference citations.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 75-165

    markdown-parsing text-extraction warranty-processing document-parsing regex
  • function clean_text_for_xml

    Sanitizes text by removing or replacing XML-incompatible characters to ensure compatibility with Word document XML structure.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 44-73

    text-processing xml sanitization word-documents character-encoding
  • function clean_text

    Cleans and normalizes text content by removing HTML tags, normalizing whitespace, and stripping markdown formatting elements.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 25-42

    text-processing text-cleaning normalization html-removal markdown-removal