Back to index

texmacs  1.0.7.15
hyphenate.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : hyphenate.hpp
00004 * DESCRIPTION: hyphenation by Liang's algorithm
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef HYPHENATE_H
00013 #define HYPHENATE_H
00014 #include "language.hpp"
00015 
00016 void load_hyphen_tables (string language_name,
00017                          hashmap<string,string>& patterns,
00018                          hashmap<string,string>& hyphenations);
00019 array<int> get_hyphens (string s,
00020                         hashmap<string,string> patterns,
00021                         hashmap<string,string> hyphenations);
00022 void std_hyphenate (string s, int after, string& left, string& right, int pen);
00023 
00024 #endif // defined HYPHENATE_H