PHP Classes
elePHPant
Icontem

File: mappings/dekern.php

Recommend this page to a friend!
  Classes of Jill Lingoff  >  Sweeper  >  mappings/dekern.php  >  Download  
File: mappings/dekern.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Sweeper
Clean HTML to remove unwanted tags and attributes
Author: By
Last change:
Date: 1 year ago
Size: 583 bytes
 

 

Contents

Class file image Download
<?php

// we must consider amending this due to the fact that spaces are often inserted after the kerned characters
// so that maybe we should refer to a dictionary.

$dekernArray = array(
'&#306;' => 'IJ',
'&#307;' => 'ij',
'&#455;' => 'LJ',
'&#456;' => 'Lj',
'&#457;' => 'lj',
'&#458;' => 'NJ',
'&#459;' => 'Nj',
'&#460;' => 'nj',
'&#497;' => 'DJ',
'&#498;' => 'Dz',
'&#499;' => 'dz',
'&#678;' => 'ts',

//'&#63167;' => '---&#63167;---',
//'&#63168;' => '---&#63168;---',

'&#64256;' => 'ff',
'&#64257;' => 'fi',
'&#64258;' => 'fl',
'&#64259;' => 'ffi',
'&#64260;' => 'ffl',
);

?>