You really don't need to do that hassle. Most of these things are available unless you would like to create a special synonyms subset.
Otherwise everything is available here - Synonym database
You would need to create your own index as David suggest and make use of synonym analyzer rather than standard analyzer.
Thanks,
Chetan