Index: app/src/kor/common_cor.cc
===================================================================
--- app/src/kor/common_cor.cc	(revision b3179eb76e65f846cde4eec832f307990dacf31c)
+++ app/src/kor/common_cor.cc	(revision 40358d23e569b2d0d4697a192451fff347a48e96)
@@ -16,4 +16,9 @@
     {
       expand_path(args->dictionary_arg,dictionary);
+      if(file_accessible(dictionary)!=0)
+	{
+	  fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary);
+	  exit(1);
+	}
     }
   else if (args->dictionary_home_given && args->language_given)
@@ -22,4 +27,9 @@
       expand_path(args->dictionary_home_arg, buf);
       sprintf(dictionary,"%s/%s/cor.bin",buf,args->language_arg);
+      if(file_accessible(dictionary)!=0)
+	{
+	  fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary);
+	  exit(1);
+	}
     }
   
