taufeeque commited on
Commit
ac72ba0
1 Parent(s): 50c3f87

Update descriptions

Browse files
Files changed (1) hide show
  1. Code_Browser.py +6 -6
Code_Browser.py CHANGED
@@ -200,12 +200,12 @@ if st.checkbox("Show Demo Codes"):
200
 
201
  st.markdown("## Code Search")
202
  code_search_desc = (
203
- "If you want to find whether the codebooks model has captured a relevant features from the data,"
204
- " you can specify a regex pattern for your feature and find whether any code activating on the regex pattern"
205
- " exists. The first group in the regex pattern is the token that the code activates on. If the group contains"
206
- " multiple tokens, we search for codes that will activate on the first token in the group followed by the"
207
- " subsequent tokens in the group. For example, the search term 'New (York)' will try to find codes that"
208
- " activate on the bigram feature 'New York' at the York token."
209
  )
210
 
211
  if st.checkbox("Search with Regex"):
 
200
 
201
  st.markdown("## Code Search")
202
  code_search_desc = (
203
+ "To find whether the codebooks model has captured a relevant feature from the data (e.g. pronouns),"
204
+ " you can specify a regex pattern for your feature (e.g. “he|she|they”) and find whether any code"
205
+ " activating on the regex pattern exists.\n\n"
206
+ "Since strings can contain several tokens, you can specify the token you want a code to fire on by"
207
+ " using a capture group. For example, the search term New (York) will try to find codes that"
208
+ " activate on the bigram feature New York at the York token"
209
  )
210
 
211
  if st.checkbox("Search with Regex"):