腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(9999+)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
Ruby .to_
sentence
在.to_
sentence
方法中,如何让last_word_connector输出HTML字符串?例如:我想让<br />真正被解释。我尝试在末尾添加.html_safe,但是没有用。
浏览 2
修改于2012-10-14
得票数 1
回答已采纳
2
回答
使用to_
sentence
我知道如何在遇到以下情况时使用"to_
sentence
“:但是如果我有一个更复杂的代码块,比如: <% skill.position.each
浏览 0
修改于2011-01-10
得票数 0
回答已采纳
1
回答
如何在mysql中使用
sentence
.csv对tatoeba
sentence
.csv进行查询
我想从链接tatoeba.org中的转储文件在本地主机中创建一个离线语句字典数据库。您可以从代码中注意到,sentences.csv包含语言ids,如eng、fra、cmn、tur和该语言中的句子;links.csv将句子ids映射为翻译的并行句子。`sentences.csv` has three columns: `id` `language` `text` `links.csv` has two columns: `sentenceId
浏览 1
修改于2017-06-07
得票数 0
回答已采纳
1
回答
sentence
.split抓取网站页面
更新-因为这是一个学校项目,我需要使用
sentence
.split函数,我很困惑从这一点开始我会做什么,如果有人能给我指出正确的方向,我需要拆分网站的下一阶段,等等?
浏览 3
修改于2013-01-06
得票数 1
2
回答
重载ActiveSupport的默认to_
sentence
行为
ActiveSupport提供了很好的to_
sentence
方法。因此,[1,2,3].to_
sentence
# gives "1, 2, and 3" [1,2,3].to_
sentence
(:last_word_connector
浏览 3
修改于2010-08-05
得票数 2
回答已采纳
1
回答
无法导入名称'combined_rule_
sentence
_segmenter‘
当导入它们时,会收到类似"cannot import name 'combined_rule_
sentence
_segmenter'“这样的错误。如何正确导入包。 !from spacy.util import load_model_from_init_py, get_model_meta----> 7 from scispacy.custom_
sentence
_segmenterimport combined_rule_
sentence
_segmenter
浏览 33
提问于2020-08-25
得票数 0
回答已采纳
3
回答
如何使用to_
sentence
进行链接?
像这样的东西:这不起作用 @users.collect{ |u| link_to(u.name, user_path(u)) }.to_
sentence
浏览 0
提问于2009-09-17
得票数 4
回答已采纳
1
回答
Ruby未定义方法`to_
sentence
‘
Maggie'} ]) names.map(&:values).flatten.to_
sentence
(last_word_connector: ' &') from main.r
浏览 9
提问于2021-07-02
得票数 0
回答已采纳
3
回答
替换列表中的条目(
sentence
.replace())
将得到错误“列表对象没有属性替换”:command_length = len(
sentence
_parsing) for
浏览 1
提问于2016-10-26
得票数 0
回答已采纳
1
回答
在Pandas中运行NLTK
sentence
_bleu
我正在尝试将
sentence
_bleu应用于Pandas中的一个专栏,以评估一些机器翻译的质量。但是它输出的分数是不正确的。有人能看到我的错误吗?import pandas as pd 'reference['I', 'like', 'kitties', '.']]df = pd.DataFrame(translati
浏览 7
提问于2018-11-28
得票数 1
2
回答
用
sentence
_transformers获取句子嵌入
is xx", "I have a cat", "Love is life"] 0from
sentence
_transformers
浏览 0
修改于2020-09-02
得票数 0
回答已采纳
1
回答
sentence
_transformers如何创建文本Python
from
sentence
_transformers import SentenceTransformer model = SentenceTransformer('
sentence
-transformers/paraphrase-multilingual-MiniLM-L12
浏览 5
修改于2022-02-07
得票数 0
1
回答
模块:“AttributeError”对象没有特性“”
sentence
_bleu“”
在nltk.translate的文档中,我可以清楚地看到这一点功能可供使用。但是当我在我的脚本中使用它时,它显示了以下错误:请指出我做错了什么?reference = ['It', 'is', 'a', 'cat', '
浏览 3
修改于2018-06-14
得票数 0
1
回答
Rails / Active支持"to_
sentence
“已弃用
当我刚刚开始使用"to_
sentence
“方法时,我发现它是rails中的 > 2.3.8。有没有人知道为什么和它是否被替换了?我发现它非常方便,我不想失去这一点功能。
浏览 0
提问于2011-05-03
得票数 4
回答已采纳
1
回答
sentence
_transformers列表索引超出范围
我试图使用
sentence
_transformers来获取伯特嵌入,但它不能处理例如300个文档,我一直得到错误IndexError: list索引超出了范围。怎么解决这个问题?from
sentence
_transformers import SentenceTransformer model = SentenceTransformer('distilbert-base-nli-mean-tokens
浏览 12
提问于2022-06-27
得票数 0
回答已采纳
1
回答
在to_
sentence
中使用link_to时出错
我在Rails中使用link_to和to_
sentence
时遇到了一些问题。此代码在页面上呈现为文本
浏览 0
提问于2017-05-22
得票数 0
2
回答
Jekyll : array_to_
sentence
_string未定义方法
有一个名为array_to_
sentence
_string的过滤器,它基本上连接了文档中记录的所有标签(是的,不需要手动循环每个标签) 我在代码中使用了{{ page.tags | array_to_
sentence
_stringlib/jekyll/filters.rb:153:in `array_to_
sentence
_string': undefined method `length' for nil:NilClass (
浏览 0
提问于2021-05-29
得票数 0
2
回答
如何将to_
sentence
添加到:集合
title="<%= superlative.name %>"></span></li><%= render :partial => 'superlative', :collection => @profile.superlatives.to_
sentence
%> 但是,这样做
浏览 0
修改于2011-09-28
得票数 1
回答已采纳
2
回答
连(
sentence
.split())查找句子中字数的改进
在python中查找句子中的单词数的标准方法似乎是使用len(
sentence
.split(<separator character(s)>))。
浏览 8
修改于2022-08-10
得票数 1
回答已采纳
3
回答
用java按降序输出Map.Entry<
Sentence
、Integer>
for (Map.Entry<
Sentence
, Integer> entry : ontology.ruleCount.entrySet()) if(entry.getValue
浏览 1
提问于2015-01-25
得票数 3
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券