title: c# using tesseract language
body: <p>I'm trying to use downloaded custom language for the google's Tesseract OCR engine, it has the following files but no traineddata file, please see my code below which gives me an error only when I try to use the new language, can someone help.</p>
  
  <p>files:<br>
  cp27.DangAmbigs<br>
  cp27.freq-dawg<br>
  cp27.inttemp<br>
  cp27.normproto<br>
  cp27.pffmtablecp<br>
  cp27.unicharset<br>
  cp27.user-words<br>
  cp27.word-dawg<br>
  <br>
  <br></p>
  
  <p>Download Link: <a href="http://www.sendspace.com/file/gd7j4i" rel="nofollow">http://www.sendspace.com/file/gd7j4i</a><br><br>
  error message: Failed to initialise tesseract engine<br><br><br></p>
  
  <pre><code>Pix test = PixConverter.ToPix(image);
  
  try
  {
      using (var engine = new TesseractEngine(@"tessdata", @"cp27", EngineMode.Default))
      {
          engine.SetVariable("tessedit_char_whitelist", charset);
  
          using (var page = engine.Process(test))
          {
              return(page.GetText());
          }
      }
  }
  catch { }
  </code></pre>