MATLAB Answers

YT
0

Is there a non-toolbox alternative for decodeHTMLEntities

YT
さんによって質問されました 2019 年 1 月 31 日
最新アクティビティ YT
さんによって 回答されました 2019 年 2 月 1 日
I'm scraping data from the web and I noticed that some text contains html entities (& ,   etc.). Now I've found that I could use decodeHTMLEntities, but it requires the Text Analytics Toolbox. Is there also a non-toolbox / free function to decode html entities ?
p.s.
I know I could probably just write my own function to encode/decode it but I dont really want to waste my time doing that.

  0 件のコメント

サインイン to comment.

製品


リリース

R2018b

1 件の回答

YT
回答者: YT
2019 年 2 月 1 日
 採用された回答

Because of the lack of (quick) responses, I've made my own function which I made available here. It comes with a file called entities.mat, which contains the characters and corresponding html entities.

  0 件のコメント

サインイン to comment.



Translated by