|
|
|
|
|
|
| Synopsis |
|
| data Params = Prms {} | | | | | | | type Instruction = (FilePath, Maybe [String]) | | | data Flag | | | data BatchDirFlg = BatchDirFlg FilePath | | | data DetectPolaritiesFlg = DetectPolaritiesFlg (Set PolarityAttr) | | | data DisableGuiFlg = DisableGuiFlg () | | | data DumpDerivationFlg = DumpDerivationFlg () | | | data EarlyDeathFlg = EarlyDeathFlg () | | | data ExtraPolaritiesFlg = ExtraPolaritiesFlg (Map PolarityKey Interval) | | | data FromStdinFlg = FromStdinFlg () | | | data HelpFlg = HelpFlg () | | | data InstructionsFileFlg = InstructionsFileFlg FilePath | | | data LexiconFlg = LexiconFlg FilePath | | | data MacrosFlg = MacrosFlg FilePath | | | data MetricsFlg = MetricsFlg [String] | | | data MorphCmdFlg = MorphCmdFlg String | | | data MorphInfoFlg = MorphInfoFlg FilePath | | | data NoLoadTestSuiteFlg = NoLoadTestSuiteFlg () | | | data OptimisationsFlg = OptimisationsFlg [Optimisation] | | | data OutputFileFlg = OutputFileFlg String | | | data PartialFlg = PartialFlg () | | | data RankingConstraintsFlg = RankingConstraintsFlg FilePath | | | data RegressionTestModeFlg = RegressionTestModeFlg () | | | data RootFeatureFlg = RootFeatureFlg Flist | | | data RunUnitTestFlg = RunUnitTestFlg () | | | data StatsFileFlg = StatsFileFlg FilePath | | | data TestCaseFlg = TestCaseFlg String | | | data TestInstructionsFlg = TestInstructionsFlg [Instruction] | | | data TestSuiteFlg = TestSuiteFlg FilePath | | | data TimeoutFlg = TimeoutFlg Integer | | | data TracesFlg = TracesFlg FilePath | | | data VerboseModeFlg = VerboseModeFlg () | | | data VersionFlg = VersionFlg () | | | data ViewCmdFlg = ViewCmdFlg String | | | mainBuilderTypes :: [BuilderType] | | | getFlagP :: (Show f, Show x, Typeable f, Typeable x) => (x -> f) -> Params -> Maybe x | | | getListFlagP :: (Show f, Show x, Typeable f, Typeable x) => ([x] -> f) -> Params -> [x] | | | setFlagP :: (Eq f, Show f, Show x, Typeable f, Typeable x) => (x -> f) -> x -> Params -> Params | | | hasFlagP :: (Typeable f, Typeable x) => (x -> f) -> Params -> Bool | | | deleteFlagP :: (Typeable f, Typeable x) => (x -> f) -> Params -> Params | | | hasOpt :: Optimisation -> Params -> Bool | | | getFlag :: (Show f, Show x, Typeable f, Typeable x) => (x -> f) -> [Flag] -> Maybe x | | | setFlag :: (Eq f, Show f, Show x, Typeable f, Typeable x) => (x -> f) -> x -> [Flag] -> [Flag] | | | hasFlag :: (Typeable f, Typeable x) => (x -> f) -> [Flag] -> Bool | | | | | emptyParams :: Params | | | defineParams :: [Flag] -> Params -> Params | | | treatArgs :: [OptDescr Flag] -> [String] -> IO Params | | | treatArgsWithParams :: [OptDescr Flag] -> [String] -> Params -> IO Params | | | usage :: [OptSection] -> String -> String | | | basicSections :: [OptSection] | | | optionsSections :: [OptSection] | | | processInstructions :: Params -> IO Params | | | optionsForStandardGenI :: [OptDescr Flag] | | | optionsForBasicStuff :: [OptDescr Flag] | | | optionsForOptimisation :: [OptDescr Flag] | | | optionsForMorphology :: [OptDescr Flag] | | | optionsForInputFiles :: [OptDescr Flag] | | | optionsForBuilder :: [OptDescr Flag] | | | optionsForTesting :: [OptDescr Flag] | | | nubBySwitches :: [OptDescr a] -> [OptDescr a] | | | noArg :: forall f. (Eq f, Show f, Typeable f) => (() -> f) -> ArgDescr Flag | | | reqArg :: forall f x. (Eq f, Show f, Typeable f, Eq x, Show x, Typeable x) => (x -> f) -> (String -> x) -> String -> ArgDescr Flag | | | optArg :: forall f x. (Eq f, Show f, Typeable f, Eq x, Show x, Typeable x) => (x -> f) -> x -> (String -> x) -> String -> ArgDescr Flag | | | parseFlagWithParsec :: String -> CharParser () b -> String -> b | | | module System.Console.GetOpt | | | class Typeable a |
|
|
| Documentation |
|
|
| Holds the specification for how Geni should be run, its input
files, etc. This is the stuff that would normally be found in
the configuration file.
| | Constructors | | Instances | |
|
|
|
| Constructors | | GeniHand | geni's text format
| | PreCompiled | built into geni, no parsing needed
| | PreAnchored | lexical selection already done
|
| Instances | |
|
|
|
| Constructors | | NullBuilder | | | SimpleBuilder | | | SimpleOnePhaseBuilder | |
| Instances | |
|
|
|
|
|
Instances | |
|
|
| flags
|
|
|
| Constructors | | Instances | |
|
|
| data DetectPolaritiesFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
| data ExtraPolaritiesFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
| data InstructionsFileFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
| data NoLoadTestSuiteFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
| data RankingConstraintsFlg | Source |
|
| Constructors | | Instances | |
|
|
| data RegressionTestModeFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
| data TestInstructionsFlg | Source |
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Constructors | | PolOpts | | | AdjOpts | | | Polarised | | | NoConstraints | | | SemFiltered | | | Iaf | one phase only!
| | EarlyNa | |
| Instances | |
|
|
|
| The default parameters configuration
|
|
|
|
|
|
|
|
|
| :: [OptSection] | options
| | -> String | prog name
| | -> String | | | Print out a GenI-style usage message with options divided into sections
|
|
|
| basicSections :: [OptSection] | Source |
|
|
| optionsSections :: [OptSection] | Source |
|
|
|
| Update the internal instructions list, test suite and case
according to the contents of an instructions file.
|
|
|
| Uses the GetOpt library to process the command line arguments.
Note that we divide them into basic and advanced usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| module System.Console.GetOpt |
|
|
| The class Typeable allows a concrete representation of a type to
be calculated.
| | Instances | |
|
|
| Produced by Haddock version 2.6.0 |