制作单词列表的程序。 [英] Program that makes a list of words.

查看:77
本文介绍了制作单词列表的程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许这是一个错误的群体,如果是这样,我想指向一个更好的群体。

无论如何,这里的问题是:


我需要一个程序来制作一个文本文件的单词列表。


例如取文字:


------------------------------------

生存还是毁灭;多数民众赞成:问题 -

tion。

--------------------------- --------------


将返回:


为2

不是1

或1

问题1

多数民众赞成1

1

到1

到1

.. 1

,1

:1

; 1

- 1

从这个例子可以看出,我希望程序能够统计

字和

interpunctation,我想让它在to和to之间产生差异。并且

To,

我也想要它数:


ques

这个


as


问题1

- 1

任何帮助都会不胜感激!

Maybe this is the wrong group, if so I would like to be pointed
to a better group.
Anyway here''s the problem:

I would need a program that makes a list of words of a text-file.

For example take the text:

------------------------------------
To be, or not to be; thats: the ques-
tion.
-----------------------------------------

would return:

be 2
not 1
or 1
question 1
thats 1
the 1
To 1
to 1
.. 1
, 1
: 1
; 1
- 1
As can be seen from this example, I want the program to count both
words and
interpunctation, and I want it to make a difference between "to" and
"To",
I also want it to count:

ques
-tion

as

question 1
- 1
Any help would be appreciated!

推荐答案

lu ********** @ yahoo.com 写道:
lu**********@yahoo.com writes:

>任何帮助将不胜感激!
>Any help would be appreciated!



您寻求的结果(家庭作业?)通常被称为一致性。


-

Chris。

The result you seek (homework?) is typically termed a concordance.

--
Chris.





Chris McDonald skrev:


Chris McDonald skrev:
lu ********** @ yahoo.com 写道:
lu**********@yahoo.com writes:

任何帮助将不胜感激!
Any help would be appreciated!



您寻求的结果(家庭作业?)通常被称为一致性。


-

克里斯。


The result you seek (homework?) is typically termed a concordance.

--
Chris.



感谢您帮助我。

现在我知道这是什么名字:一致。

我猜那是'某种舞蹈?


这不是家庭作业,我不是计算机科学家。


我真的很感激,如果有人能给我一个URL

,我可以找到这样的程序。

Thank you for helping me.
Now I know what''s the name is: concordance.
I guess that''s some kind of dance?

It''s not homework, I''m not a computerscientist.

I really would appreciate if someone can give me the URL
where I can find such a program.


lu ********** @ yahoo.com 写道:
lu**********@yahoo.com writes:

>感谢您帮助我。
现在我知道名字是什么:一致性。
我猜那是'某种舞蹈?
>Thank you for helping me.
Now I know what''s the name is: concordance.
I guess that''s some kind of dance?


>这不是家庭作业,我不是计算机科学家。
>It''s not homework, I''m not a computerscientist.


>我真的很感激,如果有人可以给我一个URL
我可以找到这样的程序。
>I really would appreciate if someone can give me the URL
where I can find such a program.



这是一个开始:

http://www.google.com/search?client= ...... UTF-8& oe = UTF-8


-

克里斯。

Here''s a start:

http://www.google.com/search?client=...UTF-8&oe=UTF-8

--
Chris.


这篇关于制作单词列表的程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆