-- This SQL script contains the instruction to create the tables. 
-- WARNING: all the tables are dropped and recreated

-- Sentences table
DROP TABLE IF EXISTS sentences CASCADE;
CREATE TABLE sentences (
	docid text,
	sentid text,
	wordidxs int[],
	words text[],
	poses text[],
	ners text[],
	lemmas text[],
	dep_paths text[],
	dep_parents int[],
	bounding_boxes text[]
);


-- This SQL script contains the instruction to create the tables. 
-- WARNING: all the tables are dropped and recreated

-- Sentences table
DROP TABLE IF EXISTS sentences CASCADE;
CREATE TABLE sentences (
	docid text,
	sentid int,
	wordidxs int[],
	words text[],
	poses text[],
	ners text[],
	lemmas text[],
	dep_paths text[],
	dep_parents int[],
	bounding_boxes text[]
);


Convert sentid to an int
Convert sentid to an int
