Skip to content

Instantly share code, notes, and snippets.

@austenstrine
Last active February 10, 2022 19:31
Show Gist options
  • Save austenstrine/77d649236e09c03d580a8f5af3bca6d3 to your computer and use it in GitHub Desktop.
Save austenstrine/77d649236e09c03d580a8f5af3bca6d3 to your computer and use it in GitHub Desktop.
Synonym map for mass import tool
<?php
$synonym_map = [
//CAD
'cad' => 'CAD',
//Clean and Care
'clean and care' => 'Clean and Care',
//Cut-out Template
'cut out template' => 'Cut-out Template',
//Spec Sheet
'spec' => 'Spec Sheet',
'specs' => 'Spec Sheet',
'specs sheet' => 'Spec Sheet',
'specification' => 'Spec Sheet',
'specifications' => 'Spec Sheet',
'spec sheet' => 'Spec Sheet',
'specs sheet' => 'Spec Sheet',
'spec sheets' => 'Spec Sheet',
'specs sheets' => 'Spec Sheet',
'specification sheet' => 'Spec Sheet',
'specifications sheet' => 'Spec Sheet',
'specification sheets' => 'Spec Sheet',
'specifications sheets' => 'Spec Sheet',
//Instruction Manual
'instruction' => 'Instruction Manual',
'instructions' => 'Instruction Manual',
'instruction manual' => 'Instruction Manual',
'instructions manual' => 'Instruction Manual',
'operation' => 'Instruction Manual',
'operations' => 'Instruction Manual',
'operation manual' => 'Instruction Manual',
'operation manuals' => 'Instruction Manual',
'operations manual' => 'Instruction Manual',
'operations manuals' => 'Instruction Manual',
//Installation Manual
'installation' => 'Installation Manual',
'installation manual' => 'Installation Manual',
'install' => 'Installation Manual',
'install manual' => 'Installation Manual',
'installation manual - english' => 'Installation Manual - English',
'installation manual - spanish' => 'Installation Manual - Spanish',
'installation manual - french' => 'Installation Manual - French',
//Parts List
'parts' => 'Parts List',
'parts list' => 'Parts List',
'parts breakdown' => 'Parts List',
'repair parts' => 'Parts List',
//Tech Sheet
'tech sheet' => 'Tech Sheet',
'tech sheets' => 'Tech Sheet',
'technical sheet' => 'Tech Sheet',
'technical sheets' => 'Tech Sheet',
'tech list' => 'Tech Sheet',
'technical list' => 'Tech Sheet',
'technical documents' => 'Tech Sheet',
'tech documents' => 'Tech Sheet',
'technical document' => 'Tech Sheet',
'tech document' => 'Tech Sheet',
'tech data' => 'Tech Sheet',
'technical data' => 'Tech Sheet',
//MSDS
'msds' => 'MSDS',
'msds sheet' => 'MSDS',
'msds sheets' => 'MSDS',
'data sheet' => 'MSDS',
'data sheets' => 'MSDS',
'safety sheet' => 'MSDS',
'safety sheets' => 'MSDS',
'safety data' => 'MSDS',
'safety data sheets' => 'MSDS',
//Sales Brochure
'sales brochure' => 'Sales Brochure',
//Submittal Sheet
'submittal sheet' => 'Submittal Sheet',
//Warranty
'warranty' => 'Warranty',
//Animation
'animation' => 'Animation'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment