Extract Relevant Tag/Keywords from Text block

前端 未结 4 1788
庸人自扰
庸人自扰 2021-02-03 11:16

I wanted a particular implementation, such that the user provide a block of text like:

\"Requirements - Working knowledge, on LAMP Environment using Lin

4条回答
  •  旧时难觅i
    2021-02-03 11:58

    Depending on whether you want to show the client keywords/tags or whether you want to extract the keywords / tags from the block of text then do further computation with them.

    If you only need to show them then clientside handling is fine. If you need them for further computation then use serverside handling for it.

    I can recommend a javascript clientside implementation if you can supply some more details. If you want to generically "know" the keywords then some kind of clever solution is neccesary

    If you have a list of keywords then you can use regular expressions to extract the data

提交回复
热议问题