-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmath-solver.cabal
More file actions
45 lines (43 loc) · 2.36 KB
/
math-solver.cabal
File metadata and controls
45 lines (43 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: math-solver
version: 0.2.0
synopsis: Eventually, this project will solve basic arithmetic word problems.
description: The goal of the project is to be able to parse, solve, and answer (in natural language) basic math word problems. The program will be given a math problem in paragraph form that involves addition and subtraction. We might add more operations later. The system then parses the question it’s asked to solve to determine the problem type and what information is needed. The system will then preprocess the problem into a problem that is easier to parse directly, and it’ll remove all irrelevant data. Next, the system will parse the rest of the problem into a list of events. After parsing, each event’s action will be converted to its category. The events will then be evaluated, and the system will keep track of the state throughout the evaluation process. Then, the question will be applied to the final state to calculate an answer. Finally, the answer will be translated back into a natural language response.
homepage: https://github.com/brainfrz/math-solver#readme
license: BSD3
license-file: LICENSE
author: Terry Weiss
maintainer: ttweiss@syr.edu
copyright: 2017 Terry Weiss
category: Math, Natural Language Processing, Parsing
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
library
hs-source-dirs: src
exposed-modules: MathSolver.Calc.Solver,
MathSolver.NLP.Combinators,
MathSolver.NLP.Parser,
MathSolver.NLP.WordNum,
MathSolver.Types
build-depends: base
, chatter
, containers
, parsec
, split
, text
, cereal
, QuickCheck (>=2.1 && <2.10)
, stemmer
default-language: Haskell2010
executable math-solver
main-is: Main.hs
hs-source-dirs: src
build-depends: base
, chatter
, containers
, parsec
, split
, text
, cereal
, QuickCheck (>=2.1 && <2.10)
, stemmer