将数据转换为它们的自然(可读)格式
项目描述
这是对 官方natural <https://github.com/tehmaze/natural> 仓库的临时fork,以添加Python 3支持,并允许pip在 –process-dependency-links 弃用的情况下继续工作。
一旦 python 3 pull request <https://github.com/tehmaze/natural/pull/13> 被合并并发布新版本,此包将被删除。
示例用法
基本用法
>>> from natural.file import accessed >>> print accessed(__file__) just now
我们说你的语言(有你的支持)
>>> import locale >>> locale.setlocale(locale.LC_MESSAGES, 'nl_NL') >>> print accessed(__file__) zojuist
错误/特性
你可以在GitHub上提交一个工单: https://github.com/tehmaze/natural/issues
文档
项目文档可以在 http://natural.rtfd.org/ 找到