Hi Febin,
Rather than editing the allCountries.txt file directly, we recommend adding records to the src/main/resources/SupplementaryGazetteer.txt file instead. The reason is that you will want to download an updated allCountries.txt file from GeoNames.org periodically to get the latest geographic information, and you don't want to have to remember to edit the new allCountries.txt file each time you take an update.
Also, any records that you add will need to be in the same GeoNames.org format used in the existing allCountries.txt or SupplementaryGazetteer.txt files. More info on the GeoNames.org format can be found here:
http://download.geonames.org/export/dump/
That being said, you will need to rebuild the CLAVIN index each time you modify the allCountries.txt or SupplementaryGazetteer.txt files. This is Step 6 in
the README file. Please note that you should delete (or archive) the existing IndexDirectory before building a new one.
If that still doesn't work, send me the new records you're trying to add, along with the sentences you're trying to geotag, and I'll take a look at what's going on.
- Charlie