Wolfram Computation Meets Knowledge

The Wolfram Language:
Fast Introduction for Programmers

Show additional notes for:
All sections 
Get Started

Natural Language Input

Type = at the beginning of a line to specify natural language input:

In[1]:=1
picture of a wolf
Out[1]=1

Notes for Java programmers:

Built-in natural-language input is unique to the Wolfram Language, and nothing similar is available in Java.

Notes for Python programmers:

Built-in natural language input is completely unique to the Wolfram Language. While some natural language input processing can be done in Python with third-party libraries, natural language is deeply integrated into the Wolfram Language and can be flexibly and seamlessly combined with code.

Quite often you can generate code just from natural language:

In[2]:=2
plot a sine curve
Out[2]=2

Use == to get a full Wolfram|Alpha report:

In[1]:=1
earthquakes in the US in the last year
Out[1]=1

Notes for Python programmers:

With the Wolfram Language, you can get complete access to the knowledgebase that powers Wolfram|Alpha, including reports with dynamically computed results from a variety of primary sources in pre-formatted pods.


© 2018 Wolfram. All rights reserved.