static Map<String, Tree> readTrees(String[] filenames)
throws IOException
{
// TODO: perhaps we can just pass in CC_TAGSET and get rid of replacePOSTags
// need to test that
final TreeReaderFactory trf = new FrenchXMLTreeReaderFactory(false);
Map<String, Tree> treeMap = Generics.newHashMap();
for (String filename : filenames) {
File file = new File(filename);
String canonicalFilename =
file.getName().substring(0, file.getName().lastIndexOf('.'));
FrenchXMLTreeReader tr = (FrenchXMLTreeReader)
trf.newTreeReader(new BufferedReader
(new InputStreamReader
(new FileInputStream(file),"ISO8859_1")));
Tree t = null;
int numTrees;