Spaces:
Running
Running
Update descriptions
Browse files- 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 |
-
"
|
204 |
-
" you can specify a regex pattern for your feature and find whether any code
|
205 |
-
"
|
206 |
-
"
|
207 |
-
"
|
208 |
-
" activate on the bigram feature
|
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"):
|