Redian新闻
>
问电脑高手一个问题
avatar
问电脑高手一个问题# Living
i*t
1
对方公司 问我要一个同事的reference
让我回答几个问题 对同事的评价。
同时已经跟我说了。我当然是全力推荐。
问题主要有 技术啊 主动性啊 交流能力啊之类的
让我给出 1-10分的 评价
请问 怎样回答才更让同时被录取呢?
全是 10分 very good 是不是有点假?
多谢!
avatar
G*G
2
如何编写一个小程序,实现文本的单词抓取。
比如:一段文本
He looked at the girl sitting next to him, then he realized that he loved
her.
He pulled her close and kissed her beneath a blanket of stars, wondering how
on earth he'd been lucky enough to find her.
希望能把所有的单词都抓出来
he look at the ....
如果是复数,要换成原型,比如star
动词ed,动词ing等页要变成原型,比如 look, sit
不规则动词的过去式,不规则的名词复数等也要变换。
网上有这样的代码吗?请推荐。
avatar
i*s
3
我一直以为,这种题只有两个选项,10 or 0,好或者不好。
“全是 10分 very good 是不是有点假?”,我觉得你想多了。
avatar
m*j
4
你打算付多少钱?

her.
how

【在 G***G 的大作中提到】
: 如何编写一个小程序,实现文本的单词抓取。
: 比如:一段文本
: He looked at the girl sitting next to him, then he realized that he loved
: her.
: He pulled her close and kissed her beneath a blanket of stars, wondering how
: on earth he'd been lucky enough to find her.
: 希望能把所有的单词都抓出来
: he look at the ....
: 如果是复数,要换成原型,比如star
: 动词ed,动词ing等页要变成原型,比如 look, sit

avatar
y*f
5
你要干吗。

her.
how

【在 G***G 的大作中提到】
: 如何编写一个小程序,实现文本的单词抓取。
: 比如:一段文本
: He looked at the girl sitting next to him, then he realized that he loved
: her.
: He pulled her close and kissed her beneath a blanket of stars, wondering how
: on earth he'd been lucky enough to find her.
: 希望能把所有的单词都抓出来
: he look at the ....
: 如果是复数,要换成原型,比如star
: 动词ed,动词ing等页要变成原型,比如 look, sit

avatar
s*s
6
getting tokens is easy, stemming is harder.

her.
how

【在 G***G 的大作中提到】
: 如何编写一个小程序,实现文本的单词抓取。
: 比如:一段文本
: He looked at the girl sitting next to him, then he realized that he loved
: her.
: He pulled her close and kissed her beneath a blanket of stars, wondering how
: on earth he'd been lucky enough to find her.
: 希望能把所有的单词都抓出来
: he look at the ....
: 如果是复数,要换成原型,比如star
: 动词ed,动词ing等页要变成原型,比如 look, sit

avatar
p*p
7
改推荐信

【在 y*f 的大作中提到】
: 你要干吗。
:
: her.
: how

avatar
G*G
8
对。网上有这样的数据库吗,可以stemming。

【在 s******s 的大作中提到】
: getting tokens is easy, stemming is harder.
:
: her.
: how

avatar
kc
10
第一个学期C语言的作业。

how

【在 G***G 的大作中提到】
: 如何编写一个小程序,实现文本的单词抓取。
: 比如:一段文本
: He looked at the girl sitting next to him, then he realized that he loved
: her.
: He pulled her close and kissed her beneath a blanket of stars, wondering how
: on earth he'd been lucky enough to find her.
: 希望能把所有的单词都抓出来
: he look at the ....
: 如果是复数,要换成原型,比如star
: 动词ed,动词ing等页要变成原型,比如 look, sit

avatar
v*e
11
What are you trying to do? start another google? this is what basically
google search engine does in the first couple steps.
avatar
G*G
12
不是。我想做一个单词记忆器。把每天看过的网页里的所有单词都挖出来
然后 变成 原型。
然后 过滤掉自己已经掌握的单词,
就是每天要背的生单词了。

【在 p*****p 的大作中提到】
: 改推荐信
avatar
G*G
14
牛。
你是用什么算法来
变换名词复数为原型的?

【在 kc 的大作中提到】
: 第一个学期C语言的作业。
:
: how

avatar
m*j
15
没用。
多看c-span

【在 G***G 的大作中提到】
: 不是。我想做一个单词记忆器。把每天看过的网页里的所有单词都挖出来
: 然后 变成 原型。
: 然后 过滤掉自己已经掌握的单词,
: 就是每天要背的生单词了。

avatar
kc
16
别人帮我做的。。。不记得了。。。

【在 G***G 的大作中提到】
: 牛。
: 你是用什么算法来
: 变换名词复数为原型的?

avatar
G*G
17
你们老师怎么布置这个题目?
你的程序单词转换准确率高吗?
全吗?

【在 kc 的大作中提到】
: 别人帮我做的。。。不记得了。。。
avatar
kc
18
我程序早没了。 我记得就是把单词跟词典对比。 反正又不要求performance。

【在 G***G 的大作中提到】
: 你们老师怎么布置这个题目?
: 你的程序单词转换准确率高吗?
: 全吗?

avatar
G*G
19
我也是用的词典对比法。
关键是哪儿有全的
单词变换的词典?
比如 stars -》 star
一个一个的手输入吗?

【在 kc 的大作中提到】
: 我程序早没了。 我记得就是把单词跟词典对比。 反正又不要求performance。
avatar
D*r
20
这个是典型的regular expression应用啊,任何支持regex的语言都可以,
网上应该也有online的,呆会儿我去找找。你付多少钱
avatar
m*j
21
俺第一帖就问过了。
直接被楼主无视。

【在 D******r 的大作中提到】
: 这个是典型的regular expression应用啊,任何支持regex的语言都可以,
: 网上应该也有online的,呆会儿我去找找。你付多少钱

avatar
G*G
22
我这是自己学英语用,不商品化的。

【在 D******r 的大作中提到】
: 这个是典型的regular expression应用啊,任何支持regex的语言都可以,
: 网上应该也有online的,呆会儿我去找找。你付多少钱

avatar
F*Q
24

her.
how
only a few lines in perl:
#### BEGIN OF readit.pl SCRIPT ####
#!/usr/bin/perl
require("variation.pl");
@words=split(/[\s,.;:]+/,join(/ /,<>));
print join(" ",map {defined($V{$_})?$V{$_}:$_} @words);
#### END OF readit.pl SCRIPT ####
#### BEGIN OF variations.pl SCRIPT ####
%V={};
$V{'sitting'}='sit';
$V{'looked'}='look';
## you can add more
#### END OF variations.pl SCRIPT ####
to run it
perl readit.pl < text.txt
you get:
He look at the girl sit next to me then he realized that he loved her He
pulled her close and kissed her beneath a blanket of stars wondering how on
earth he'd been lucky enough to find her
(notice I only replaced sitting and looked, you should build a lib
easily from a dictionary)

【在 G***G 的大作中提到】
: 如何编写一个小程序,实现文本的单词抓取。
: 比如:一段文本
: He looked at the girl sitting next to him, then he realized that he loved
: her.
: He pulled her close and kissed her beneath a blanket of stars, wondering how
: on earth he'd been lucky enough to find her.
: 希望能把所有的单词都抓出来
: he look at the ....
: 如果是复数,要换成原型,比如star
: 动词ed,动词ing等页要变成原型,比如 look, sit

avatar
D*r
25
你这个不现实,怎么可能让人一个个把所有单词可能的变形都输进去。还是
得用现成的词典

【在 F***Q 的大作中提到】
:
: her.
: how
: only a few lines in perl:
: #### BEGIN OF readit.pl SCRIPT ####
: #!/usr/bin/perl
: require("variation.pl");
: @words=split(/[\s,.;:]+/,join(/ /,<>));
: print join(" ",map {defined($V{$_})?$V{$_}:$_} @words);
: #### END OF readit.pl SCRIPT ####

avatar
F*Q
26

怎么可能会让人一个一个输呢?那个variation.pl就是一个text file,当然是用另外
一个脚本通过字典生成了

【在 D******r 的大作中提到】
: 你这个不现实,怎么可能让人一个个把所有单词可能的变形都输进去。还是
: 得用现成的词典

avatar
D*r
27
这个通过字典生成才是主要工作,你没给code啊。不过楼主小气的很,我给了答案
连包子都没一个,支持你不给

【在 F***Q 的大作中提到】
:
: 怎么可能会让人一个一个输呢?那个variation.pl就是一个text file,当然是用另外
: 一个脚本通过字典生成了

avatar
F*Q
28

obviously

【在 D******r 的大作中提到】
: 这个通过字典生成才是主要工作,你没给code啊。不过楼主小气的很,我给了答案
: 连包子都没一个,支持你不给

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。