<s>
Natural-language	B-General_Concept
programming	I-General_Concept
(	O
NLP	B-Language
)	O
is	O
an	O
ontology-assisted	O
way	O
of	O
programming	O
in	O
terms	O
of	O
natural-language	O
sentences	O
,	O
e.g.	O
</s>
<s>
A	O
structured	O
document	O
with	O
Content	O
,	O
sections	O
and	O
subsections	O
for	O
explanations	O
of	O
sentences	O
forms	O
a	O
NLP	B-Language
document	O
,	O
which	O
is	O
actually	O
a	O
computer	B-Application
program	I-Application
.	O
</s>
<s>
Natural	B-General_Concept
language	I-General_Concept
programming	I-General_Concept
is	O
not	O
to	O
be	O
mixed	O
up	O
with	O
natural	O
language	O
interfacing	O
or	O
voice	O
control	O
where	O
a	O
program	O
is	O
first	O
written	O
and	O
then	O
communicated	O
with	O
through	O
natural	O
language	O
using	O
an	O
interface	O
added	O
on	O
.	O
</s>
<s>
In	O
NLP	B-Language
the	O
functionality	O
of	O
a	O
program	O
is	O
organised	O
only	O
for	O
the	O
definition	O
of	O
the	O
meaning	O
of	O
sentences	O
.	O
</s>
<s>
For	O
instance	O
,	O
NLP	B-Language
can	O
be	O
used	O
to	O
represent	O
all	O
the	O
knowledge	O
of	O
an	O
autonomous	O
robot	O
.	O
</s>
<s>
Natural	O
language	O
use	O
and	O
natural-language	B-General_Concept
user	I-General_Concept
interfaces	I-General_Concept
include	O
Inform	O
7	O
,	O
a	O
natural	O
programming	O
language	O
for	O
making	O
interactive	O
fiction	O
,	O
Shakespeare	B-Language
,	O
an	O
esoteric	O
natural	O
programming	O
language	O
in	O
the	O
style	O
of	O
the	O
plays	O
of	O
William	O
Shakespeare	B-Language
,	O
and	O
Wolfram	B-Application
Alpha	I-Application
,	O
a	O
computational	O
knowledge	O
engine	O
,	O
using	O
natural-language	O
input	O
.	O
</s>
<s>
Some	O
methods	O
for	O
program	B-Application
synthesis	I-Application
are	O
based	O
on	O
natural-language	B-General_Concept
programming	I-General_Concept
.	O
</s>
<s>
The	O
smallest	O
unit	O
of	O
statement	O
in	O
NLP	B-Language
is	O
a	O
sentence	O
.	O
</s>
<s>
In	O
an	O
NLP	B-Language
text	O
every	O
sentence	O
unambiguously	O
compiles	B-Language
into	O
a	O
procedure	O
call	O
in	O
the	O
underlying	O
high-level	B-Language
programming	I-Language
language	I-Language
such	O
as	O
MATLAB	B-Language
,	O
Octave	B-Language
,	O
SciLab	B-Application
,	O
Python	B-Language
,	O
etc	O
.	O
</s>
<s>
Symbolic	O
languages	O
such	O
as	O
Wolfram	B-Language
Language	I-Language
are	O
capable	O
of	O
interpreted	B-Application
processing	O
of	O
queries	O
by	O
sentences	O
.	O
</s>
<s>
This	O
can	O
allow	O
interactive	O
requests	O
such	O
as	O
that	O
implemented	O
in	O
Wolfram	B-Application
Alpha	I-Application
.	O
</s>
<s>
The	O
difference	O
between	O
these	O
and	O
NLP	B-Language
is	O
that	O
the	O
latter	O
builds	O
up	O
a	O
single	O
program	O
or	O
a	O
library	O
of	O
routines	O
that	O
are	O
programmed	O
through	O
natural	O
language	O
sentences	O
using	O
an	O
ontology	O
that	O
defines	O
the	O
available	O
data	O
structures	O
in	O
a	O
high	B-Language
level	I-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
Natural-language	B-General_Concept
programming	I-General_Concept
is	O
a	O
top-down	O
method	O
of	O
writing	O
software	O
.	O
</s>
<s>
This	O
ontology	O
will	O
define	O
the	O
data	O
structures	O
the	O
NLP	B-Language
can	O
use	O
in	O
sentences	O
.	O
</s>
<s>
where	O
...	O
stands	O
for	O
a	O
code	O
in	O
terms	O
of	O
the	O
associated	O
high-level	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
During	O
this	O
process	O
each	O
of	O
sentences	O
can	O
be	O
classified	O
to	O
belong	O
to	O
a	O
section	O
of	O
the	O
document	O
to	O
be	O
produced	O
in	O
HTML	B-Language
or	O
Latex	B-Application
format	O
to	O
form	O
the	O
final	O
natural-language	O
program	O
.	O
</s>
<s>
Providing	O
a	O
library	O
of	O
procedure	O
calls	O
(	O
in	O
the	O
underlying	O
high-level	B-Language
language	I-Language
)	O
which	O
are	O
needed	O
in	O
the	O
code	O
definitions	O
of	O
some	O
low-level-sentence	O
meanings	O
.	O
</s>
<s>
Providing	O
a	O
title	O
,	O
author	O
data	O
and	O
compiling	B-Language
the	O
sentences	O
into	O
an	O
HTML	B-Language
or	O
LaTeX	B-Application
file	O
.	O
</s>
<s>
Publishing	O
the	O
natural-language	O
program	O
as	O
a	O
webpage	O
on	O
the	O
Internet	O
or	O
as	O
a	O
PDF	B-Application
file	I-Application
compiled	B-Language
from	O
the	O
LaTeX	B-Application
document	O
.	O
</s>
<s>
For	O
example	O
,	O
a	O
web	O
page	O
in	O
an	O
NLP	B-Language
format	O
can	O
be	O
read	O
by	O
a	O
software	O
personal	O
assistant	O
agent	O
to	O
a	O
person	O
and	O
she	O
or	O
he	O
can	O
ask	O
the	O
agent	O
to	O
execute	O
some	O
sentences	O
,	O
i.e.	O
</s>
<s>
There	O
is	O
a	O
reader	O
agent	O
available	O
for	O
English	O
interpretation	O
of	O
HTML	B-Language
based	O
NLP	B-Language
documents	O
that	O
a	O
person	O
can	O
run	O
on	O
her	O
personal	B-Device
computer	I-Device
.	O
</s>
<s>
Concepts	O
in	O
an	O
NLP	B-Language
are	O
examples	O
(	O
samples	O
)	O
of	O
generic	O
human	O
concepts	O
.	O
</s>
<s>
A	O
set	O
of	O
NLP	B-Language
sentences	O
,	O
with	O
associated	O
ontology	O
defined	O
,	O
can	O
also	O
be	O
used	O
as	O
a	O
pseudo	B-Language
code	I-Language
that	O
does	O
not	O
provide	O
the	O
details	O
in	O
any	O
underlying	O
high	B-Language
level	I-Language
programming	I-Language
language	I-Language
.	O
</s>
