petermr / docanalysis

Semantic analysis of text documents including sentence and paragraph splitting
Apache License 2.0
13 stars 3 forks source link

Request: add additional detail to csv output #31

Open EmanuelFaria opened 1 year ago

EmanuelFaria commented 1 year ago
  1. Currently, when exporting the csv sentences having more than one entity found shows the multiple entities in the same row, separated by commas. For the purposes of importing to another db, it would be best to have each found entity in it's own row, along with all same information in the other columns. (See example below)
  2. To make visually scanning the results in the context of the sentence, it would be useful to have the found entity (now in its own row) in bold in the source sentence. That way, I can quickly see the terms in the sentence context and either mark for import or for deletion.
  3. For each row, it would be useful to include Journal Actical Tags so the information source can be imported and cited for each.
sentence section entities labels
Studies showed that the genus Cymbopogon mainly contained flavonoids and phenolic compounds, which were the pivotal pharmacological active ingredients. ABS phenolic compounds CHEMICAL
When combined with the complex β-cyclodextrin, phytochemicals such as citronellal have been shown to have their own mechanism of action in inhibiting the descending pain pathway. ABS citronellal, descending pain CHEMICAL, DISEASE