Skip to content
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

Clarify some documents in the repository. #10

Merged
merged 6 commits into from
Jul 20, 2018
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ facts.txt
sentenceIDs.txt
wordIDs.txt

.DS_Store
# === The following are based on the github/gitignore/Python.gitignore === #
# === Made available under a Creative Commons Zero v1.0 Universal ======== #

Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Development builds on GitHub
Quick-Start
-----------

``rnlp`` can be used either as a CLI tool or as an imported Python Package.
``rnlp`` can be used either as a command line interface (CLI) tool or as an imported Python Package.

+---------------------------------------------+--------------------------------------+
| **CLI** | **Imported** |
Expand All @@ -45,11 +45,11 @@ Quick-Start

Text will be converted into relational facts, relations encoded are:

- between blocks of size 'n' (i.e. 2 sentences) in the blocks.
- between sentences and the surrounding block of n sentences.

- between block's of size n (i.e. 'n' sentences) and sentences in the blocks.
- between words and the surrounding sentence.

- between sentences and words in the sentences.
- between words within the surrounding sentence.

---

Expand Down Expand Up @@ -77,12 +77,12 @@ The relationships currently encoded are:

---

Files contain a toy corpus (``files/``) and an image of a BoostSRL tree for predicting if a word in a sentence is the word "you".
Files contain a toy corpus (``example files/``) and an image of a BoostSRL tree for predicting if a word in a sentence is the word "you".

.. image:: https://raw.githubusercontent.com/starling-lab/rnlp/master/docs/img/output.png

The tree says that if the word string contained in word 'b' is "you" then 'b' is the word "you". (This is of course true).
A more interesting inference is the False branch that says that if word 'b' is an early word in sentence 'a' and word 'anon12035' is also an early word in sentence 'a' and if the word string contained in word 'anon12035' is "Thank", then the word 'b' has decent change of being the word "you". (The model was able to learn that the word "you" often occurs with the word "Thank" in the same sentence when "Thank" appears early in that sentence).
The tree says that if the word string contained in word 'b' is "you" then 'b' is the word "you" with a high probability. (This is of course true).
A more interesting inference is the False branch that says that if word 'b' is an early word in sentence 'a' and word 'anon12035' is also an early word in sentence 'a' and if the word string contained in word 'anon12035' is "Thank", then the word 'b' has decent chance of being the word "you". (The model was able to learn that the word "you" often occurs with the word "Thank" in the same sentence when "Thank" appears early in that sentence).

.. _`@kkroy36`: https://github.com/kkroy36/
.. _`@batflyer`: https://github.com/batflyer/
File renamed without changes.
File renamed without changes
2 changes: 2 additions & 0 deletions documentation/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx_rtd_theme
sphinx
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed v1-0.jar
Binary file not shown.