Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display snippets from search and word frequencies #4

Open
petermr opened this issue Mar 25, 2020 · 0 comments
Open

Display snippets from search and word frequencies #4

petermr opened this issue Mar 25, 2020 · 0 comments

Comments

@petermr
Copy link
Collaborator

petermr commented Mar 25, 2020

The file:<cproject>/search.elements.snippets.xml
contains keywords in contact.
Example...

 <snippetsTree>
  <snippets file="liion/PMC3463005/results/search/elements/results.xml">
   <result pre="Nanosheets with Nearly 100% Exposed (001) Facets for Fast Reversible" exact="Lithium" post="Storage . J. Am. Chem. Soc. 132, 6124– 6130"/>
   <result pre=", Scrosati B. &amp;amp; Tarascon J. M. Nanomaterials for Rechargeable" exact="Lithium" post="Batteries. Angew. Chem. Int. Ed. 47, 2930– 2946 ("/>
   <result pre="Y. et al. Phase Transition between Nanostructures of Titanate and" exact="Titanium" post="Dioxides via Simple Wet-Chemical Reactions . J. Am. Chem."/>
   <result pre="H. et al. Sandwich-Like, Stacked Ultrathin Titanate Nanosheets for Ultrafast" exact="Lithium" post="Storage. Adv. Mater. 23, 998– 1002 ( 2011). 21341313"/>
   <result pre="W. Carbon-Supported Ultra-Thin Anatase TiO 2 Nanosheets for Fast Reversible" exact="Lithium" post="Storage . J. Mater. Chem. 21, 5687– 5692 ("/>
   <result pre="4327 ( 2007). 17362005 Chen X. &amp;amp; Mao S. S." exact="Titanium" post="Dioxide Nanomaterials: Synthesis, Properties, Modifications, and Applications. 
...
This shows the sentences in which the terms occur in the form:
```
reading the text in order and removing the markup returns the original text , e.g.
```
   
```
reads directly as:
```
   H. et al. Sandwich-Like, Stacked Ultrathin Titanate Nanosheets for Ultrafast Lithium Storage. Adv. Mater. 23, 998– 1002 ( 2011). 21341313
```
The sentence is often truncated to 200 characters because the pubklishers threaten legal action if there is more (of course this isn't for CC BY articles).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant