package repl
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
DSLBRule
(rule: BinaryRule[String], weight: Double) extends DSLGrammarPart with Product with Serializable
You won't use this directly.
-
sealed
trait
DSLGrammarPart
extends AnyRef
objects part of the dsl to create grammars nicely.
objects part of the dsl to create grammars nicely. You won't create these directly.
-
case class
DSLLex
(sym: String, word: String, weight: Double) extends DSLGrammarPart with Product with Serializable
You won't use this directly.
-
case class
DSLURule
(rule: UnaryRule[String], weight: Double) extends DSLGrammarPart with Product with Serializable
You won't use this directly.
-
class
ReplGrammar
extends AnyRef
This class just provides some objects I commonly want on the REPL.
Value Members
-
object
DSLGrammar
A DSL Grammar allows us to define simple weighted PCFG's quickly.
A DSL Grammar allows us to define simple weighted PCFG's quickly. Useful for testing. See definition of simpleGrammar for an example.
-
object
DSLGrammarPart
contains implicits to create dsl grammars.
contains implicits to create dsl grammars. You won't use this directly.