![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.PCFGLA.DumpGrammar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
/**
*
*/
package edu.berkeley.nlp.PCFGLA;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Writer;
import edu.berkeley.nlp.util.Numberer;
/**
* @author petrov
*
*/
public class DumpGrammar {
/**
* @param args
*/
public static void main(String[] args) {
if (args.length<2) {
System.out.println(
"usage: java -cp berkeleyParser.jar edu/berkeley/nlp/parser/DumpGrammar
© 2015 - 2025 Weber Informatics LLC | Privacy Policy