Im searching for resources and ways to do this on the internet, but I just can find any links.
The only place I can find that can do this is THIS LINK where you can enter a word and it gives you the phonemic spelling of that word in SAMPA.
This guy posted something in the line of xsampa, but doesn't give any clue on how he went about getting those classes etc. Do you know if this is even possible in C#, and where I can find resources about this?
How your translation SHOULD look like to work with JULIUS.
Example:
abatement @ b @i t m @ n t 1 0
abates @ b @i t s 1 0
abating @ b @i t i N 1 0
abattoir { b @ t w A: r\ 1 0
abattoirs { b @ t w A: z 1 0
abbess { b E s 1 0
abbesses { b E s @ s 1 0
abbey { b i 1 0
abbeys { b i z 1 0
abbot { b @ t 1 0
abbots { b @ t s 1 0
abbreviate @ b r\ i: v i @i t 1 0
abbreviated @ b r\ i: v i @i t @ d 1 0
abbreviates @ b r\ i: v i @i t s 1 0
abbreviating @ b r\ i: v i @i t i N 1 0
abbreviation @ b r\ i: v i @i S @ n 1 0
abbreviations @ b r\ i: v i @i S @ n z 1 0
abdicate { b d i k @i t 1 0
abdicated { b d i k @i t @ d 1 0
abdicates { b d i k @i t s 1 0
Should one first convert it to Sampa then replace the words to X-sampa compatible with Juluis, or Directly use some mapping to convert it to X-Sampa