CTU-Bern / SwissASR

https://ctu-bern.github.io/SwissASR/
Other
1 stars 2 forks source link

Special characters can cause "Word found unreadable content" error when opening the docx file #17

Open aghaynes opened 3 months ago

aghaynes commented 3 months ago

Where special characters (e.g. &) are used in text inputs, word cannot interpret the output. R does not give an error.

asr(
  ...,
  product_name = "something & something else",
  ...
)

image

Solution: implement a function that checks for the existance of the known special characters in inputs. Currently known examples are & and <br>