TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Trying to find back a tool to generate sentences based on rules

3 点作者 terabytest将近 6 年前
There’s a tool I recall seeing on HN a few months back, and I haven’t been able to find it in my bookmarks or by googling the keywords I remember. I’m looking for it now because I’d like to experiment with it, so I’m wondering if any of you remember what it was.<p>From what I can recall, this tool allows you to generate sentences by giving it rules (probably called a grammar?) on words to choose and how to pair them. It’d pick these randomly and build the final sentence. I remember one of the fancy words being used in there was “production”, but I can’t be sure.<p>The way I found out about it was through an article written by the person who built the tool. The article explained the basics of how to program the tool and gave examples of the results. Maybe I’m wrong but I recall there being a lot of blue on the page. I also recall that the person sounded Italian, going by their name and some of the words used in the examples. Maybe the name was Luca?<p>I also recall that this tool was described as the “opposite” of regular expressions, in the sense that the rules you provide it with are used to generate rather than match.<p>Does anyone else remember this?

暂无评论

暂无评论