Parse hyphenated word to unsigned integer
I think it would be better to work around your problem: simply replace hyphens with spaces in the strings to be ts_vectored.  If necessary, you can store the unhyphenated values in a separate column and run your searches against it.