Skip to content

neelamgehlot/MWP

Repository files navigation

Mathematical Word Problem Solver

Hindi mathematical word problem solver

Translator:

  1. Uses Google's Translate API.
  2. Manually here: http://www.lexilogos.com/keyboard/devanagari.htm

POS Tagging:

http://www.coli.uni-saarland.de/~thorsten/tnt/

Creating Containers:

Containers will have : Entity, Attribute, Verb, Quantity(Equation)

We have following Python files(Each representing a different object):

  1. Question.py
  2. Containers.py
  3. Equation.py
  4. makeVerbDict.py
  5. MWP.py

Example:

राम के पास १० सेब है। उसने श्याम को ५ सेब दिये। अब राम के पास ७ सेब है। तो श्याम के पास पेह्ले कितने सेब थे।
Ram has 10 apples. He gave 5 apples to Shyam. Ram now has 7 apples. So how many apples does Shyam initially had?

Container1
Name : राम
Entity : सेब
Attribute :
Quantity:10

Name : राम
Entity : सेब
Attribute :
Quantity:10 - 5

Name : राम
Entity : सेब
Attribute :
Quantity:7

Container2
Name :
Entity :
Attribute :
Quantity:

Name : श्याम
Entity :
Attribute :
Quantity:J + 5

Name : श्याम
Entity :
Attribute :
Quantity:7

Equation is :
J + 5 = 7
The final result is: 2.0

About

Hindi mathematical word problem solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published