<s>
MegaHAL	B-Protocol
is	O
a	O
computer	O
conversation	O
simulator	O
,	O
or	O
"	O
chatterbot	B-Protocol
"	O
,	O
created	O
by	O
Jason	O
Hutchens	O
.	O
</s>
<s>
In	O
1996	O
,	O
Jason	O
Hutchens	O
entered	O
the	O
Loebner	O
Prize	O
Contest	O
with	O
,	O
a	O
chatterbot	B-Protocol
based	O
on	O
ELIZA	B-Application
.	O
</s>
<s>
In	O
1998	O
,	O
Hutchens	O
again	O
entered	O
the	O
Loebner	O
Prize	O
Contest	O
with	O
his	O
new	O
program	O
,	O
MegaHAL	B-Protocol
.	O
</s>
<s>
MegaHAL	B-Protocol
made	O
its	O
debut	O
in	O
the	O
1998	O
Loebner	O
Prize	O
Contest	O
.	O
</s>
<s>
Like	O
many	O
chatterbots	B-Protocol
,	O
the	O
intent	O
is	O
for	O
MegaHAL	B-Protocol
to	O
appear	O
as	O
a	O
human	O
fluent	O
in	O
a	O
natural	O
language	O
.	O
</s>
<s>
As	O
a	O
user	O
types	O
sentences	O
into	O
MegaHAL	B-Protocol
,	O
MegaHAL	B-Protocol
will	O
respond	O
with	O
sentences	O
that	O
are	O
sometimes	O
coherent	O
and	O
at	O
other	O
times	O
complete	O
gibberish	O
.	O
</s>
<s>
MegaHAL	B-Protocol
learns	O
as	O
the	O
conversation	O
progresses	O
,	O
remembering	O
new	O
words	O
and	O
sentence	O
structures	O
.	O
</s>
<s>
Many	O
would	O
consider	O
conversation	O
simulators	O
like	O
MegaHAL	B-Protocol
to	O
be	O
a	O
primitive	O
form	O
of	O
artificial	B-Application
intelligence	I-Application
.	I-Application
</s>
<s>
However	O
,	O
MegaHAL	B-Protocol
does	O
n't	O
understand	O
the	O
conversation	O
or	O
even	O
the	O
sentence	O
structure	O
.	O
</s>
<s>
In	O
the	O
world	O
of	O
conversation	O
simulators	O
,	O
MegaHAL	B-Protocol
is	O
based	O
on	O
relatively	O
old	O
technology	O
and	O
could	O
be	O
considered	O
primitive	O
.	O
</s>
<s>
MegaHal	B-Protocol
is	O
based	O
at	O
least	O
in	O
part	O
on	O
a	O
so-called	O
"	O
hidden	O
Markov	O
Model	O
"	O
,	O
so	O
that	O
the	O
first	O
thing	O
that	O
Megahal	B-Protocol
does	O
when	O
it	O
"	O
trains	O
"	O
on	O
a	O
script	O
or	O
text	O
is	O
to	O
build	O
a	O
database	O
of	O
text	O
fragments	O
encompassing	O
every	O
possible	O
subset	O
of	O
perhaps	O
4	O
,	O
5	O
,	O
or	O
even	O
6	O
consecutive	O
words	O
,	O
so	O
that	O
for	O
example	O
-	O
if	O
MegaHal	B-Protocol
trains	O
on	O
the	O
Declaration	O
of	O
Independence	O
,	O
then	O
MegaHal	B-Protocol
will	O
build	O
a	O
database	O
containing	O
text	O
fragments	O
such	O
as	O
"	O
When	O
in	O
the	O
course	O
"	O
,	O
"	O
in	O
the	O
course	O
of	O
"	O
,	O
"	O
the	O
course	O
of	O
human	O
"	O
,	O
"	O
course	O
of	O
human	O
events	O
"	O
,	O
"	O
of	O
human	O
events	O
,	O
one	O
"	O
,	O
"	O
human	O
events	O
,	O
one	O
people	O
"	O
,	O
and	O
so	O
on	O
.	O
</s>
<s>
Then	O
if	O
Megahal	B-Protocol
is	O
fed	O
another	O
text	O
,	O
such	O
has	O
"	O
Superman	O
,	O
Yes	O
!	O
</s>
<s>
It	O
's	O
Superman	O
-	O
he	O
can	O
change	O
the	O
course	O
of	O
mighty	O
rivers	O
,	O
bend	O
steel	O
with	O
his	O
bare	O
hands	O
-	O
and	O
who	O
disguised	O
at	O
Clark	O
Kent	O
…	O
"	O
IT	O
MIGHT	O
induce	O
Megahal	B-Protocol
to	O
apparently	O
bemuse	O
itself	O
to	O
proffer	O
whether	O
Superman	O
can	O
change	O
the	O
course	O
of	O
human	O
events	O
,	O
or	O
something	O
else	O
altogether	O
-	O
such	O
as	O
some	O
rambling	O
about	O
"	O
when	O
in	O
the	O
course	O
of	O
mighty	O
rivers	O
"	O
,	O
and	O
so	O
on	O
.	O
</s>
<s>
Thus	O
likewise	O
-	O
if	O
a	O
phrase	O
like	O
"	O
the	O
White	O
house	O
said	O
"	O
comes	O
up	O
a	O
lot	O
in	O
some	O
text	O
;	O
then	O
Megahal	B-Protocol
's	O
ability	O
to	O
switch	O
randomly	O
between	O
different	O
contexts	O
which	O
otherwise	O
share	O
some	O
similarity	O
can	O
result	O
at	O
times	O
in	O
some	O
surprising	O
lucidity	O
,	O
or	O
else	O
it	O
might	O
otherwise	O
seem	O
quite	O
bizarre	O
.	O
</s>
<s>
There	O
are	O
some	O
sentences	O
that	O
MegaHAL	B-Protocol
generated	O
:	O
</s>
<s>
MegaHAL	B-Protocol
is	O
distributed	O
under	O
the	O
GNU	B-License
General	I-License
Public	I-License
License	I-License
(	O
GPL	B-License
)	O
.	O
</s>
