Skip to content

Commit

Permalink
v1.02
Browse files Browse the repository at this point in the history
  • Loading branch information
gachouchani1999 committed Sep 19, 2021
1 parent a88faa6 commit 4d82b1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions flaskr/doc_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from string import punctuation
from heapq import nlargest

nltk.download('punkt')
nltk.download("stopwords")
stop_words = stopwords.words('english')
punctuation = punctuation + '/n'
Expand Down Expand Up @@ -41,12 +42,6 @@ def summarize_heading(heading_text):



a = """
Near-field self-imaging of waves behind periodic grat-ing masks, dubbed the Talbot effect [1], is a funda-mental interference phenomenon with interesting rela-tions to physics and math [2]. It enables lens-free focus-ing, demonstrated for photons [3–6], electrons [7], atoms[8, 9], and even large molecules [10, 11]. Remarkably,this self-imaging maps onto the propagation of waves oncylindrical surfaces, where the periodicity of the anglecoordinate replaces the periodic grating and where frac-tional Talbot revivals appear as spatially separated su-perpositions of the impinging wave packet [12–14].
"""

summarize_heading(a)




Expand Down
Binary file removed flaskr/report_ben.docx
Binary file not shown.

0 comments on commit 4d82b1f

Please sign in to comment.