Criminal profiling involves analyzing crime scenes and crime patterns to develop a psychological profile of the perpetrator. In forensic linguistics, criminal profiling can involve analyzing language used in threatening letters or online communications to construct a profile of the offender.