Spaces:
Sleeping
Sleeping
File size: 29,381 Bytes
de0b504 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
import gradio as gr
# Define the knowledge base as a dictionary
knowledge_base = {
"SOP": "Sales Operations Planning / Standard Operational Procedure / Start of Production",
"NTO": "Net Turnover",
"D&A": "Data & Analytics",
"HOF":"Head of Function",
"APFO": "Adjusted Profit from Operations",
"LEP": "Limited Edition Pack",
"AD": "Area Director",
"IDT" : "Information & Digital Technology",
"CORA" : "Corporate & Regulatory Affairs",
"DBS" : "Digital Business Solutions",
"MKT":"Marketing",
"PAM":"Primary Area Management",
"LT": "Leadership Team",
"OLT": "Operations Leadership Team",
"MLT": "Marketing Leadership Team",
"FLT": "Finance Leadership Team",
"GSD": "Group Service Delivery or Global Service Desk",
"TPD": "Tobacco Products Directive",
"WMS": "Warehouse Management System / Wrapping Material Specification",
"GLT": "Green Leaf Threshing",
"MBL": "Modern BAT Leaf",
"TAO": "One SAP",
"SOBC":"Standards of Business Conduct",
"FMD": "Final Manufacturing Unit",
"SSO":"Single Sign-on",
"PLM": "Product Lifecycle Management",
"PMD": "Primary Manufacturing Unit",
"SMD": "Secondary Manufacturing Unit",
"SLA": "Service Level Agreement",
"CUCO": "Consumer Complaint",
"COCO": "Customer Complaint",
"EFO" : "End Fall-Out",
"OSSO": "Operation Skill Sourcing Officer",
"MSSO": "Marketing Skill Sourcing Manager",
"FT": "Field Technician",
"STT": "Sales to Trade",
"ADS": "Average Daily Sales",
"RA": "Retailers Assistant",
"SR": "Sales Representative",
"VBB": "Valuable Business Partner",
"MT": "Modern Trade",
"BCP": "Business Continuity Planning",
"ABC": "Activity Based Costing",
"ABD": "Advance Booking Deadlines",
"AC": "Assessment Centre",
"ACA": "Area Cycle Alignment",
"ACF": "Active Charcoal Filter",
"ACT": "Advance Corporation Tax",
"ADR": "American Depositary Receipts",
"Ad-valorem": "Type of tobacco taxation typically calculated on the value of cigarettes sold",
"ADW": "Active Data Warehouse",
"AGV": "Automated Guided Vehicle",
"AIR": "Average Issue Readership",
"AIT": "Anti Illicit Trade",
"ALPS": "Area Leaf Planning System",
"AME": "Achieving Marketing Excellence database / Africa Middle East (region)",
"AMGP": "Additives and Material Guidance Panel",
"AO": "Area Office",
"AP": "Accounts Payable",
"APO": "Advanced Planner & Optimiser",
"APS": "Advanced Planning System / Annual Planning System",
"APV": "Accounts Payable Voucher",
"AR": "Accounts Receivable",
"ASH": "Action on Smoking and Health",
"ASP": "Aspirational Premium",
"ASPAC": "Asia Pacific (Region)",
"ASU30": "Adult Smoker Under 30 Years Old",
"AT": "Account Teams",
"ATC": "Advanced Technologies Cambridge",
"ATIF": "Any Time In Full",
"ATL": "Above The Line (traditional media advertising term)",
"AV": "Ad Valorem",
"AWAP": "Above Weighted Average Price",
"B2B": "Business to Business",
"B2C": "Business to Consumer",
"BA": "Business Analyst",
"BASS": "British American Shared Services",
"BAT": "British American Tobacco",
"BATMark": "Trademark Department",
"BATPS": "British American Tobacco Pension Scheme",
"BAU": "Business as Usual",
"BCC": "Board Compensation Committee",
"BCM": "Business Change Manager / Business Continuity Management",
"BCP": "Business Continuity Plan",
"BCT": "Business Controls Team",
"BDD": "Business Development Department",
"BEL": "Business Excellence for Leaders",
"BESS": "Brand Excellence Series",
"BEST": "Business Enablers Survey Tool",
"BIA": "Business Impact Analysis",
"BIB": "Blend In a Box",
"BIM": "Brand Image Mapping / Business Implementation Manager",
"BLM": "Brand Launch & Modification",
"BLT": "BATCCA Leadership Team",
"BM": "Brand Manager",
"BMF": "Brand Modification Form",
"Bn": "Billion",
"BOD": "Bill Of Distribution",
"BOL": "Bill Of Lending",
"BOM": "Bill Of Materials",
"BOSS": "Business and Operational System Steering Group",
"BPCS": "Business Planning & Control System (Integrated AS400 computer system)",
"BPI": "Business Process Improvement",
"BPO": "Business Process Outsourcing",
"BPR": "Business Process Re-engineering",
"BPTO": "Brand Price Trade – Off",
"BritAm": "The name of the proprietary typeface designed specifically for the British American Tobacco logotype in our corporate signature",
"BRM": "Budget Review Meeting",
"BRR": "Business Risk Register",
"BS": "Balance Sheet",
"BSE": "Brand Support Expenditure",
"BSU": "Business Support Unit",
"BT": "British Telecoms",
"BTC": "British American Tobacco Technology Centre",
"BTL": "Below The Line (Traditional merchandising/promotions)",
"BVS": "Brand Value Segment",
"BW": "Business Warehouse",
"BWAP": "Below Weighted Average Price",
"BY": "Burley",
"C&PCR": "Complexity & Product Cost Reduction",
"CAB": "Change Advisory Board",
"CAB1, CAB2 and CAB3": "Types of changes in Information systems and applications",
"CAGR": "Compound Annual Growth Rate",
"CAM": "Central America",
"CAP": "Customer Account Profitability",
"CAPEX": "Capital Expenditure",
"CAR": "Caribbean",
"CARICOM": "Caribbean Community Regional Integration",
"CBA": "Cost Benefit Analysis",
"CCC": "Common Communication Code",
"CCT": "Cut Tobacco at brought in cost",
"CDF": "Consumer Disposition Funnel",
"CDM": "Career Development Meeting",
"CEA": "Cost Element Accounting",
"CES": "Competitive Edge Series",
"CI": "Continual Improvement",
"CIGMAR": "Cigarrette Market (Group Marketing Information System)",
"CKB": "Competitor Knowledge Base",
"CLD": "Cased Leaf Drier (Tobacco process)",
"CM": "Country Manager",
"CMB": "Centrally Managed Brands",
"COC": "Cigarette overhead conveyor",
"CofE": "Centre of Expertise",
"COL": "Cost of Living",
"COMIECO": "Council of Ministers for Economic Integration",
"CoO": "Cost Of Ownership / Country Of Origin",
"COP": "Conference of the Parties",
"CoPlan": "Company Plan",
"CORESTA": "Co-operation Centre for Scientific Research Relative to Tabacco",
"CP": "Cigarette Paper",
"CPC": "Common Planning Calendar",
"CPI": "Consumer Price Index / Cuts per inch (30 cpi for lamina, 120-160 cpi for stem)",
"CPM": "Cigarettes Per Minute",
"CPMH": "Cigarettes Per Man Hour",
"CPQE": "Cigarette Physical Quality Evaluation",
"CPT": "Consumer Product Testing",
"CPTO": "Consumer Price Turn Over",
"CQMS": "Corporate Quality Management System",
"CR": "Comp. Ratio",
"CRM": "Customer Relationship Management",
"CROSQ": "CARICOM Regional Organisation for Standards & Quality",
"CRS": "Cut Rolled Stem",
"CRT": "Cut Rag Tobacco",
"CS": "Cut stem",
"CSI": "Consumer Satisfaction Index / Corporate Social Investment",
"CSR": "Corporate Social Responsibility",
"CST": "Cluster Strategy Team",
"CTA": "Contribution to Admin",
"CTS": "Cut Tobacco Store",
"D&D": "Design & Destroyed",
"D&S": "Design & Specify",
"DAC": "Daily Average Consumption / Dark air cured",
"DB": "Defined Benefit / Display Ban",
"DC": "Defined Contribution",
"DCC": "Direct Cylinder Conditioning / Direct Cylinder Conditioning and Casing",
"DES": "Distribution Edge Series",
"DG5": "Deployment Group 5",
"DIET": "Dry Ice Expanded Tobacco",
"DM": "Data Management",
"DNP": "Duty Not Paid",
"DO": "Distribution Outlets",
"DOM": "Demand Operations Manager",
"DP": "Duty Paid",
"DRBU": "Direct Reporting Business Unit",
"DRF": "Dust Recovery Fans",
"DRG": "Design Reference Group",
"DRP": "Disaster Recovery Programme / Distribution Resource Planning",
"DSA": "Daily Sales Average",
"DSD": "Direct to Store Delivery",
"DSS": "Direct Store Sales",
"DTI": "Department of Trade and Industry",
"DTI": "Duty Transit Insurance",
"DTR": "Double Tax Relief",
"DTV": "Digital Tax Verification",
"DX": "Distribution Excellence",
"E2E": "End to end",
"EAI": "Enterprise Applications Integration",
"EAM": "Effective Area Management",
"EAS": "Enterprise Applications Strategy",
"ECLT": "Foundation Eliminating Child Labour in Tobacco Growing Foundation",
"EDI": "Electronic Data Interchange",
"EDM": "Executive Directors' Meeting",
"EEC": "European Employee Council",
"EFM": "Export Finance Manager",
"EH&S": "Environmental, Health & Safety",
"EM": "End Market / Environment Management",
"EMF2": "Effective Market Focus",
"EMSP": "End Market Strategic Plan",
"ENDS": "Electronic nicotine delivery systems",
"ENNDS": "Electronic non-nicotine delivery systems",
"EOS": "Exchange Of Sale",
"EP": "Electrostatic Perforation",
"EPIC": "Enhanced Productivity in the Cloud",
"EPO": "Enterprise Programme Office",
"EPR": "Effective Problem Resolution",
"ERP": "Enterprise Resource Planning",
"ET": "Expanded Tobacco",
"ETS": "Environmental Tobacco Smoke",
"EUCA": "European Union Co-operation Agreement",
"EVP": "Employee Value Proposition",
"Expat": "Expatriate",
"FC": "Forecast",
"FCS": "Financial Control System",
"FCTC": "Framework Convention for Tobacco Control",
"FCV": "Flue Cured Virginia",
"FD": "Finance Director",
"FEP": "Finance Excellence Programme",
"FF": "Full Flavour",
"FFP": "Factory Foot Print / Fit for Purpose",
"FG": "Finished Goods",
"FGS": "Finished Goods Sales",
"FIFO": "First In First Out",
"FMC": "Factory Made Cigarettes",
"FMCG": "Fast Moving Consumer Goods",
"FOQ": "Fixed Order Quantity",
"Foresight": "Sales forecasting and supply chain system",
"FOT's": "French Overseas Territories",
"FP": "Filling Power",
"FPI": "Finished Product Inspection",
"FTA": "Filter Tipo Attacher / Free Trade Agreement",
"FTE": "Full Time Equivalent",
"FTZ": "Free Trade Zone",
"FV": "Fill Value",
"FY": "Full Year",
"FYR": "Full Year Results",
"GAAP": "Generally Accepted Accounting Principles",
"GAM": "Group Accounting Manual",
"GBP": "Great Britain Pounds",
"GDB": "Global Drive Brands",
"GDP": "Gross Domestic Product",
"GH": "Globe House (The British American Tobacco headquarters)",
"GHS": "Globally Harmonised System",
"GHW": "Graphic Health Warning",
"GIP": "Global Integration Programme",
"GIPS": "Group Intellectual Property Service",
"GIT": "Goods in Transit",
"GIV": "Gross Domestic Product",
"GLOSS": "Global Leaf Order Supply System",
"GLP": "Global Leaf Pool / Global Leaf Processing",
"GLT": "Green Leaf Threshing",
"GM": "General Manager",
"GMAPP": "Group Manual of Accounting Policies and Procedures",
"GOM": "Global Operating Model",
"GP": "Guiding Principles",
"GPC": "Group Product Champion",
"GPMO": "Global Programme Management Office",
"GPS": "Global Process Standards / Global Product Specification",
"GPtW": "Great Place to Work",
"GQT": "Group Quality Team",
"GR&D": "Group Research & Development",
"GRE": "Global Retail Excellence",
"GRP": "Gross Rating Points",
"GSC": "Global Standards Council / Global Supply Chain",
"GSCS": "Global Supply Chain Strategy",
"GSCSC": "Global Supply Chain Service Centre",
"GSD": "Group Service Delivery",
"GSI": "General Standing Instructions",
"GSM": "Global Specification Management / Grams per square metre",
"GSMP": "Global Service Management Project",
"GSP": "Global Specification Platform / Global Strategy Process",
"GSS": "Global Specification Services",
"GTO": "Gross Turnover",
"GTR": "Global Travel and Retail",
"GUI": "Graphical User Interface",
"GWD": "Gross Weighted Distribution",
"W10": "Windows 10",
"WAP": "Weighted Average Price",
"WAR": "Warehouse Receipt",
"WBS": "Work Breakdown Structure",
"WCO": "World Customs Organization",
"WEL": "Workplace Exposure Limit",
"WER": "Western Europe",
"WHA": "World Health Assembly",
"WHO": "World Health Organisation",
"WIC": "World Investment Co Ltd",
"WITCO": "West Indian Tobacco Company",
"WLB": "Work Life Balance",
"WMS": "Warehouse Management System / Wrapping Materials Specifications / Wrapping Materials Stock",
"WNTD": "World No Tobacco Day",
"WTL": "Water Treated Lamina",
"WTO": "World Trade Organization",
"WTS": "Water Treated Stem",
"WWTP": "Wastewater Treatment Plant",
"YIU": "Yield in Use",
"YoY": "Year on Year",
"YSP": "Youth Smoking Prevention",
"YTD": "Year To Date",
"YTG": "Year To Go",
"YV": "Your Voice Survey",
"TOR": "Terms of Reference",
"TP": "Trading Profit / Tobacco Product Directive",
"TPM": "Total Particulate Matter",
"TPP": "Trans Pacific Partnership",
"TQM": "Total Quality Management",
"TRM": "Talent Review Meetings",
"TSG": "Tobacco Strategy Group (BAT Industries)",
"TSP": "Total System Profit",
"TT": "Top Team",
"TTL": "Through-the-line (communication)",
"TUSS": "Tobacco Utilisation Sourcing & Supply",
"UAT": "User Acceptance Testing",
"UGM": "User Group Meeting",
"UKIB": "UK International brand",
"ULow": "Ultra Low",
"ULP": "Ultra Low Price",
"UNSPS": "Universal Standards Products Service Classification",
"UOM": "Unit Of Measure",
"UOP": "Underlying Operating Profit",
"USIB": "US International Brand",
"VA": "Virginia",
"VAT": "Value Added Tax (or sales tax)",
"VFM": "Value For Money",
"VMI": "Vendor Managed Inventory",
"Vs": "Versus",
"T&A": "Technical & Advisory Fee",
"T&T": "Track and Trace",
"TaO": "Target Operating Model and OneSAP / TaO Business Intelligence / TaO Business Objects / TaO Business Planning and Consolidation / TaO Central Process Scheduling / TaO ERP Central Component / TaO Enterprise Infrastructure Backbone / TaO Enterprise Search / TaO System Landscape Directory",
"TCC": "Tobacco Control Community",
"TCO": "Total Cost Ownership",
"TIH": "Tactical Inventory Hub",
"TLA": "Three Letter Acronym",
"TLDW": "Team Leaders Development Workshop",
"TM": "Time Management (SAP)",
"TM&D": "Trade Marketing & Distribution / Trade Marketing and Distribution",
"TMA": "Tobacco Manufacturer's Association",
"TMC": "Tailor Made Cigarettes / Trade Marketing Communication",
"TMD": "Trade Marketing Diversification",
"TMU": "Trade Marketing Universe",
"TMVF": "Trade Mark Verification",
"TOM": "Target Operating Model",
"TOP": "Type Of Part",
"SH": "Section Head",
"SICA": "Central American Integration System",
"SIDS": "Screening Information Data Sets",
"SIECA": "Secretariat for Economic Integration for Central America",
"SIEF": "Substance Information Exchange Forum",
"SIG": "Strategic Innovations Group",
"SIMS": "Substance Inventory Management System",
"SIS": "Shipments Information System",
"SITA": "Worldwide telecommunications link",
"SITPRO": "Simplification of Internal Trade Procedures",
"SKU": "Stock Keeping Unit",
"SL": "Storage Location / Super Long",
"SLA": "Service Level Agreement / Strategic Leadership Agenda",
"SM@RT": "Standardised Materials At Realistic Transfer Prices",
"SMC": "Stakeholder Mapping & Classification",
"SMD": "Secondary Manufacturing Department",
"SMP": "Shared Materials Planning / Strategic Marketing Programme",
"SOB": "Share of brand / Source of Business / Standards of Business Contact",
"SOC": "Share of category",
"SoD": "Segregation of Duties",
"SODA": "Service Operation Desk Application",
"SoDA": "Statement of Delegated Authorities",
"SoM": "Share of Market",
"SOPE": "Sales and Operations Planning Executive",
"SOS": "Share of Sales",
"SOV": "Share of Voice",
"SP": "Supply Planning",
"SPC": "Statistical Process Control",
"SPD&S": "Strategic Product Development & Support",
"SPI": "Strategy Planning Insights",
"SPLY": "Same Period Last Year",
"SPM": "Sales Promotional Merchandise",
"SPOC": "Single Point Of Contact",
"SPU": "Secondary Packing Unit",
"SQ": "Superior Quality",
"SQP": "Supplier Quality Partnership",
"SREM": "Senior Regional Export Manager",
"SRF": "Suppliers Request Forms",
"SRG": "Scientific Research Group",
"SRM": "Specified Risk Material / Supplier Relationship Management",
"SRO": "Senior Responsible Owner",
"SRTP": "Social Responsibility in Tobacco Production",
"RCCP": "Rough Cut Capacity Plan",
"RCD": "Rebates Commission and Discounts",
"RCP": "Retail Classification Platform",
"RD": "Regional Director",
"RDF": "Retail Disposition Funnel",
"REC": "Research Executive Council",
"RFC": "Request For Change",
"RLT": "Regional Leadership Team",
"RM": "Records Management",
"RML": "Retail Media Landscape",
"RMM": "Risk Management Measure",
"ROCE": "Return on Capital Employed",
"RONA": "Return on Net Assets",
"ROSE": "Return on Shareholders' Equity",
"ROY": "Return of Investment",
"RPC": "Regional Product Centre",
"RPN": "Risk Priority Number",
"RQI": "Retail Quality Index",
"RRP": "Recommended Retail Price / Reduced Risk Product",
"RTM": "Route to Market",
"RYO": "Roll Your Own Tobacco",
"S&OP": "Sales & Operations Planning",
"S90": "A cigarette reservoir between the maker and the packer",
"SAM": "Strategic Account Management / Strategic Assessment Management",
"SAP GRC": "SAP Governance, Risk and Compliance",
"SAP II": "SAP Information Interchange",
"SAP PI": "SAP Process Integration / Interfaces between SAP ECC and other applications",
"SAP": "Systems Administration Platform / Systems Application Programme / Systems, Applications & Prod",
"SBS": "Strategic Business System",
"SC": "Soft Cup / Supply Chain Champions",
"SCA": "Supply Chain Academy",
"SCAM": "Supply Chain Above Market",
"SCC": "Supply Chain Collaborator",
"SCCSE": "Supply Chain Customer Service Excellence",
"SCDT": "Supply Chain Drive Team",
"SCEE": "Supply Chain Eastern Europe",
"SCEM": "Supply Chain Event Management",
"SCM": "Solution Centre Managers / Supply Chain Management",
"SCOC": "Suppliers Code of Conduct",
"SCOR": "Supply Chain Operations Reference Model",
"SCS": "Supply Chain Strategy / Supply Chain Synchronisation",
"SCSC": "Supply Chain Service Centre",
"SCWE": "Supply Chain Western Europe",
"SD": "Sales Distribution",
"SDG": "Strategic Design Group",
"SDM": "Service Delivery Manager",
"SDS": "Safety Data Sheet",
"SEM": "Strategic Enterprise Management",
"SGM": "Steering Group Meeting",
"P&E": "Pricing & Excise",
"P&L": "Profit and Loss",
"P1": "Incident Priority 1",
"P2": "Incident Priority 2",
"P2P": "Procure to Pay",
"P3": "Incident Priority 3",
"P4": "Incident Priority 4",
"PA": "Personal Administration (SAP)",
"PACE": "Performance Appraisal and Career Evaluation",
"PAG": "Programa de Alta Gerencia",
"BRD": "Business Requirent Document",
"BRS": "Business Requirent Document",
"BATB":"British American Tobacco Bangladesh",
"TAB": "Technology Architecture Board",
"PAT": "Profit After Tax",
"PBIT": "Profit before interest and tax",
"PBS": "Product Breakdown Structure",
"PBT": "Profit Before Tax",
"PCF": "People Capability Framework",
"PCR": "Product Complexity Reduction",
"PCS": "Pack Collector Study",
"PD": "Pressure Drop",
"PDC": "Product Development Committee",
"PDPC": "Primary Delivered Product Cost",
"PDSG": "Product Development Strategy Group",
"PDT": "Product Development Team",
"PI&T": "Product Integrity & Traceability",
"PID": "Project Initiation Document",
"PIR": "Post Implementation Review",
"PIT": "Point In Time",
"PLC": "Programmable logic Controller",
"PLM": "Product Life Management",
"PLP": "Product Line Profitability",
"PM": "Prime Minister",
"PMC": "Proceso de Mejoramiento Contínuo",
"PMD": "Primary Manufacturing Department",
"PMI": "Phillip Morris International",
"PMO": "Programme Management Office",
"PMP": "People Management Programme",
"PMS": "Planned Maintenance System",
"PO": "Performance Objectives / Purchase Order",
"POD": "Proof of Delivery",
"POP": "Point of Purchase",
"POS": "Point of Sale",
"PP": "Plain Packaging / Production Plan",
"PP&D": "Production Planning and Development",
"PPA": "Psychophysical Analysis",
"PPB": "Productivity Portfolio Board",
"PPR": "Post Project Review",
"PPS": "Public Place Smoking",
"PQI": "Product Quality Index",
"PQRS": "Physical Quality Rating System",
"Pre-SOP": "Pre Sales & Operations Planning",
"PRINCE": "Projects IN Controlled Environment",
"PRP": "Profit Related Pay",
"PSA": "Partial Scope Agreement / Product Space Appropriation",
"PSC": "Primary Supply Chain",
"PSG": "Product Steering Group",
"PSM": "Product Space Mapping",
"PSR": "Packed Store Room",
"PSU": "Production Services Unit",
"Pts": "Percentage points",
"PTSG": "Process Technology Steering Group",
"QA": "Quality Assurance",
"QBR": "Quarterly Business Review",
"QI": "Quality Inspection",
"QMR": "Quarterly Marketing Report",
"QPR": "Quarterly Performance Review / Quarterly Profit Review",
"QS": "Qualitative Studies",
"QTP": "Quality Through People",
"QUAIL": "Quality In Leaf",
"Quantum": "TM&D information system",
"MRP": "Materials Requirements Planning / Materials Resource Planning",
"MSD": "Management Services Department",
"MSDS": "Materials Safety Data Sheet",
"MSP": "Managing Successful Programmes / Market Share Points",
"MT": "Management Trainee / Materials Testing",
"MTO": "Make To Order",
"MTS": "Make To Stock",
"MXS": "Marketing Excellence Series",
"MYO": "Make Your Own",
"MYR": "Mid-Year Results / Mid-Year Review",
"NAMAS": "National Measurement Accreditation Service",
"NBD": "New Business Development",
"NCD": "Non Communicable Diseases",
"NFDPM": "Nicotine Free Dry Particulate Matter",
"NGO": "Non-Governmental Organisation",
"NGP": "New Generation Products",
"NMG": "New Marketing Guidelines",
"NND": "Net Net Density",
"NP": "Net Permeability",
"NPD": "New Product Development",
"NPI": "New Product Innovation / New Product Introduction",
"NQ": "Normal Quality",
"NTO": "Net Turnover",
"O2C": "Order To Cash",
"O365": "Office 365",
"OA": "Opportunity Analysis",
"OBS": "Opportunistic Business Simulation",
"OCA": "Out of Home (Advertising)",
"OD": "Organisational Development",
"OD(M)S": "One Day (Material) Store",
"ODG": "Operational Design Group",
"ODP": "Operational Demand Planning",
"OE": "Order Estimate",
"OEE": "Overall Equipment Effectiveness",
"OEM": "Original Equipment Manufacturer",
"OIE": "Other Income & Expense",
"OLT": "Operations Leadership Team",
"OM": "Operating Model / Organisational Management (Modulo SAP)",
"OOH": "Out Of Home",
"OOS": "Out Of Stock",
"OP": "Operating Profit",
"OPB": "Operations Portfolio Board",
"OpCo": "Operating Company",
"OpEx": "Operating Expenditure",
"Ops": "Operations",
"OR": "Oriental",
"OSP": "Operational Supply Planning",
"OTIF": "On Time In Full",
"OTP": "Other Tobacco Products",
"OTS": "Opportunity to See",
"L&B": "Lambert & Butler",
"L&D": "Liggett & Myers / Learning & Development",
"LAN": "Local Area Network",
"LAT": "Local Area Team",
"LC": "Leadership Capabilities",
"LCP": "Local Cycle Plan",
"LDP": "Local Demand Plan",
"LE": "Latest Estimate / Limited Edition",
"LEO": "Legal Entity Object",
"LEP": "Limited Edition Pack",
"LEX": "Legal and External Affairs",
"LIFO": "Last In First Out",
"LIMS": "Laboratory Information Management Solution",
"LIP": "Lower Ignition Propensity",
"LLT": "Local Leadership Team",
"LN": "Lotus Notes",
"LOC": "Letter Of Credit",
"LOF": "Language of Finance",
"LOS": "Line Of Sight",
"LOV": "List Of Values",
"LPE": "Latest Profit Estimate",
"LPO": "Local Purchase Order",
"LPV": "Low Production Volume",
"LRR": "Leaf Reception Room",
"M&S": "Materials and Supplies",
"MASQ": "Method for Assessing Smoking Quality",
"MAT": "Moving Annual Total",
"MCE": "Minimum Collectible Excise",
"MD": "Managing Director",
"MEC": "Manufacturing Executive Council",
"MFU": "Marketing Finance Unit",
"MGP": "Materials Guidance Panel",
"MI": "Management Information",
"Mille": "One thousand cigarettes",
"MKT": "Marketing",
"MLT": "Marketing Leadership Team",
"MMA": "Management Marketing Account",
"MN": "Million",
"MNF": "Manufacturing",
"MoC": "Minister of Commerce",
"MoF": "Minister of Finance",
"MoH": "Minister of Health",
"Mon": "Month on Month",
"MOP": "Members of the Protocol",
"MOPE": "Monthly Operating Profit Estimate",
"MoS": "Measure of Success",
"MPQ": "Managing Product Quality",
"MPS": "Master Production Scheduling",
"MPSG": "Master and Product Strategy Group",
"MQI": "Manufacturing Quality Index",
"MQS": "Materials Qualification System",
"MR": "Management Review",
"MRP II": "Manufacturing Resource Planning",
"IT": "Illicit Trade / Information Technology",
"ITC": "India Tobacco Company",
"ITGA": "International Tobacco Growers’ Association",
"ITIL": "Information Technology Infrastructure Library",
"ITP": "Illicit Trade Protocol",
"ITPC": "IT Project Committee",
"ITT": "Internationally Traded Tobacco",
"JIT": "Just In Time",
"JRC": "Joint Research Centre",
"JTI": "Japan Tobacco International",
"JV": "Joint venture",
"KCN": "Key Control Navigator",
"KDFII": "Filter rod maker, supplied by Hauni",
"KPI": "Key Performance Indicator",
"KRA": "Key Result Areas",
"KS": "King Size",
"KSF": "King Size Filter",
"KSI": "Key Strategic Initiatives",
"KYC": "Know your Customer",
"KYS": "Know Your Supplier",
"H2": "Half 2",
"HB": "Haus Bergman",
"HL": "Hinge Lid",
"HLP": "Hinge Lid Packer",
"HoD": "Head of Department",
"HoF": "Head of Function",
"HOLO": "Head of Leaf Operations",
"HOLP": "Head of Leaf Processing",
"Horeca": "Hotels, Restaurants and Cafes",
"HoS": "Head office Services",
"HP": "High Potential",
"HPV": "High Production Volume",
"HQ": "High Quality",
"HR": "Human Resources",
"HRBP": "Human Resources Business Partner",
"HS Code": "Harmonized Commodity Description and Coding System",
"HSE": "Health, Safety, Environment",
"HSU": "High Speed Unit",
"HTD": "High Temperature Dryer",
"HVST": "High Velocity Stem Tube",
"I&C": "Information & Consultation",
"IA": "International Assignment",
"IAAA": "International Advertising Association",
"IAM": "Identity and Access Management",
"IB": "International brand",
"IBG": "International Brand Group",
"ICA": "Inward Cartage Allowance",
"ICC": "International Chamber of Commerce",
"ICP": "International Career Plan",
"IDP": "Individual Development Programme",
"IE11": "Internet Explorer 11",
"IEIS": "International Executive Incentive Scheme",
"IFRS": "International Financial Reporting Standards",
"IMASCO": "Financial Services, Tobacco and Retailing Group (Canada)",
"IMF": "International Monetary Fund",
"IMI": "Incoming Materials Inspection",
"IMP": "International Marketing Principles",
"IMS": "International Marketing Standards",
"INTERPOL": "International Criminal Police Organization",
"IP": "Intellectual Property",
"IPP": "Integrated Planning Process",
"IPR": "Intellectual Property Rights",
"IPRA": "International Political and Regulatory Affairs",
"IR": "Investor Relations",
"ISC": "Integrated Supply Chain",
"ISF": "In Store Furniture",
"PED" : "Primary Engineering Department",
"EOB" : "End of Business Day",
"OOO" :"Out of Office",
}
# Define the Gradio interface function
def chatbot_interface(acronym):
acronym = acronym.strip().upper() # Remove leading/trailing whitespace and convert to uppercase
if acronym in knowledge_base:
response = f"Answer: {knowledge_base[acronym]}"
else:
response = "Not found in the BATCCAPEDIA"
return response
# Create the Gradio interface
iface = gr.Interface(
fn=chatbot_interface,
inputs="text",
outputs="text",
css="footer{display:none !important}",
title="BATB Acronym Finder",
description="Dictionary of Abbreviations & Acronyms",
theme='default'
)
# Launch the interface
iface.launch() |