清单1说明了一个简单的文档分类程序可能是什么样子。
Listing 1 shows what a simple document classifier might look like.
例如,在文档分类程序中,显然需要向用户显示“下一个文件”,然后对这个文件进行适当的分类。
For instance, in a document-classification program, the obvious thing to do is to display "the next file" to the user, then file it appropriately.
In fact, as a little helper, notice what it's sort of automatically including for me: What's this thing here?
事实上,作为一个帮助程序,请注意,它为我自动分类:这个是什么东西?
I'm going to use my own special program that will color code things for me in class, but the idea is the same; it's a text editor.
我将用我自己专门的程序,那个会分类为我标出代码的颜色,但是那个思想是一样的,这是一个文本编辑器。
应用推荐