MATLAB Answers

Is there a non-toolbox alternative for decodeHTMLEntities

조회 수: 6(최근 30일)
YT 31 Jan 2019
답변: YT 1 Feb 2019
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 ?
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.

채택된 답변

YT 1 Feb 2019
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.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.




Translated by