├── README.md └── src ├── BM25 ├── data │ ├── README.MD │ └── stopword.txt └── main.py ├── Python常用库小例子.md ├── SpatialDropout1D.py ├── baidu_uie.py ├── base64转图片并压缩.py ├── data_loader ├── data │ ├── test.json │ └── train.json ├── readme.md └── 使用datasets加载数据.py ├── doccano_split.py ├── elasticsearch └── python操作elasticsearch.py ├── gradio基本实例.md ├── huggingface ├── 1.pipeline.md ├── 10.model.gnerate.md ├── 11.tansformers中的各种任务.md ├── 12.关于模型的输入和输出.md ├── 13.文本生成的几种方式.md ├── 2.tokenizer.assets │ ├── image-20230427100106028.png │ ├── image-20230427101723165.png │ └── image-20230427111254717.png ├── 2.tokenizer.md ├── 3.datasets.md ├── 4.models.md ├── 5.evaluate.md ├── 6.trainer.assets │ └── image-20230509175119276.png ├── 6.trainer.md ├── 7.data_collator.md ├── 8.optimum.md ├── 9.deepspeed.assets │ ├── image-20230419091554809.png │ ├── image-20230419091718073.png │ └── image-20230419091858240.png ├── 9.deepspeed.md ├── README.MD ├── 实战-BART对联生成.md ├── 实战-GPT2语言模型.md ├── 实战-LoRA微调.md ├── 实战-PPO可控文本生成.md ├── 实战-deepspeed+peft.md ├── 实战-seq2seq_deepspeed.md ├── 实战-中文命名实体识别.md ├── 实战-中文文本摘要.assets │ ├── image-20230427162206189.png │ └── image-20230427162245910.png ├── 实战-中文文本摘要.md ├── 实战-中文阅读理解.md ├── 实战-参数有效微调.md ├── 实战-文本分类.md ├── 实战-英文MASK语言模型.md ├── 实战-英文实体识别.md ├── 实战-英文文本摘要.assets │ └── v2-6b51d2fde0e2bf8a74c02fbef50d397d_720w.webp ├── 实战-英文文本摘要.md ├── 实战-英文翻译为中文.md └── 实战.语言模型代码生成.md ├── interface ├── README.MD ├── __init__.py ├── benchmark.lua ├── locust_test.py ├── restart_server.sh ├── server.log ├── server.py ├── start_server.sh ├── stop_server.sh ├── test_requests.py ├── test_requests.sh ├── test_service_streamer │ ├── __init__.py │ ├── __pycache__ │ │ └── bert_model.cpython-38.pyc │ ├── benchmark.lua │ ├── bert_model.py │ ├── server.log │ ├── server.py │ ├── start_server.sh │ ├── stop_server.sh │ └── wrk_result.txt ├── wrk ├── wrk_result.txt └── wrk_test.sh ├── lcs.py ├── logging记录日志.py ├── loguru打印日志.py ├── losses ├── WBCELoss.py ├── dsc_loss.py ├── focal_loss.py └── smooth_celoss.py ├── mask └── unilm_mask.py ├── models ├── LEAM.py └── transformers.py ├── notebook相关.md ├── play_with_vector ├── __init__.py ├── annoy_vector.py ├── data │ └── readme.md ├── faiss_vector.py ├── gensim_vector.py ├── sklearn_vector.py └── utils.py ├── segment.py ├── simple_lexicon ├── README.MD └── simple_lexicon.py ├── sql.md ├── stanza进行公司名实体识别.md ├── test_fastapi ├── README.MD ├── test.log └── test.py ├── test_flask ├── README.MD ├── gun.py ├── server.py └── test_requests.py ├── test_pypi └── xixiNLP │ ├── LICENSE │ ├── MANIFEST.in │ ├── README.md │ ├── dist │ ├── xixinlp-0.0.1-py3-none-any.whl │ └── xixinlp-0.0.1.tar.gz │ ├── examples │ └── test_seg.py │ ├── setup.py │ ├── test_seg.py │ ├── xixinlp.egg-info │ ├── PKG-INFO │ ├── SOURCES.txt │ ├── dependency_links.txt │ └── top_level.txt │ └── xixinlp │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-36.pyc │ └── __init__.cpython-38.pyc │ ├── algorithm │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ └── __init__.cpython-38.pyc │ └── seg │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── segment.cpython-36.pyc │ │ └── segment.cpython-38.pyc │ │ ├── seg2 │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-36.pyc │ │ │ ├── __init__.cpython-38.pyc │ │ │ ├── segment2.cpython-36.pyc │ │ │ └── segment2.cpython-38.pyc │ │ └── segment2.py │ │ └── segment.py │ ├── data │ ├── __init__.py │ └── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ └── __init__.cpython-38.pyc │ ├── gadgat │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── extract_time.cpython-36.pyc │ │ └── extract_time.cpython-38.pyc │ └── extract_time.py │ └── utils │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── __init__.cpython-38.pyc │ ├── logger.cpython-36.pyc │ ├── logger.cpython-38.pyc │ ├── time_it.cpython-36.pyc │ └── time_it.cpython-38.pyc │ ├── logger.py │ └── time_it.py ├── tokenization ├── test_tokenization.py ├── tokenization.py └── vocab.txt ├── torch分布式推理.py ├── torch版本的UIE实体识别接口.md ├── xixiNLP ├── README.MD ├── examples │ └── test_seg.py ├── test_seg.py └── xixinlp │ ├── __init__.py │ ├── __pycache__ │ └── __init__.cpython-36.pyc │ ├── algorithm │ ├── __init__.py │ ├── __pycache__ │ │ └── __init__.cpython-36.pyc │ └── seg │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ └── segment.cpython-36.pyc │ │ ├── seg2 │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-36.pyc │ │ │ └── segment2.cpython-36.pyc │ │ └── segment2.py │ │ └── segment.py │ ├── data │ ├── __init__.py │ └── __pycache__ │ │ └── __init__.cpython-36.pyc │ ├── gadgat │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ └── extract_time.cpython-36.pyc │ └── extract_time.py │ └── utils │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── logger.cpython-36.pyc │ └── time_it.cpython-36.pyc │ ├── logger.py │ └── time_it.py ├── 中文分句.py ├── 中文分句2.py ├── 中文分句3.py ├── 中英混合实体识别数据预处理.py ├── 使用字形嵌入.py ├── 使用拼音嵌入.py ├── 判断字符是否是中文、英文、数字.py ├── 判断是否是工作日.py ├── 加载词向量.py ├── 基于前缀树的实体识别.py ├── 多GPU数据处理.py ├── 多线程多进程相关 ├── 多线程.py ├── 多进程.py ├── 多进程处理文本例子.py └── 多进程多线程请求vllm.py ├── 多进程分词.py ├── 多进程调用websocket.py ├── 大模型推理 ├── 视觉模型推理.md └── 语言模型推理.md ├── 打印类的属性.py ├── 打印运行时间装饰器.py ├── 捕获具体的异常信息.py ├── 提取qq、微信、支付宝.py ├── 提取车牌号.py ├── 操作mysql.py ├── 文本相似度 ├── tfidf.py └── 词袋结合余弦相似度.py ├── 构建前缀树.py ├── 校阅比对.py ├── 根据地址提取省-市-区-街道.py ├── 根据地址获取经纬度.py ├── 根据字体生成汉字.py ├── 模型部署 ├── bottle.py ├── bottle部署.py └── test_request.py ├── 生成公司logo.py ├── 生成手机号、IMEI、IMSI、MAC.py ├── 自定义argparse.md ├── 英文实体识别标签重整.py ├── 获取天气信息.py ├── 装饰器封装try-except.py ├── 计算词向量间的相似度 ├── README.MD ├── annoy_vector.py ├── data │ └── 占位.txt ├── faiss_vector.py ├── gensim_vector.py ├── sentence_tranformer对比transformers.md ├── sklearn_vector.py ├── utils.py ├── 使用不同向量模型.py └── 多进程向量表征.py ├── 设计模式 ├── README.MD ├── 享元模式.py ├── 代理模式.py ├── 创建者模式.py ├── 单例模式.py ├── 原型模式.py ├── 命令模式.py ├── 备忘录模式.py ├── 外观模式.py ├── 工厂方法模式.py ├── 工厂模式.py ├── 应用设计模式.py ├── 抽象工厂模式.py ├── 桥模式.py ├── 模板方法.py ├── 状态模式.py ├── 策略模式.py ├── 组合模式.py ├── 职责链模式.py ├── 装饰模式.py ├── 观察者模式.py ├── 解释器模式.py ├── 访问者模式.py ├── 调停者模式.py ├── 迭代器模式.py └── 适配器模式.py ├── 词汇增强.py ├── 读取docx、pdf文件.py ├── 远程连接服务器并执行指令.py └── 通用注意力.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/README.md -------------------------------------------------------------------------------- /src/BM25/data/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/BM25/data/README.MD -------------------------------------------------------------------------------- /src/BM25/data/stopword.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/BM25/data/stopword.txt -------------------------------------------------------------------------------- /src/BM25/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/BM25/main.py -------------------------------------------------------------------------------- /src/Python常用库小例子.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/Python常用库小例子.md -------------------------------------------------------------------------------- /src/SpatialDropout1D.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/SpatialDropout1D.py -------------------------------------------------------------------------------- /src/baidu_uie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/baidu_uie.py -------------------------------------------------------------------------------- /src/base64转图片并压缩.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/base64转图片并压缩.py -------------------------------------------------------------------------------- /src/data_loader/data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/data_loader/data/test.json -------------------------------------------------------------------------------- /src/data_loader/data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/data_loader/data/train.json -------------------------------------------------------------------------------- /src/data_loader/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/data_loader/readme.md -------------------------------------------------------------------------------- /src/data_loader/使用datasets加载数据.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/data_loader/使用datasets加载数据.py -------------------------------------------------------------------------------- /src/doccano_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/doccano_split.py -------------------------------------------------------------------------------- /src/elasticsearch/python操作elasticsearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/elasticsearch/python操作elasticsearch.py -------------------------------------------------------------------------------- /src/gradio基本实例.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/gradio基本实例.md -------------------------------------------------------------------------------- /src/huggingface/1.pipeline.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/1.pipeline.md -------------------------------------------------------------------------------- /src/huggingface/10.model.gnerate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/10.model.gnerate.md -------------------------------------------------------------------------------- /src/huggingface/11.tansformers中的各种任务.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/11.tansformers中的各种任务.md -------------------------------------------------------------------------------- /src/huggingface/12.关于模型的输入和输出.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/12.关于模型的输入和输出.md -------------------------------------------------------------------------------- /src/huggingface/13.文本生成的几种方式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/13.文本生成的几种方式.md -------------------------------------------------------------------------------- /src/huggingface/2.tokenizer.assets/image-20230427100106028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/2.tokenizer.assets/image-20230427100106028.png -------------------------------------------------------------------------------- /src/huggingface/2.tokenizer.assets/image-20230427101723165.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/2.tokenizer.assets/image-20230427101723165.png -------------------------------------------------------------------------------- /src/huggingface/2.tokenizer.assets/image-20230427111254717.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/2.tokenizer.assets/image-20230427111254717.png -------------------------------------------------------------------------------- /src/huggingface/2.tokenizer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/2.tokenizer.md -------------------------------------------------------------------------------- /src/huggingface/3.datasets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/3.datasets.md -------------------------------------------------------------------------------- /src/huggingface/4.models.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/4.models.md -------------------------------------------------------------------------------- /src/huggingface/5.evaluate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/5.evaluate.md -------------------------------------------------------------------------------- /src/huggingface/6.trainer.assets/image-20230509175119276.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/6.trainer.assets/image-20230509175119276.png -------------------------------------------------------------------------------- /src/huggingface/6.trainer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/6.trainer.md -------------------------------------------------------------------------------- /src/huggingface/7.data_collator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/7.data_collator.md -------------------------------------------------------------------------------- /src/huggingface/8.optimum.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/8.optimum.md -------------------------------------------------------------------------------- /src/huggingface/9.deepspeed.assets/image-20230419091554809.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/9.deepspeed.assets/image-20230419091554809.png -------------------------------------------------------------------------------- /src/huggingface/9.deepspeed.assets/image-20230419091718073.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/9.deepspeed.assets/image-20230419091718073.png -------------------------------------------------------------------------------- /src/huggingface/9.deepspeed.assets/image-20230419091858240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/9.deepspeed.assets/image-20230419091858240.png -------------------------------------------------------------------------------- /src/huggingface/9.deepspeed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/9.deepspeed.md -------------------------------------------------------------------------------- /src/huggingface/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/README.MD -------------------------------------------------------------------------------- /src/huggingface/实战-BART对联生成.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-BART对联生成.md -------------------------------------------------------------------------------- /src/huggingface/实战-GPT2语言模型.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-GPT2语言模型.md -------------------------------------------------------------------------------- /src/huggingface/实战-LoRA微调.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-LoRA微调.md -------------------------------------------------------------------------------- /src/huggingface/实战-PPO可控文本生成.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-PPO可控文本生成.md -------------------------------------------------------------------------------- /src/huggingface/实战-deepspeed+peft.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-deepspeed+peft.md -------------------------------------------------------------------------------- /src/huggingface/实战-seq2seq_deepspeed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-seq2seq_deepspeed.md -------------------------------------------------------------------------------- /src/huggingface/实战-中文命名实体识别.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-中文命名实体识别.md -------------------------------------------------------------------------------- /src/huggingface/实战-中文文本摘要.assets/image-20230427162206189.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-中文文本摘要.assets/image-20230427162206189.png -------------------------------------------------------------------------------- /src/huggingface/实战-中文文本摘要.assets/image-20230427162245910.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-中文文本摘要.assets/image-20230427162245910.png -------------------------------------------------------------------------------- /src/huggingface/实战-中文文本摘要.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-中文文本摘要.md -------------------------------------------------------------------------------- /src/huggingface/实战-中文阅读理解.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-中文阅读理解.md -------------------------------------------------------------------------------- /src/huggingface/实战-参数有效微调.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-参数有效微调.md -------------------------------------------------------------------------------- /src/huggingface/实战-文本分类.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-文本分类.md -------------------------------------------------------------------------------- /src/huggingface/实战-英文MASK语言模型.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-英文MASK语言模型.md -------------------------------------------------------------------------------- /src/huggingface/实战-英文实体识别.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-英文实体识别.md -------------------------------------------------------------------------------- /src/huggingface/实战-英文文本摘要.assets/v2-6b51d2fde0e2bf8a74c02fbef50d397d_720w.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-英文文本摘要.assets/v2-6b51d2fde0e2bf8a74c02fbef50d397d_720w.webp -------------------------------------------------------------------------------- /src/huggingface/实战-英文文本摘要.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-英文文本摘要.md -------------------------------------------------------------------------------- /src/huggingface/实战-英文翻译为中文.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战-英文翻译为中文.md -------------------------------------------------------------------------------- /src/huggingface/实战.语言模型代码生成.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/huggingface/实战.语言模型代码生成.md -------------------------------------------------------------------------------- /src/interface/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/README.MD -------------------------------------------------------------------------------- /src/interface/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/interface/benchmark.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/benchmark.lua -------------------------------------------------------------------------------- /src/interface/locust_test.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | from locust import HttpUser, TaskSet, task 3 | """待补充""" 4 | -------------------------------------------------------------------------------- /src/interface/restart_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/restart_server.sh -------------------------------------------------------------------------------- /src/interface/server.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/server.log -------------------------------------------------------------------------------- /src/interface/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/server.py -------------------------------------------------------------------------------- /src/interface/start_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/start_server.sh -------------------------------------------------------------------------------- /src/interface/stop_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/stop_server.sh -------------------------------------------------------------------------------- /src/interface/test_requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_requests.py -------------------------------------------------------------------------------- /src/interface/test_requests.sh: -------------------------------------------------------------------------------- 1 | curl -X POST 'http://127.0.0.1:5000/ner' -H 'Content-Type:application/json' -d '{"text":"江苏警方通报特斯拉冲进店铺"}' -------------------------------------------------------------------------------- /src/interface/test_service_streamer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/interface/test_service_streamer/__pycache__/bert_model.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/__pycache__/bert_model.cpython-38.pyc -------------------------------------------------------------------------------- /src/interface/test_service_streamer/benchmark.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/benchmark.lua -------------------------------------------------------------------------------- /src/interface/test_service_streamer/bert_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/bert_model.py -------------------------------------------------------------------------------- /src/interface/test_service_streamer/server.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/server.log -------------------------------------------------------------------------------- /src/interface/test_service_streamer/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/server.py -------------------------------------------------------------------------------- /src/interface/test_service_streamer/start_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/start_server.sh -------------------------------------------------------------------------------- /src/interface/test_service_streamer/stop_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/stop_server.sh -------------------------------------------------------------------------------- /src/interface/test_service_streamer/wrk_result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/test_service_streamer/wrk_result.txt -------------------------------------------------------------------------------- /src/interface/wrk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/wrk -------------------------------------------------------------------------------- /src/interface/wrk_result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/wrk_result.txt -------------------------------------------------------------------------------- /src/interface/wrk_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/interface/wrk_test.sh -------------------------------------------------------------------------------- /src/lcs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/lcs.py -------------------------------------------------------------------------------- /src/logging记录日志.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/logging记录日志.py -------------------------------------------------------------------------------- /src/loguru打印日志.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/loguru打印日志.py -------------------------------------------------------------------------------- /src/losses/WBCELoss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/losses/WBCELoss.py -------------------------------------------------------------------------------- /src/losses/dsc_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/losses/dsc_loss.py -------------------------------------------------------------------------------- /src/losses/focal_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/losses/focal_loss.py -------------------------------------------------------------------------------- /src/losses/smooth_celoss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/losses/smooth_celoss.py -------------------------------------------------------------------------------- /src/mask/unilm_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/mask/unilm_mask.py -------------------------------------------------------------------------------- /src/models/LEAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/models/LEAM.py -------------------------------------------------------------------------------- /src/models/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/models/transformers.py -------------------------------------------------------------------------------- /src/notebook相关.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/notebook相关.md -------------------------------------------------------------------------------- /src/play_with_vector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/play_with_vector/annoy_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/play_with_vector/annoy_vector.py -------------------------------------------------------------------------------- /src/play_with_vector/data/readme.md: -------------------------------------------------------------------------------- 1 | 可以去[这里](https://github.com/cliuxinxin/TX-WORD2VEC-SMALL)下载: 2 | 3 | -------------------------------------------------------------------------------- /src/play_with_vector/faiss_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/play_with_vector/faiss_vector.py -------------------------------------------------------------------------------- /src/play_with_vector/gensim_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/play_with_vector/gensim_vector.py -------------------------------------------------------------------------------- /src/play_with_vector/sklearn_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/play_with_vector/sklearn_vector.py -------------------------------------------------------------------------------- /src/play_with_vector/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/play_with_vector/utils.py -------------------------------------------------------------------------------- /src/segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/segment.py -------------------------------------------------------------------------------- /src/simple_lexicon/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/simple_lexicon/README.MD -------------------------------------------------------------------------------- /src/simple_lexicon/simple_lexicon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/simple_lexicon/simple_lexicon.py -------------------------------------------------------------------------------- /src/sql.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/sql.md -------------------------------------------------------------------------------- /src/stanza进行公司名实体识别.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/stanza进行公司名实体识别.md -------------------------------------------------------------------------------- /src/test_fastapi/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_fastapi/README.MD -------------------------------------------------------------------------------- /src/test_fastapi/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_fastapi/test.log -------------------------------------------------------------------------------- /src/test_fastapi/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_fastapi/test.py -------------------------------------------------------------------------------- /src/test_flask/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_flask/README.MD -------------------------------------------------------------------------------- /src/test_flask/gun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_flask/gun.py -------------------------------------------------------------------------------- /src/test_flask/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_flask/server.py -------------------------------------------------------------------------------- /src/test_flask/test_requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_flask/test_requests.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/LICENSE -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md LICENSE -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/README.md -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/dist/xixinlp-0.0.1-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/dist/xixinlp-0.0.1-py3-none-any.whl -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/dist/xixinlp-0.0.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/dist/xixinlp-0.0.1.tar.gz -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/examples/test_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/examples/test_seg.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/setup.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/test_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/test_seg.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp.egg-info/PKG-INFO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp.egg-info/PKG-INFO -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp.egg-info/SOURCES.txt -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | xixinlp 2 | -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/__init__.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/__init__.py: -------------------------------------------------------------------------------- 1 | from . import seg -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__init__.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__init__.py: -------------------------------------------------------------------------------- 1 | from .segment2 import seg_jieba2 -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/segment2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/seg2/segment2.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/algorithm/seg/segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/algorithm/seg/segment.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/__init__.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/gadgat/extract_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/gadgat/extract_time.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .time_it import * -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-36.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-38.pyc -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/logger.py -------------------------------------------------------------------------------- /src/test_pypi/xixiNLP/xixinlp/utils/time_it.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/test_pypi/xixiNLP/xixinlp/utils/time_it.py -------------------------------------------------------------------------------- /src/tokenization/test_tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/tokenization/test_tokenization.py -------------------------------------------------------------------------------- /src/tokenization/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/tokenization/tokenization.py -------------------------------------------------------------------------------- /src/tokenization/vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/tokenization/vocab.txt -------------------------------------------------------------------------------- /src/torch分布式推理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/torch分布式推理.py -------------------------------------------------------------------------------- /src/torch版本的UIE实体识别接口.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/torch版本的UIE实体识别接口.md -------------------------------------------------------------------------------- /src/xixiNLP/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/README.MD -------------------------------------------------------------------------------- /src/xixiNLP/examples/test_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/examples/test_seg.py -------------------------------------------------------------------------------- /src/xixiNLP/test_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/test_seg.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/__init__.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/__init__.py: -------------------------------------------------------------------------------- 1 | from . import seg -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/__init__.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/__pycache__/segment.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/seg2/__init__.py: -------------------------------------------------------------------------------- 1 | from .segment2 import seg_jieba2 -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/seg2/__pycache__/segment2.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/seg2/segment2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/seg2/segment2.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/algorithm/seg/segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/algorithm/seg/segment.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/data/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/gadgat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/gadgat/__init__.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/gadgat/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/gadgat/__pycache__/extract_time.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/gadgat/extract_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/gadgat/extract_time.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .time_it import * -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/utils/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/utils/__pycache__/logger.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/utils/__pycache__/time_it.cpython-36.pyc -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/utils/logger.py -------------------------------------------------------------------------------- /src/xixiNLP/xixinlp/utils/time_it.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/xixiNLP/xixinlp/utils/time_it.py -------------------------------------------------------------------------------- /src/中文分句.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/中文分句.py -------------------------------------------------------------------------------- /src/中文分句2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/中文分句2.py -------------------------------------------------------------------------------- /src/中文分句3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/中文分句3.py -------------------------------------------------------------------------------- /src/中英混合实体识别数据预处理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/中英混合实体识别数据预处理.py -------------------------------------------------------------------------------- /src/使用字形嵌入.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/使用字形嵌入.py -------------------------------------------------------------------------------- /src/使用拼音嵌入.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/使用拼音嵌入.py -------------------------------------------------------------------------------- /src/判断字符是否是中文、英文、数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/判断字符是否是中文、英文、数字.py -------------------------------------------------------------------------------- /src/判断是否是工作日.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/判断是否是工作日.py -------------------------------------------------------------------------------- /src/加载词向量.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/加载词向量.py -------------------------------------------------------------------------------- /src/基于前缀树的实体识别.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/基于前缀树的实体识别.py -------------------------------------------------------------------------------- /src/多GPU数据处理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多GPU数据处理.py -------------------------------------------------------------------------------- /src/多线程多进程相关/多线程.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多线程多进程相关/多线程.py -------------------------------------------------------------------------------- /src/多线程多进程相关/多进程.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多线程多进程相关/多进程.py -------------------------------------------------------------------------------- /src/多线程多进程相关/多进程处理文本例子.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多线程多进程相关/多进程处理文本例子.py -------------------------------------------------------------------------------- /src/多线程多进程相关/多进程多线程请求vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多线程多进程相关/多进程多线程请求vllm.py -------------------------------------------------------------------------------- /src/多进程分词.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多进程分词.py -------------------------------------------------------------------------------- /src/多进程调用websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/多进程调用websocket.py -------------------------------------------------------------------------------- /src/大模型推理/视觉模型推理.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/大模型推理/视觉模型推理.md -------------------------------------------------------------------------------- /src/大模型推理/语言模型推理.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/大模型推理/语言模型推理.md -------------------------------------------------------------------------------- /src/打印类的属性.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/打印类的属性.py -------------------------------------------------------------------------------- /src/打印运行时间装饰器.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/打印运行时间装饰器.py -------------------------------------------------------------------------------- /src/捕获具体的异常信息.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/捕获具体的异常信息.py -------------------------------------------------------------------------------- /src/提取qq、微信、支付宝.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/提取qq、微信、支付宝.py -------------------------------------------------------------------------------- /src/提取车牌号.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/提取车牌号.py -------------------------------------------------------------------------------- /src/操作mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/操作mysql.py -------------------------------------------------------------------------------- /src/文本相似度/tfidf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/文本相似度/tfidf.py -------------------------------------------------------------------------------- /src/文本相似度/词袋结合余弦相似度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/文本相似度/词袋结合余弦相似度.py -------------------------------------------------------------------------------- /src/构建前缀树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/构建前缀树.py -------------------------------------------------------------------------------- /src/校阅比对.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/校阅比对.py -------------------------------------------------------------------------------- /src/根据地址提取省-市-区-街道.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/根据地址提取省-市-区-街道.py -------------------------------------------------------------------------------- /src/根据地址获取经纬度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/根据地址获取经纬度.py -------------------------------------------------------------------------------- /src/根据字体生成汉字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/根据字体生成汉字.py -------------------------------------------------------------------------------- /src/模型部署/bottle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/模型部署/bottle.py -------------------------------------------------------------------------------- /src/模型部署/bottle部署.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/模型部署/bottle部署.py -------------------------------------------------------------------------------- /src/模型部署/test_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/模型部署/test_request.py -------------------------------------------------------------------------------- /src/生成公司logo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/生成公司logo.py -------------------------------------------------------------------------------- /src/生成手机号、IMEI、IMSI、MAC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/生成手机号、IMEI、IMSI、MAC.py -------------------------------------------------------------------------------- /src/自定义argparse.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/自定义argparse.md -------------------------------------------------------------------------------- /src/英文实体识别标签重整.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/英文实体识别标签重整.py -------------------------------------------------------------------------------- /src/获取天气信息.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/获取天气信息.py -------------------------------------------------------------------------------- /src/装饰器封装try-except.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/装饰器封装try-except.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/README.MD -------------------------------------------------------------------------------- /src/计算词向量间的相似度/annoy_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/annoy_vector.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/data/占位.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/计算词向量间的相似度/faiss_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/faiss_vector.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/gensim_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/gensim_vector.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/sentence_tranformer对比transformers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/sentence_tranformer对比transformers.md -------------------------------------------------------------------------------- /src/计算词向量间的相似度/sklearn_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/sklearn_vector.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/utils.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/使用不同向量模型.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/使用不同向量模型.py -------------------------------------------------------------------------------- /src/计算词向量间的相似度/多进程向量表征.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/计算词向量间的相似度/多进程向量表征.py -------------------------------------------------------------------------------- /src/设计模式/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/README.MD -------------------------------------------------------------------------------- /src/设计模式/享元模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/享元模式.py -------------------------------------------------------------------------------- /src/设计模式/代理模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/代理模式.py -------------------------------------------------------------------------------- /src/设计模式/创建者模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/创建者模式.py -------------------------------------------------------------------------------- /src/设计模式/单例模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/单例模式.py -------------------------------------------------------------------------------- /src/设计模式/原型模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/原型模式.py -------------------------------------------------------------------------------- /src/设计模式/命令模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/命令模式.py -------------------------------------------------------------------------------- /src/设计模式/备忘录模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/备忘录模式.py -------------------------------------------------------------------------------- /src/设计模式/外观模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/外观模式.py -------------------------------------------------------------------------------- /src/设计模式/工厂方法模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/工厂方法模式.py -------------------------------------------------------------------------------- /src/设计模式/工厂模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/工厂模式.py -------------------------------------------------------------------------------- /src/设计模式/应用设计模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/应用设计模式.py -------------------------------------------------------------------------------- /src/设计模式/抽象工厂模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/抽象工厂模式.py -------------------------------------------------------------------------------- /src/设计模式/桥模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/桥模式.py -------------------------------------------------------------------------------- /src/设计模式/模板方法.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/模板方法.py -------------------------------------------------------------------------------- /src/设计模式/状态模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/状态模式.py -------------------------------------------------------------------------------- /src/设计模式/策略模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/策略模式.py -------------------------------------------------------------------------------- /src/设计模式/组合模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/组合模式.py -------------------------------------------------------------------------------- /src/设计模式/职责链模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/职责链模式.py -------------------------------------------------------------------------------- /src/设计模式/装饰模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/装饰模式.py -------------------------------------------------------------------------------- /src/设计模式/观察者模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/观察者模式.py -------------------------------------------------------------------------------- /src/设计模式/解释器模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/解释器模式.py -------------------------------------------------------------------------------- /src/设计模式/访问者模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/访问者模式.py -------------------------------------------------------------------------------- /src/设计模式/调停者模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/调停者模式.py -------------------------------------------------------------------------------- /src/设计模式/迭代器模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/迭代器模式.py -------------------------------------------------------------------------------- /src/设计模式/适配器模式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/设计模式/适配器模式.py -------------------------------------------------------------------------------- /src/词汇增强.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/词汇增强.py -------------------------------------------------------------------------------- /src/读取docx、pdf文件.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/读取docx、pdf文件.py -------------------------------------------------------------------------------- /src/远程连接服务器并执行指令.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/远程连接服务器并执行指令.py -------------------------------------------------------------------------------- /src/通用注意力.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taishan1994/python_common_code_collection/HEAD/src/通用注意力.py --------------------------------------------------------------------------------