paper-with-me

Papers

SpannerLib: Embedding Declarative Information Extraction in an Imperative Workflow

2024-09-03 · Dean Light, Ahmad Aiashy, Mahmoud Diab, Daniel Nachmias, Stijn Vansummeren, Benny Kimelfeld

Document spanners have been proposed as a formal framework for declarative Information Extraction (IE) from text, following IE products from the industry and academia. Over the past decade, the framework has been studied thoroughly in terms of expressive power, complexity, and the ability to naturally combine text analysis with relational querying. This demonstration presents SpannerLib a library for embedding document spanners in Python code. SpannerLib facilitates the development of IE programs by providing an implementation of Spannerlog (Datalog-based documentspanners) that interacts with the Python code in two directions: rules can be embedded inside Python, and they can invoke custom Python code (e.g., calls to ML-based NLP models) via user-defined functions. The demonstration scenarios showcase IE programs, with increasing levels of complexity, within Jupyter Notebook.

📄 PDF Abstract BibTeX arXiv:2409.01736

Code (1)

DeanLight/spannerlib 공식 구현

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Declarative Skills for AI Agents in Knowledge-Grounded Tool-Use Workflows

2026-06-05 · M. Danish Lim, I. Danial Bin Sharudin, Wen Han Chen, Cedric Lim 외 arxiv

We study orchestration mechanisms for tool-using AI agents in realistic customer-service workflows over an unstructured knowledge base. We argue that declarative agents -- AI agents equipped with natural-language skill f…

FACTORIE: Probabilistic Programming via Imperatively Defined Factor Graphs

2009-12-01 · NeurIPS 2009 12 · Andrew Mccallum, Karl Schultz, Sameer Singh

Discriminatively trained undirected graphical models have had wide empirical success, and there has been increasing interest in toolkits that ease their application to complex relational data. The power in relational mo…

Probabilistic Programming

Treebanking by Sentence and Tree Transformation: Building a Treebank to support Question Answering in Portuguese

2012-05-01 · LREC 2012 5 · Patr{\'\i}cia Gon{\c{c}}alves, Rita Santos, Ant{\'o}nio Branco

This paper presents CINTIL-QATreebank, a treebank composed of Portuguese sentences that can be used to support the development of Question Answering systems. To create this treebank, we use declarative sentences from the…

Question AnsweringSentenceVocal Bursts Type Prediction

Lyra: A Benchmark for Turducken-Style Code Generation

2021-08-27 · Qingyuan Liang, Zeyu Sun, Qihao Zhu, Wenjie Zhang 외

Recently, neural techniques have been used to generate source code automatically. While promising for declarative languages, these approaches achieve much poorer performance on datasets for imperative languages. Since a …

Code Generation

Deep Declarative Networks: A New Hope

2019-09-11 · Stephen Gould, Richard Hartley, Dylan Campbell

We explore a new class of end-to-end learnable models wherein data processing nodes (or network layers) are defined in terms of desired behavior rather than an explicit forward function. Specifically, the forward functio…

Point Cloud Classification