Giter Site home page Giter Site logo

kbnlresearch / dac Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 2.0 20.04 MB

Entity linker for the newspaper collection of the National Library of the Netherlands. Links named entity mentions to DBpedia descriptions using either a binary SVM classifier or a neural net.

Home Page: https://www.kb.nl/en/organisation/research-expertise/enrichment-of-digital-content

License: GNU General Public License v3.0

Python 100.00%
entity-linking named-entities dutch newspapers news dbpedia enrichment

dac's People

Contributors

hannakoppelaar avatar jlonij avatar stitchplus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

databill86

dac's Issues

IOError: Error retrieving entities from: http://ner.kbresearch.nl/?

mldl@ub1604:/ub16_prj/dac/dac$ python dac.py
/usr/local/lib/python2.7/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
2018-08-26 11:58:55.645223: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-08-26 11:58:55.697519: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-08-26 11:58:55.697823: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 950M major: 5 minor: 0 memoryClockRate(GHz): 1.124
pciBusID: 0000:01:00.0
totalMemory: 3.95GiB freeMemory: 3.55GiB
2018-08-26 11:58:55.697857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)
2018-08-26 11:58:55.818855: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)
Traceback (most recent call last):
File "dac.py", line 1908, in
pprint(linker.link(vars(args)['url'], vars(args)['ne']))
File "dac.py", line 99, in link
self.context = Context(url, ne)
File "dac.py", line 295, in init
self.get_entities()
File "dac.py", line 335, in get_entities
TPTA_URL))
IOError: Error retrieving entities from: http://ner.kbresearch.nl/?
mldl@ub1604:
/ub16_prj/dac/dac$

TypeError: 'NoneType' object is not iterable

mldl@ub1604:/ub16_prj/dac/dac/training$ python generate.py
/usr/local/lib/python2.7/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
2018-08-26 12:05:13.768429: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-08-26 12:05:13.828228: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-08-26 12:05:13.828567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 950M major: 5 minor: 0 memoryClockRate(GHz): 1.124
pciBusID: 0000:01:00.0
totalMemory: 3.95GiB freeMemory: 3.58GiB
2018-08-26 12:05:13.828582: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)
INFO:main:Reviewing instance 0: B. Nijenhuis
INFO:main:Getting linker result for url: http://resolver.kb.nl/resolve?urn=ddd:010616555:mpeg21:a0126:ocr
ERROR:main:No linker result, skipping url: http://resolver.kb.nl/resolve?urn=ddd:010616555:mpeg21:a0126:ocr
Traceback (most recent call last):
File "generate.py", line 149, in
generate(vars(args)['input'], vars(args)['output'])
File "generate.py", line 96, in generate
result = [r for r in url_result if
TypeError: 'NoneType' object is not iterable
mldl@ub1604:
/ub16_prj/dac/dac/training$

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.