🔍 Code Extractor

Component not found
Component not found
Component not found

Browse Components

Showing 20 of 29 components

  • function clean_text_for_xml_v1

    Sanitizes text strings to ensure XML 1.0 compatibility by removing or replacing invalid control characters and ensuring all characters meet XML specification requirements for Word document generation.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 22-49

    text-processing xml sanitization data-cleaning word-documents
  • function main_v2

    Main entry point function that reads a markdown file, converts it to an enhanced Word document with preserved heading structure, and saves it with a timestamped filename.

    File: /tf/active/vicechatdev/improved_word_converter.py | Lines: 187-215

    document-conversion markdown-to-word file-processing docx main-entry-point
  • function main_v3

    A test function that validates email template rendering by testing multiple HTML email templates with sample data structures for document review and approval workflows.

    File: /tf/active/vicechatdev/test_comprehensive_templates.py | Lines: 45-113

    testing email-templates validation document-management template-rendering
  • 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 main_v1

    Converts a markdown file containing warranty disclosure data into multiple tabular formats (CSV, Excel, Word) with timestamped output files.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 373-429

    markdown-conversion data-extraction report-generation csv-export excel-export
  • 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 create_folder_hierarchy

    Creates a hierarchical structure of Subfolder nodes in a Neo4j graph database based on a file path, establishing parent-child relationships between folders.

    File: /tf/active/vicechatdev/offline_parser_docstore.py | Lines: 114-169

    neo4j graph-database hierarchy folder-structure file-system
  • 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 main

    Orchestrates the conversion of an improved markdown file containing warranty disclosures into multiple tabular formats (CSV, Excel, Word) with timestamp-based file naming.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 421-480

    file-conversion markdown-processing warranty-data csv-export excel-export
  • 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