lains / link_grammar_prolog Goto Github PK
View Code? Open in Web Editor NEWLink grammar binding for SWI-Prolog
License: GNU General Public License v3.0
Link grammar binding for SWI-Prolog
License: GNU General Public License v3.0
And update newgroups post to provide links:
http://swi-prolog.996271.n3.nabble.com/New-DLL-for-Link-Grammar-parser-td2158.html
Warning: src/lgp.c: In function 'pl_get_linkage':
Warning: src/lgp.c:3462:3: warning: passing argument 1 of 'PL_foreign_control' makes pointer from integer without a cast [enabled by default]
Warning: switch (PL_foreign_control(handle)) {
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:268:17: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(int) PL_foreign_control(control_t);
Warning: ^
Warning: src/lgp.c:3523:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/lgp.c:3583:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/lgp.c:3620:13: warning: comparison between pointer and integer [enabled by default]
Warning: if (handle!=NULL) {
Warning: ^
Warning: src/lgp.c:3621:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/string-set.c: In function 'find_place':
Warning: src/string-set.c:89:5: warning: pointer targets in passing argument 1 of 'hash_string' differ in signedness [-Wpointer-sign]
Warning: h = hash_string(str, ss);
Warning: ^
Warning: src/string-set.c:44:5: note: expected 'unsigned char *' but argument is of type 'char *'
Warning: int hash_string(unsigned char *str, String_set *ss) {
Warning: ^
Warning: src/string-set.c:90:5: warning: pointer targets in passing argument 1 of 'stride_hash_string' differ in signedness [-Wpointer-sign]
Warning: s = stride_hash_string(str, ss);
Warning: ^
Warning: src/string-set.c:50:5: note: expected 'unsigned char *' but argument is of type 'char *'
Warning: int stride_hash_string(unsigned char *str, String_set *ss) {
Warning: ^
Warning: src/error.c: In function 'error':
Warning: src/error.c:81:2: warning: format not a string literal and no format arguments [-Wformat-security]
Warning: fprintf(stderr, buf);
Warning: ^
Unit test ('Linkage Set', 'deletion of linkage set object before cut of get_linkage'), leading to double-free crash at least under Linux was commented-out because it leads to a double free corruption.
Investigate why in the C library.
4 *
Exception 'lgp_api_error(dictionary,bad_handle)' raised in family Dictionary
=> leads to Total number of level failed so far: 4
To avoid warning on backward compatibility when loading lgp library in SWI-Prolog
When make is run offline, wget fails (which is expected)
However, if run again when online, file download will not be retried and make fails subsequently
Make pack currently creates a zip archive that contains the files from the archive, in order to publish them as an archive in the current tagged release.
This archive should store a directory link_grammar_prolog-$PACk_VERSION, and all source files in this directory. Today, source files are directy stored in the root of the archive, this needs to be fixed.
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.