douwei1921
2015-04-14 14:21
浏览 41
已采纳

从多个同义词中创造出最可能的句子

I would like to the most possible different sentences from multiple block of words, in php. For example i put in the php code:

"today" "yesturday" | "is" "is not" | "monday" "tuesday"

It would become:

today is monday
yesturday is monday
today is not tuesday
yesturday is tuesday
etc...

How can i create this in php?

Thank you.

图片转代码服务由CSDN问答提供 功能建议

我想在php中使用多个单词块中最可能的不同句子。 例如我输入了php代码:</ p>

“今天”“yesturday”| “是”“不是”| “星期一”“星期二”</ p>

它会变成:</ p>

 今天是星期一
yesturday星期一
today今天不是星期二
yeurday是 星期二
etc ... 
 </ code> </ pre> 
 
 

如何在php中创建它?</ p>

谢谢。</ p> \ n </ div>

1条回答 默认 最新

相关推荐 更多相似问题