This is the 5752nd most frequent Swedish word.
hector
In Swedish, "hector" is not a word; it might be a confusion with the English name "Hector" or another term.
In this sentence, 'Hector' refers to a proper noun, specifically a person's name.
Hector är en gammal vän från skolan.
Hector is an old friend from school.
Here, 'hector' is used as a verb meaning to talk to someone in a bullying manner (borrowed usage in Swedish).
Läraren börjar hector eleverna för deras sena inlämningar.
The teacher starts to hector the students for their late submissions.
In this usage, 'Hector' is a historical figure's name, associated with ancient mythology.