What happened to the regex features?

纵然是瞬间 提交于 2019-12-08 02:49:44

问题


There used to be a feature in Luis called "Regex Features". You can still find it in google. Microsoft seems to have erased all evidence of it ever existing. Is it still supported in Luis? The Json for my Luis app still contains the regex features I made does Luis still use it?


回答1:


To quote from Microsoft LUIS Official Documentation

Pattern (regular expression) feature


This feature is deprecated. New pattern features cannot be added to LUIS. Any existing pattern features are supported until May 2018. Contribute to standard LUIS regular expression matching with a Pull Request to the Recognizers-Text Github repository.

It seems to me that Microsoft has pulled away the Regular Expression features in LUIS. The only way to handle Regular Expressions in code is to clone and use their newly launched Microsoft.Recognizers.Text project on GitHub by using the following command:

git clone https://github.com/Microsoft/Recognizers-Tex.git
cd Recognizers-Text

You can find its SDK reference here.



来源:https://stackoverflow.com/questions/48170631/what-happened-to-the-regex-features

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!