All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.nlp.io.PrintFile Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

There is a newer version: 3.9.2
Show newest version
/**
 * Title:        StanfordMaxEnt

* Description: A Maximum Entropy Toolkit

* Copyright: Copyright (c) Bruce Eckel

* Company: Stanford University

* @author Bruce Eckel * @version 1.0 */ package edu.stanford.nlp.io; import java.io.*; /** * Shorthand class for opening an output file for human-readable output. * com:bruceeckel:tools:PrintFile.java */ public class PrintFile extends PrintStream { public PrintFile(String filename) throws IOException { super(new BufferedOutputStream(new FileOutputStream(filename))); } public PrintFile(File file) throws IOException { this(file.getPath()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy