上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页
摘要: The Auth System 认证系统TempAuth The auth system for Swift is loosely based on the auth system from the existing Rackspace architecture – actually from a few existing auth systems – and is therefore a bit disjointed. The distilled points about it are:Swift的认证系统松散地基于已存在的Rackspace架构的认证系统—实际上来自于一些已存在的认证系统. 阅读全文
posted @ 2011-10-26 18:04 牛皮糖NewPtone 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: cURL 是一个利用URL语法规定来传输文件和数据的工具,支持很多协议,如HTTP、FTP、TELNET等。本文主要是介绍使用该工具和HTTP协议与swift服务如何交互。cURL允许你从命令行或shell脚本传送和接收HTTP的请求和响应。这使得直接与ReST的API工作而无需其他客服端APIs成为可能。本文,我们需要使用到以下的cURL命令行选项:-X METHOD 描述HTTP的请求方法(HEAD, GET等) -D Dump 将HTTP响应头部到stdout.-H HEADER 描述一个在请求中的HTTP\HTTPS头部.-v 使用操作的过程更加详细1.认证In order to .. 阅读全文
posted @ 2011-10-07 17:12 牛皮糖NewPtone 阅读(10382) 评论(7) 推荐(2) 编辑
摘要: Note在阅读本文之外,你可以参考来自于zzcase精心制作的简明swift安装指南和使用已经打包好的配置文件以及笨笨blog所写的Swift在Ubuntu系统上的安装与配置按照本人的一贯风格,采用注解和部分翻译的方式来介绍Swift的SAIO安装Alpha:Created in 2011.9.24Updated:1st 2011.9.27 修正了调试结果2rd 2011.9.29 增加一些注释Instructions for setting up a development VM 搭建开发虚拟机This documents setting up a virtual machine for . 阅读全文
posted @ 2011-09-24 11:35 牛皮糖NewPtone 阅读(5263) 评论(53) 推荐(0) 编辑
摘要: doctest模块搜索类似于交互式Python会话的文本段,然后执行这些会话来验证他们是否如所示的那样。有一些常见使用doctest的方式: 通过检测所有的文档中的交互式例子输出正常来检查一个模块的文档字符串为最新的。 通过验证来自测试文件或者测试对象的交互式例子的输出像预期一样来执行回归测试。 为一个包编写教程文档,逐字地用输入-输出例子来说明。取决与这个例子或者说明文本是否强调,有些“逐字测试”或者“可执行文档”的味道。 以下是一个来自官方文档中的例子:View Code """Thisisthe"example"m... 阅读全文
posted @ 2011-09-19 22:58 牛皮糖NewPtone 阅读(4522) 评论(0) 推荐(0) 编辑
摘要: 7.3Developing and Evaluating Chunkers 开发和评价分块器 Now you have a taste of what chunking does, but we haven't explained how to evaluate chunkers. As usual, this requires a suitably annotated corpus. We begin by looking at the mechanics of converting IOB format into an NLTK tree, then at how this is 阅读全文
posted @ 2011-09-15 22:05 牛皮糖NewPtone 阅读(2678) 评论(0) 推荐(1) 编辑
摘要: 7.2Chunking分块 The basic technique we will use for entity detection is chunking, which segments and labels multi-token sequences as illustrated in Figure 7.2. The smaller boxes show the word-level tokenization and part-of-speech tagging, while the large boxes show higher-level chunking. Each of thes. 阅读全文
posted @ 2011-09-14 10:05 牛皮糖NewPtone 阅读(4009) 评论(0) 推荐(1) 编辑
摘要: Chapter7 Extracting Information from Text 从文本提取信息 For any given question, it's likely that someone has written the answer down somewhere. The amount of natural language text that is available in electronic form is truly staggering(令人惊愕的), and is increasing every day. However, the complexity of n 阅读全文
posted @ 2011-09-07 23:30 牛皮糖NewPtone 阅读(5548) 评论(0) 推荐(0) 编辑
摘要: 6.10Exercises 练习 ☼ Read up on one of the language technologies mentioned in this section, such as word sense disambiguation, semantic role labeling, question answering, machine translation, named entity detection. Find out what type and quantity of annotated data is required for... 阅读全文
posted @ 2011-09-05 23:33 牛皮糖NewPtone 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: 6.9Further Reading深入阅读 Please consult http://www.nltk.org/ for further materials on this chapter and on how to install external machine learning packages, such as Weka, Mallet, TADM, and MEGAM. For more examples of classification and machine learning with NLTK, please see the classification HOWTOs . 阅读全文
posted @ 2011-09-05 23:30 牛皮糖NewPtone 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 6.8Summary小结 Modeling the linguistic data found in corpora can help us to understand linguistic patterns, and can be used to make predictions about new language data. 建模语料库中的语言数据可以帮助我们理解语言模型,并且可以用于进行关于新语言数据的预测。 Supervised classifiers use labeled training corpora to build models tha... 阅读全文
posted @ 2011-09-05 23:28 牛皮糖NewPtone 阅读(656) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 24 下一页