/// <summary>
 /// Create a hyphenator tree
 /// </summary>
 /// <param name="hyphenationFile"> the file of the XML grammar to load </param>
 /// <returns> An object representing the hyphenation patterns </returns>
 /// <exception cref="IOException"> If there is a low-level I/O error. </exception>
 public static HyphenationTree GetHyphenationTree(File hyphenationFile)
 {
     return getHyphenationTree(new InputSource(hyphenationFile.ToURI().toASCIIString()));
 }