自然语言问题创建
我试图根据大约 10 个变量的可用信息来构建问题 - 例如形状(正方形、圆形、矩形、平行四边形)、长度、宽度、周长、面积、对角线长度等,
例如如果我想设置问题来根据形状、长度和宽度计算面积,则会创建问题,说明给定长度=“10”和宽度=“5”,计算“矩形”的面积。如果我提供面积并要求宽度,问题将自动形成为计算给定长度=“10”和面积=“50”的“矩形”面积。
我并不太雄心勃勃,并且愿意在限制条件下建立这个项目 - 有什么关于我如何实现这一目标的指示吗?最初的想法是为每个变量都有一个问题和答案片段 - 但最初的尝试会产生非常混乱的语法
I am trying to build question based on information available on about 10 variables- e.g. shape (square, circle, rectangle, paralellogram),length, width, circumference, area, diagonal length etc
e.g. if i want to set question to calculate area based on shape, length and width- the question gets created stating- calculate area of 'rectangle' given length='10' and width='5'. If i provide area and ask for width, the question autmatically forms as calculate area of 'rectangle' given length='10' and area='50'.
I am not too ambitious and am willing to be able to build this under constraints- any pointers around how I can achieve this? initial thoughts to have a question and answer fragment for each variable- but initial attempts creates very messy grammar
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
其他论坛建议我查看“自然语言生成器”并重点关注数据到文本作为要寻找的功能。我已经发送了一些产品并评估它们是否针对我的需求进行了过度设计
i have been advised on other forums to look at 'natural language generators" and focus on data-to-text as feature to look for. i have sen a few products and evaluating whether they are over-engineered for my needs