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

Add unit test #184

Merged
merged 3 commits into from
Nov 3, 2014
Merged

Add unit test #184

merged 3 commits into from
Nov 3, 2014

Conversation

smatthewenglish
Copy link
Contributor

unit test updates with question rues

@ruiting
Copy link
Contributor

ruiting commented Oct 27, 2014

who is h1395010?

Ruiting Lian

On Mon, Oct 27, 2014 at 2:42 PM, h1395010 [email protected] wrote:

unit test updates with question rues

You can merge this Pull Request by running

git pull https://github.com/h1395010/relex add-unit-test

Or view, comment on, or merge it at:

#184
Commit Summary

  • updates unit tests with questions
  • modification to rule parameters

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#184.

@amebel
Copy link
Contributor

amebel commented Oct 27, 2014

@anitzkin matthew had just added some unit tests for questions would you pls check them and see whether they suffice in covering your recent changes.

@amebel
Copy link
Contributor

amebel commented Oct 27, 2014

@ruiting h1395010 is matthew :-)

@anitzkin
Copy link
Contributor

Right on. Will do . . . .


rc &= test_sentence ("Who did you give the slavers?",
"_subj(give, you)\n");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously this is not a full set o fdependency relations. I assume the word 'slavers' is throwing it off. Try the same sentence with a more standard indirect object and see if you get sensible output. if you do, change the example sentence. If not, make sure the comments reflect that this type of question still doesn't work; it will require more revision of the sem-algs.

@amebel
Copy link
Contributor

amebel commented Oct 28, 2014

@linas h1395010 aka Matthew is a new member of the HK team and is starting out by working on creating new tests and fixing the failing ones so as to get a sense of what is going on the comprhension pipeline.

A small introduction :-)

@linas
Copy link
Member

linas commented Oct 28, 2014

Thanks @amebel -- please merge this when you think it's ready ... either now or after fixes come in for Aaron's comments.

We should probably have some sort of annotation: "this parse has been reviewed by XX and looks correct", since I know that the unit test does have a number of entres in it that are just wrong.

amebel added a commit that referenced this pull request Nov 3, 2014
@amebel amebel merged commit ae87c47 into opencog:master Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants