D
D
Denis Bondarenko2015-05-05 11:46:21
Programming
Denis Bondarenko, 2015-05-05 11:46:21

Algorithms for processing text information, what to read?

I decided to write my first bicycle in Python - a stubby analogue of Wolfram Alpha. The initial range of tasks - simple arithmetic calculations, the calculation of the root, the degree of a number, possibly a system of linear equations, but then develop. A text string is given as input to the program, processed using regular expressions, and depending on its syntax, the result is returned.
The question is that the program could process an incorrectly entered string and either select the appropriate option automatically, or give out a list of options ("Perhaps you meant ..."). As far as I understand, such an algorithm is similar to the Internet search algorithm (correct me if I misunderstood).
Where can you find information on this subject?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2015-05-05
@xmoonlight

Reverse Polish Calculator: here

R
Roman Mirilaczvili, 2015-05-05
@2ord

If I understand the question correctly, this topic is called Symbolic Computing . The topic is broad. Enough work for a long time.
In addition to parsing formulas, you will need to perform symbolic calculations.
Literature I can not advise, but links - please:
Algorithm for simplifying mathematical expressions
Symbolic calculations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question