<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Nlpsolver_README</id>
	<title>Nlpsolver README - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Nlpsolver_README"/>
	<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Nlpsolver_README&amp;action=history"/>
	<updated>2026-11-04T23:49:27Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Nlpsolver_README&amp;diff=19805&amp;oldid=prev</id>
		<title>Tammet: Uus lehekülg: &#039;&lt;pre&gt; README for nlpsolver ====================  Nlpsolver is a tool for answering questions posed in natural language.    The current version (4. May 2022) is in active developm...&#039;</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Nlpsolver_README&amp;diff=19805&amp;oldid=prev"/>
		<updated>2022-05-04T12:01:37Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;&amp;lt;pre&amp;gt; README for nlpsolver ====================  Nlpsolver is a tool for answering questions posed in natural language.    The current version (4. May 2022) is in active developm...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
README for nlpsolver&lt;br /&gt;
====================&lt;br /&gt;
&lt;br /&gt;
Nlpsolver is a tool for answering questions posed in natural language.&lt;br /&gt;
  &lt;br /&gt;
The current version (4. May 2022) is in active development: &lt;br /&gt;
there are numerous bugs, unfinished functionalities and functionalities &lt;br /&gt;
planned to be built.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Examples&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
It can already handle simple questions, for example:&lt;br /&gt;
&lt;br /&gt;
./nlpsolver.py &amp;quot;Elephants and foxes are animals. &lt;br /&gt;
John is an elephant. Mike is a old grey fox. Who is an old animal?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
./nlpsolver.py &amp;quot;Elephants and foxes are animals. &lt;br /&gt;
&amp;lt;John&amp;gt; is an elephant. &amp;lt;John&amp;gt; is an animal?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
./nlpsolver.py &amp;quot;John is a grey animal and has a trunk. &lt;br /&gt;
Elephants are big animals and have trunks. &lt;br /&gt;
If an elephant is grey, it is old. &lt;br /&gt;
If an animal has a trunk, it is an elephant. &lt;br /&gt;
Who is an old elephant?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
./nlpsolver.py &amp;quot;Elephants are big animals and have trunks. &lt;br /&gt;
If an elephant is grey, it is old. &lt;br /&gt;
If an animal has a trunk, it is an elephant. &lt;br /&gt;
Who is an old animal?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Command line keys&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
The following command line keys are available:&lt;br /&gt;
&lt;br /&gt;
-debug  : show the main steps in processing the text&lt;br /&gt;
-showlogic : show the logic produced&lt;br /&gt;
-nosolve : do not attempt to solve the logic produced&lt;br /&gt;
-postprocess : run the postprocessor code on logic (see nlppostprocess.py)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Installation and requirements&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Nlpsolver requires:&lt;br /&gt;
&lt;br /&gt;
* Python 3 series&lt;br /&gt;
* Stanza NLP parser from Stanford https://stanfordnlp.github.io/stanza/&lt;br /&gt;
  (can be installed in debian-based Linux systems with apt)&lt;br /&gt;
* gk commonsense logic solver in the same folder as nlpsolver &lt;br /&gt;
  (included, make it executable with chmod +x gk)&lt;br /&gt;
* gk_axiomfile.js tiny axiom file in the same folder as nlpsolver&lt;br /&gt;
  (included)&lt;br /&gt;
&lt;br /&gt;
To run nlpsolver, first start nlpserver in the same folder:&lt;br /&gt;
./nlpserver&lt;br /&gt;
&lt;br /&gt;
After a few seconds the nlpserver starts properly up and then run&lt;br /&gt;
./nlpsolver &amp;quot;Elephants are animals. John is an elephant. John is an animal?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tammet</name></author>
	</entry>
</feed>