ringgaard / sling Goto Github PK
View Code? Open in Web Editor NEWSLING - A natural language frame semantics parser
License: Apache License 2.0
SLING - A natural language frame semantics parser
License: Apache License 2.0
https://ringgaard.com/kb/Q1368300
has director of but not screenwriter of. Why not? Seems relevant.
It is seen in the graph below:
(I got this output by browsing the graph and choosing incoming and clicking Peter Farrelly and then screenwriter.)
Could they be included?
If not what is the motivation for exclusion?
Reported issue via feedback form at https://ringgaard.com/knolcase/
Is Sling still active development?
Hello,
Whenever I try to load the "caspar.flow" model, I get the following error:
[2020-10-23 11:14:00.889936: E sling/myelin/compute.cc:1549] No kernel supports step ff_trunk/labeled-roles/GatherSum: float32[1,16]=GatherSum(float32[1550,16],int32[1,32])
[2020-10-23 11:14:00.890011: F sling/myelin/compiler.cc:172] Check failed: net->Compile(*flow, *library_)
*** Signal 6 (Aborted) at 0x7fc5ec885f47 for 0x03ee00007c93
@ 0x7fc5ec885f47 raise+0xc7
@ 0x7fc5ec8878b1 abort+0x141
@ 0x7fc5e94f6497 pysling.so+0x39e497
@ 0x7fc5e9358f77 sling::myelin::Compiler::Compile(sling::myelin::Flow*, sling::myelin::Network*)+0xdf7
@ 0x7fc5e9317bc5 sling::nlp::Parser::Load(sling::Store*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x105
@ 0x7fc5e9286829 sling::PyParser::Init(_object*, _object*)+0x139
@ 0x55ebb1dff7d4 python3.8+0xde7d4
@ 0x55ebb1e86f56 python3.8+0x165f56
@ 0x55ebb1e4ca92 python3.8+0x12ba92
@ 0x55ebb1e4e43f python3.8+0x12d43f
@ 0x55ebb1e4e733 python3.8+0x12d733
@ 0x55ebb1e4e8ca python3.8+0x12d8ca
@ 0x55ebb1dff7d4 python3.8+0xde7d4
@ 0x55ebb1e86f56 python3.8+0x165f56
@ 0x55ebb1e4ca92 python3.8+0x12ba92
@ 0x55ebb1e4d754 python3.8+0x12c754
@ 0x55ebb1edbedc python3.8+0x1baedc
@ 0x55ebb1f11083 python3.8+0x1f0083
@ 0x55ebb1e02699 python3.8+0xe1699
@ 0x55ebb1dc0b84 python3.8+0x9fb84
@ 0x55ebb1e46dc9 python3.8+0x125dc9
@ 0x55ebb1e87363 python3.8+0x166363
@ 0x55ebb1e46dc9 python3.8+0x125dc9
@ 0x55ebb1e87363 python3.8+0x166363
@ 0x55ebb1e46dc9 python3.8+0x125dc9
@ 0x55ebb1e321cd python3.8+0x1111cd
@ 0x55ebb1dc275e python3.8+0xa175e
@ 0x55ebb1e4d86b python3.8+0x12c86b
@ 0x55ebb1dc0b84 python3.8+0x9fb84
Aborted (core dumped)
Steps to reproduce:
pip3 install http://www.jbox.dk/sling/sling-3.0.0-py3-none-linux_x86_64.whl
import sling
p = sling.Parser("caspar.flow")
Environment:
Thank you in advance.
https://ringgaard.com/kb/Q7838011
Created trello.
I dont want to use wikipedia for any processing. I just want to use the wikidata for entity matching in different languages. Can you guide me through the steps? I am assuming I need to only work with wikidata
Hello,
I am trying to install and build the source code for sling on a Mac with M1 chip. This appears to be problematic for installation, as not only do I get a 'sudo: apt-get: command not found' error when running setup.sh, but also the buildall.sh script fails. Trying to install the Python features via
sudo -H pip3 install https://ringgaard.com/data/dist/sling-3.0.0-py3-none-linux_x86_64.whl
also fails.
Is there any alternative for me?
It loads the former QID in the URL but the page content does not change accordingly. FF 86.0.1 on windows 10
Greetings All,
Great effort and astonishing work you've been doing here, really appreciate it.
1- I have an issue here regarding building wiki and extracting phrases (for entity recognition).
problem: Process is halted here and doesn't proceed .. kept it for hours, and still.
Provided a very large TMPDIR (nearly 1 TB) and still.
2- Also, I have another question, in the provided KB (knowledge base)
sling fetch --dataset kb,nametab,phrasetab
This supports only "En" .. how can I get others that support different languages, such as "fr, it, es"
Thanks
It should be sling build_wiki
instead (that at least works for me)
Hello, just wanted to ask if there is any tool available for automatic generation of SPARQL queries from the Caspar parsed frames? The idea is to be able to formulate a natural language query, then convert it to SPARQL to query the KB.
>>> import sling
return ImportError: /lib64/libc.so.6: version `GLIBC_2.27' not found.
It looks like sling-3.0.0-py3-none-linux_x86_64.whl was built on an Ubuntu 18.04 machine. Could you please compile it again on an Ubuntu 16.04 machine and redeployed it? thank you very much.
I ran the DrKIT code which includes 'sling/local/data/distant/facts-0000%d-of-00010.json', I have no idea how to get it?
root@server:~/Downloads# python3 -c "import sling; sling.which()"
SLING API version 3.0.0 (Sat Feb 4 11:59:11 2023) in /usr/local/lib/python3.9/dist-packages/sling
root@server:~/Downloads# sling fetch --dataset caspar
[2023-02-04 11:59:34.807193: I sling/pyapi/pytask.cc:525] Start HTTP server on port 6767
[2023-02-04 11:59:34.813720: I run.py:341] Execute command fetch
*** Signal 11 (Segmentation fault) at 0x0000020b26f0 for 0x0000020b26f0
@ 0x0000020b26f0 (unknown)
**Segmentation fault**
root@server:~/Downloads# cat /etc/*release
PRETTY_NAME="**Debian GNU/Linux 11** (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.