分两种情况:
- 代码仓库管理者给你添加该仓库的写入权限,这样的话可以直接push
- 如果不能直接push(大多数情况),采用经典的fork & pull request来提交代码,下面讲述这种情况
例如有个仓库https://github.com/ecomfe/esui.git,其采用了经典的分支开发模型,稳定后的代码提交到master分支,其余特性则在dev分支上进行开发,待成熟后合并回master分支。
| """Information Retrieval metrics | |
| Useful Resources: | |
| http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
| http://www.nii.ac.jp/TechReports/05-014E.pdf | |
| http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
| http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
| Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
| """ | |
| import numpy as np |
| { | |
| "New York": [ | |
| "New York", | |
| "Buffalo", | |
| "Rochester", | |
| "Yonkers", | |
| "Syracuse", | |
| "Albany", | |
| "New Rochelle", | |
| "Mount Vernon", |
| import asyncio | |
| import os | |
| from aiohttp import web | |
| from aiohttp import streamer | |
| @streamer | |
| async def file_sender(writer, file_path=None): | |
| """ |
| - a 形容词 | |
| - ad 副形词 | |
| - ag 形容词性语素 | |
| - an 名形词 | |
| - b 区别词 | |
| - c 连词 | |
| - d 副词 | |
| - df | |
| - dg 副语素 | |
| - e 叹词 |
| [ | |
| { "city": "Abbeville", "state": "Louisiana" }, | |
| { "city": "Aberdeen", "state": "Maryland" }, | |
| { "city": "Aberdeen", "state": "Mississippi" }, | |
| { "city": "Aberdeen", "state": "South Dakota" }, | |
| { "city": "Aberdeen", "state": "Washington" }, | |
| { "city": "Abilene", "state": "Texas" }, | |
| { "city": "Abilene", "state": "Kansas" }, | |
| { "city": "Abingdon", "state": "Virginia" }, | |
| { "city": "Abington", "state": "Massachusetts" }, |