Comments (2)
Hi Eleftherios,
this is a bug in swi-prolog 5.8 or so (I assume you use Ubuntu 12.04).
Downloading and using a recent version of swipl should fix the bug.
I'm assuming the ID is correct because ParZu is doing some parallel
processing and one thread might be processing sentence 299 before the
others have been parsed.
best wishes,
Rico
On 25/11/14 16:04, Eleftherios Avramidis wrote:
I am trying to parse our training data, and unfortunately every now
and then, an error breaks the parsing.[Thread 1] pl-fli.c:2428: codeToAtom: Assertion failed: chrcode >= 0
Parser process 7070 has crashed on sentence 299. If you don't see
swipl error message, try parsing sentence in single-processed modeFirst of all, the parser is probably reporting a wrong sentence id,
because the output file only has less sentences than 299. Using
--process 1 does not prevent the error from occuring.I am not really interested for the particular sentence causing the
error, but I would appreciate it if the parser can go on with the next
sentence of the given file, instead of crashing.—
Reply to this email directly or view it on GitHub
#2.
from parzu.
to be more exact, I think swipl 5.8 is unaffected, 5.10 is buggy, and the bug is fixed in 6.2 or higher. I'm not sure where it was introduced/fixed, but these are the versions I tested.
I'm closing this issue; feel free to re-open if you encounter the bug with a recent swipl version.
from parzu.
Related Issues (20)
- Executing "create_statistics.sh" HOT 3
- Using the python module HOT 1
- Cannot parse file in docker HOT 2
- Difference Local and WebVersion results HOT 5
- ImportError: No module named pexpect when starting docker run HOT 4
- Wrong Tagging for APZR HOT 7
- swi-prolog sfst HOT 1
- Support --tokenized or --tokenized_lines in the REST API HOT 3
- For python scripts to be invoked from command line, consider #!/usr/bin/env python
- Problem running the create_statistics.sh script HOT 3
- Error POS Tatting PPOSAT
- Cannot use the module HOT 1
- Online parser returns random sentences HOT 6
- Timeout values cannot be configured HOT 3
- Some texts take very long to parse HOT 3
- Error 502 with the demo of the ParZu HOT 4
- pexpect error on init HOT 2
- broken link in readme HOT 1
- Unexpected keyword argument 'text' for Python3.1 HOT 1
- Creating the visual dependency graph from conll data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parzu.