Skip to content

EMNLP 2022 Demo "SynKB: Semantic Search for Chemical Synthesis Procedures"

License

Notifications You must be signed in to change notification settings

bflashcp3f/SynKB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SynKB: Semantic Search for Chemical Synthesis Procedures

This repo provides the code and data to replicate our system "SynKB: Semantic Search for Synthetic Procedures", which is accepted to EMNLP 2022 Demo track.

@article{bai-etal-2022-synkb,
  title={SynKB: Semantic Search for Synthetic Procedures},
  author={Bai, Fan and Ritter, Alan and Madrid, Peter and Freitag, Dayne and Niekrasz, John},
  journal={arXiv preprint arXiv:2208.07400},
  year={2022}
}

System Overview

SYNKB is an open-source web-based search engine that allows users, like chemists, to perform structured queries over a large corpus of synthesis procedures extracted from chemical patents.

Demo URL: https://tinyurl.com/synkb
Introduction video: https://screencast-o-matic.com/watch/c3jVQsVZwOV

Installation

Create conda environment

git clone https://github.com/bflashcp3f/SynKB.git
cd SynKB
conda env create -f environment.yml
conda activate synkb

Set up Odinson search

  1. Clone the Odinson repo
git clone https://github.com/bflashcp3f/odinson.git
cd odinson
git checkout synkb
  1. Set up indexed data path
mkdir -p extra/data/pets/
cd extra/data/pets/
  1. Download indexed data (index.tar.gz) and extract files
tar -xvzf index.tar.gz
  1. Launch Odinson (Java 11 is required)
cd ../../../
sbt backend/run

Set up Elasticsearch

  1. Download Elasticsearch folder (elastic_data.tar.gz), and extract files.
tar -xvzf elastic_data.tar.gz
  1. Launch Elasticsearch
cd elasticsearch-6.8.19
./bin/elasticsearch

Usage

Launch the demo

cd SynKB
python manage.py runserver YOUR_PORT_NUMBER

Customization

If you want to customize SynKB for your own data, check out this tutorial.

About

EMNLP 2022 Demo "SynKB: Semantic Search for Chemical Synthesis Procedures"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published