In terms of internal relations , the Sami languages are divided into two groups : western and eastern . In terms of internal relationships , the Sami languages are divided into two groups : eastern and western .