Shivam098 commited on
Commit
0270794
1 Parent(s): 4c56ab0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -16,8 +16,14 @@ data = {
16
  nlp.add_pipe(
17
  "concise_concepts",
18
  config={
19
- "data": data
20
-
 
 
 
 
 
 
21
  },
22
  )
23
  # Streamlit app
 
16
  nlp.add_pipe(
17
  "concise_concepts",
18
  config={
19
+ "data": data,
20
+ "ent_score": True, # Entity Scoring section
21
+ "verbose": True,
22
+ "exclude_pos": ["VERB", "AUX"],
23
+ "exclude_dep": ["DOBJ", "PCOMP"],
24
+ "include_compound_words": False,
25
+ "json_path": "./fruitful_patterns.json",
26
+ "topn": (100,500,300)
27
  },
28
  )
29
  # Streamlit app