hassonlab / 247-encoding

Contains python scripts for performing encoding on 247 data.
0 stars 9 forks source link

Replace code snippet to exclude nonwords #47

Closed hvgazula closed 1 year ago

hvgazula commented 1 year ago

https://github.com/hassonlab/247-encoding/blob/03e73d281600e34e8a584025f0895b0e2aa93d69/scripts/tfsenc_read_datum.py#L228-L230

Replace with

https://github.com/hassonlab/247-pickling/blob/main/scripts/tfspkl_utils.py#L141

zkokaja commented 1 year ago

Non words should and are defined in pickling, not in encoding

zkokaja commented 1 year ago

Use the non_word column from the base dataframe, as defined in https://github.com/hassonlab/247-pickling/blob/main/scripts/tfspkl_utils.py#L141