Text this: Performance analysis of RIS-assisted mixed RF/THz system