added a tag mapping for foreigh words
small modification in the main method for testing