Skip to content

alxmra/drivener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Driving School - NER + OpenIE (PT-PT)

Extracts information from instructor<->student driving-school conversations: recognizes entities (NER), extracts subject-relation-object triples (OpenIE), and links each sentence to Portugal's "Código da Estrada" articles with a verdict (compliant / violation / neutral).

How to run

./run.sh        # creates venv, installs deps, downloads spaCy model, starts server

Open http://127.0.0.1:5000. Pick a dialogue and click Process, or type a sentence by hand.

Tech stack

  • Python + Flask - server and API
  • spaCy (pt_core_news_lg) - NER + dependency parsing -> triples
  • rdflib - RDF triple store, persisted to store.ttl