Skip to content

Update tutorial.rst #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ It should look like this:
.
├── dbpedia
│   ├── __init__.py
│   ├── parsing.py
│   ├── basic.py
│   ├── dsl.py
│   └── settings.py
└── main.py
Expand All @@ -72,7 +72,7 @@ It should look like this:

This is the basic structure of every quepy project.

* `dbpedia/parsing.py`: the file where you will define the regular expressions
* `dbpedia/basic.py`: the file where you will define the regular expressions
that will match natural language questions and transform them into an
abstract semantic representation.
* `dbpedia/dsl.py`: the file where you will define the domain specific language
Expand Down Expand Up @@ -128,7 +128,7 @@ language questions and transform them into an abstract semantic
representation. This will define specifically which questions the
system will be able to handle and *what* to do with them.

In our example, we'll be editing the file *dbpedia/parsing.py*. Let's
In our example, we'll be editing the file *dbpedia/basic.py*. Let's
look at an example of regular expression to handle *"What is ..."*
questions. The whole definition would look like this:

Expand Down