GithubHelp home page GithubHelp logo

scone's Issues

scone becomes unresponsive with some new-complete-split commands from the manual, not with others

Hi! First of all, thanks for making scone available as open source, and for all the interesting articles, blog posts, etc, related to scone and KRR in general.

I think I may have run into a bug. I was typing command examples from the manual, when at some point scone became unresponsive and I had to do ctrl-c. I did it twice to confirm. The culprit is (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal}) , but other new-complete-split examples work just fine. There's also some extra anomalous behavior: (type-node? {vetebrate}) gives NIL, but after doing (show-ontology) , it gives T

Below there's a summary of my interaction with scone , without the verbose output.

Thanks in advance!

$ cat ./Release-Notes.txt | grep version
This (1.0.0) is the first version released to external users via
GitHub.  Older versions are still available, but will be migrated to
version -- a cut-and-paste error, now fixed.

* $ sbcl --version
SBCL 2.0.1.debian

$ sbcl

* (load-kb "core")

*  (new-indv {Clyde} {elephant})  
{Clyde}
* (new-is-a {Clyde} {elephant})
{Is-A 0-2600}
* (new-indv {Ernie} {elephant})
{Ernie}
* (new-relation {hates} :a-inst-of {animal} :b-inst-of {animal})
{hates}
* (new-statement {Clyde} {hates} {Ernie})
{hates 0-2606}
* (new-split '({bird} {reptile} {mammal}))
{Split 0-2607}
* (new-complete-split {person} '({male} {female}))
{C-Split 0-2608}
* (new-complete-split {person} '({child} {adolescent} {adult}))
{adolescent} is unknown.  Defining it as a type under {undefined thing}.
{C-Split 0-2609}
* (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal})
^C
debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {1000560083}>:
  Interactive interrupt at #x7F90586F6AFF.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT   ] Exit debugger, returning to top level.

("bogus stack frame")
0] 1
* (type-node? {vetebrate})
NIL
* (type-node? {fish})
T
* (node? {vertebrate})
T
* (show-ontology)

[...]

* (type-node? {vertebrate})
T
* (node? {vertebrate})
T
* (new-split '({bird} {reptile} {mammal}))
{Split 0-2611}
* (new-complete-split {person} '({child} {adolescent} {adult}))
{C-Split 0-2612}
* (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal})
^C
debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {1000560083}>:
  Interactive interrupt at #x7F90586F6AFF.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT   ] Exit debugger, returning to top level.

("bogus stack frame")
0] 1
* 

:external-format :utf8

This is actually :utf-8 in other implementations. UTF-8 is also the usual name, not UTF8.

Plus: if one specifies :utf-8 as an external format, then one might need to specify the :element-type, because the default element-type might not be able to represent Unicode characters.

(lookup-element ...) may return NIL?

  (let ((this-element (lookup-element iname)))
    (when (eq (parent-wire this-element) *undefined-thing*)

Can (LOOKUP-ELEMENT iname) return NIL? If yes, then the next test above will run into trouble: what would be (PARENT-WIRE NIL) ?

Appears several times in the file.

project status?

What is the current project status? What are the main future goals ?

noun compounds

In the paper

A. Tribble and S. E. Fahlman, “Resolving Noun Compounds with Multi-Use Domain Knowledge.”

rules for fill roles of frames are mentined, are they in this repo? where?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.