![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.util.Option 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.util;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Option {
String name() default "";
String gloss() default "";
boolean required() default false;
// Conditionally required option, e.g.
// - "main.operation": required only when main.operation specified
// - "main.operation=op1": required only when main.operation takes on value op1
// - "operation=op1": the group of the option is used
String condReq() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy