Question: I have a text file which contains several spelling variants of many words:

For e.g.

```
identification ... ID .. identity...contract.... contr.... contractor...medicine...pills..tables

```

So I want to have a synonym text file which contains the words synonyms and would like to replace all the variants with the primary word. Essentially I want the normalize the input file.

For e.g my synonym list file would look like

```
identification = ID identify
contracting = contract contractor contractors contra...... 
word3 = word3_1 word3_2 word3_3 ..... word3_n
.
.
.
.
medicine = pills tables drugs...

```

I want the end output file to look like

```
identification ... identification .. identification...contractor.... contractor.... contractor...medicine...medicine..medicine

```

How do I got about programming in python?

Thanks a lot for your help!!!

Answer: 
Was able to mess around with the style wizard [here](http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html) to determine you want to use the landscape feature like this: 

```
[ 
  { 
    featureType: "landscape", 
    elementType: "geometry", 
    stylers: [ 
      { hue: "#ff2200" }, 
      { saturation: 85 }, 
      { lightness: -42 } 
    ] 
  } 
]

```

[Sample using that style.](http://maps.googleapis.com/maps/api/staticmap?center=0,0&zoom=3&format=png&sensor=false&size=640x480&maptype=roadmap&style=feature:landscape%7Celement:geometry%7Chue:0xff2200%7Csaturation:85%7Clightness:-42)
You can use <http://googlemapscolorizr.stadtwerk.org/> to test the map. It also Calculates the saturation and lightness to display the correct Hex color.