Skip to content

Commit

Permalink
Updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott authored and elliott committed Dec 30, 2020
1 parent 06b1ec3 commit 35557f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,39 +74,39 @@ To download the initial dataset



`./bin/bop_download_data`
`bop_download_data`



To convert initial dataset to csv entities and relationship files



`./bin/bop_convert_data_to_csv -m data/generated/{date}/members.json`
`bop_convert_data_to_csv -m data/generated/{date}/members.json`



Extract named entities from csv data and output to new files



`./bin/bop_ner_extract -e data/generated/{date}/entities.csv -r data/generated/{date}/relationships.csv`
`bop_ner_extract -e data/generated/{date}/entities.csv -r data/generated/{date}/relationships.csv`



The `bop_ner_extract` tool also takes an optional argument `--custom_entities` which greatly improves accuracy and coverage. A sample file is included in the data/custom directory.



`./bin/bop_ner_extract -e data/generated/{date}/entities.csv -r data/generated/{date}/relationships.csv -c data/custom/default_custom_entities.csv`
`bop_ner_extract -e data/generated/{date}/entities.csv -r data/generated/{date}/relationships.csv -c data/custom/default_custom_entities.csv`



Create Neo4J database from extracted entities and relationship csv data



`./bin/bop_create_db -e data/generated/{date}/extracted/entities.csv -r data/generated/{date}/extracted/relationships.csv`
`bop_create_db -e data/generated/{date}/extracted/entities.csv -r data/generated/{date}/extracted/relationships.csv`



Expand Down

0 comments on commit 35557f4

Please sign in to comment.