mirror of
				https://github.com/suyiiyii/nonebot-bison.git
				synced 2025-11-04 21:44:52 +08:00 
			
		
		
		
	* 🎈 perf(platform/bilibili): 增加了相似度计算前文本的预处理 将动态和简介文本中较长的一段按照较短的一段进行截取(分了从前截和从后截的两种情况) * 🐞 fix(bilibili): 修复视频简介多余空格的bug * 🦄 refactor(bilibili): 更改文本相似度比较函数
		
			
				
	
	
		
			328 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			328 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
 | 
						|
# Created by https://www.toptal.com/developers/gitignore/api/python,linux,vim
 | 
						|
# Edit at https://www.toptal.com/developers/gitignore?templates=python,linux,vim
 | 
						|
 | 
						|
### Linux ###
 | 
						|
*~
 | 
						|
 | 
						|
# temporary files which can be created if a process still has a handle open of a deleted file
 | 
						|
.fuse_hidden*
 | 
						|
 | 
						|
# KDE directory preferences
 | 
						|
.directory
 | 
						|
 | 
						|
# Linux trash folder which might appear on any partition or disk
 | 
						|
.Trash-*
 | 
						|
 | 
						|
# .nfs files are created when an open file is removed but is still being accessed
 | 
						|
.nfs*
 | 
						|
 | 
						|
### Python ###
 | 
						|
# Byte-compiled / optimized / DLL files
 | 
						|
__pycache__/
 | 
						|
*.py[cod]
 | 
						|
*$py.class
 | 
						|
venv_test/
 | 
						|
 | 
						|
# C extensions
 | 
						|
*.so
 | 
						|
 | 
						|
# Distribution / packaging
 | 
						|
.Python
 | 
						|
build/
 | 
						|
develop-eggs/
 | 
						|
dist/
 | 
						|
downloads/
 | 
						|
eggs/
 | 
						|
.eggs/
 | 
						|
lib/
 | 
						|
lib64/
 | 
						|
parts/
 | 
						|
sdist/
 | 
						|
var/
 | 
						|
wheels/
 | 
						|
pip-wheel-metadata/
 | 
						|
share/python-wheels/
 | 
						|
*.egg-info/
 | 
						|
.installed.cfg
 | 
						|
*.egg
 | 
						|
MANIFEST
 | 
						|
 | 
						|
# PyInstaller
 | 
						|
#  Usually these files are written by a python script from a template
 | 
						|
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
 | 
						|
*.manifest
 | 
						|
*.spec
 | 
						|
 | 
						|
# Installer logs
 | 
						|
pip-log.txt
 | 
						|
pip-delete-this-directory.txt
 | 
						|
 | 
						|
# Unit test / coverage reports
 | 
						|
htmlcov/
 | 
						|
.tox/
 | 
						|
.nox/
 | 
						|
.coverage
 | 
						|
.coverage.*
 | 
						|
.cache
 | 
						|
nosetests.xml
 | 
						|
coverage.xml
 | 
						|
*.cover
 | 
						|
*.py,cover
 | 
						|
.hypothesis/
 | 
						|
.pytest_cache/
 | 
						|
pytestdebug.log
 | 
						|
 | 
						|
# Translations
 | 
						|
*.mo
 | 
						|
*.pot
 | 
						|
 | 
						|
# Django stuff:
 | 
						|
*.log
 | 
						|
local_settings.py
 | 
						|
db.sqlite3
 | 
						|
db.sqlite3-journal
 | 
						|
 | 
						|
# Flask stuff:
 | 
						|
instance/
 | 
						|
.webassets-cache
 | 
						|
 | 
						|
# Scrapy stuff:
 | 
						|
.scrapy
 | 
						|
 | 
						|
# Sphinx documentation
 | 
						|
docs/_build/
 | 
						|
doc/_build/
 | 
						|
 | 
						|
# PyBuilder
 | 
						|
target/
 | 
						|
 | 
						|
# Jupyter Notebook
 | 
						|
.ipynb_checkpoints
 | 
						|
 | 
						|
# IPython
 | 
						|
profile_default/
 | 
						|
ipython_config.py
 | 
						|
 | 
						|
# pyenv
 | 
						|
.python-version
 | 
						|
 | 
						|
# pipenv
 | 
						|
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
 | 
						|
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
 | 
						|
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
 | 
						|
#   install all needed dependencies.
 | 
						|
#Pipfile.lock
 | 
						|
 | 
						|
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
 | 
						|
__pypackages__/
 | 
						|
 | 
						|
# Celery stuff
 | 
						|
celerybeat-schedule
 | 
						|
celerybeat.pid
 | 
						|
 | 
						|
# SageMath parsed files
 | 
						|
*.sage.py
 | 
						|
 | 
						|
# Environments
 | 
						|
.env
 | 
						|
.venv
 | 
						|
env/
 | 
						|
venv/
 | 
						|
ENV/
 | 
						|
env.bak/
 | 
						|
venv.bak/
 | 
						|
pythonenv*
 | 
						|
venv_test/
 | 
						|
 | 
						|
# Spyder project settings
 | 
						|
.spyderproject
 | 
						|
.spyproject
 | 
						|
 | 
						|
# Rope project settings
 | 
						|
.ropeproject
 | 
						|
 | 
						|
# mkdocs documentation
 | 
						|
/site
 | 
						|
 | 
						|
# mypy
 | 
						|
.mypy_cache/
 | 
						|
.dmypy.json
 | 
						|
dmypy.json
 | 
						|
 | 
						|
# Pyre type checker
 | 
						|
.pyre/
 | 
						|
 | 
						|
# pytype static type analyzer
 | 
						|
.pytype/
 | 
						|
 | 
						|
# profiling data
 | 
						|
.prof
 | 
						|
 | 
						|
### Vim ###
 | 
						|
# Swap
 | 
						|
[._]*.s[a-v][a-z]
 | 
						|
!*.svg  # comment out if you don't need vector files
 | 
						|
[._]*.sw[a-p]
 | 
						|
[._]s[a-rt-v][a-z]
 | 
						|
[._]ss[a-gi-z]
 | 
						|
[._]sw[a-p]
 | 
						|
 | 
						|
# Session
 | 
						|
Session.vim
 | 
						|
Sessionx.vim
 | 
						|
 | 
						|
# Temporary
 | 
						|
.netrwhist
 | 
						|
# Auto-generated tag files
 | 
						|
tags
 | 
						|
# Persistent undo
 | 
						|
[._]*.un~
 | 
						|
 | 
						|
### Node ###
 | 
						|
# Logs
 | 
						|
logs
 | 
						|
*.log
 | 
						|
npm-debug.log*
 | 
						|
yarn-debug.log*
 | 
						|
yarn-error.log*
 | 
						|
lerna-debug.log*
 | 
						|
.pnpm-debug.log*
 | 
						|
 | 
						|
# Diagnostic reports (https://nodejs.org/api/report.html)
 | 
						|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
 | 
						|
 | 
						|
# Runtime data
 | 
						|
pids
 | 
						|
*.pid
 | 
						|
*.seed
 | 
						|
*.pid.lock
 | 
						|
 | 
						|
# Directory for instrumented libs generated by jscoverage/JSCover
 | 
						|
lib-cov
 | 
						|
 | 
						|
# Coverage directory used by tools like istanbul
 | 
						|
coverage
 | 
						|
*.lcov
 | 
						|
 | 
						|
# nyc test coverage
 | 
						|
.nyc_output
 | 
						|
 | 
						|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
 | 
						|
.grunt
 | 
						|
 | 
						|
# Bower dependency directory (https://bower.io/)
 | 
						|
bower_components
 | 
						|
 | 
						|
# node-waf configuration
 | 
						|
.lock-wscript
 | 
						|
 | 
						|
# Compiled binary addons (https://nodejs.org/api/addons.html)
 | 
						|
build/Release
 | 
						|
 | 
						|
# Dependency directories
 | 
						|
node_modules/
 | 
						|
jspm_packages/
 | 
						|
 | 
						|
# Snowpack dependency directory (https://snowpack.dev/)
 | 
						|
web_modules/
 | 
						|
 | 
						|
# TypeScript cache
 | 
						|
*.tsbuildinfo
 | 
						|
 | 
						|
# Optional npm cache directory
 | 
						|
.npm
 | 
						|
 | 
						|
# Optional eslint cache
 | 
						|
.eslintcache
 | 
						|
 | 
						|
# Microbundle cache
 | 
						|
.rpt2_cache/
 | 
						|
.rts2_cache_cjs/
 | 
						|
.rts2_cache_es/
 | 
						|
.rts2_cache_umd/
 | 
						|
 | 
						|
# Optional REPL history
 | 
						|
.node_repl_history
 | 
						|
 | 
						|
# Output of 'npm pack'
 | 
						|
*.tgz
 | 
						|
 | 
						|
# Yarn Integrity file
 | 
						|
.yarn-integrity
 | 
						|
 | 
						|
# dotenv environment variables file
 | 
						|
.env
 | 
						|
.env.test
 | 
						|
.env.production
 | 
						|
 | 
						|
# parcel-bundler cache (https://parceljs.org/)
 | 
						|
.cache
 | 
						|
.parcel-cache
 | 
						|
 | 
						|
# Next.js build output
 | 
						|
.next
 | 
						|
out
 | 
						|
 | 
						|
# Nuxt.js build / generate output
 | 
						|
.nuxt
 | 
						|
dist
 | 
						|
 | 
						|
# Gatsby files
 | 
						|
.cache/
 | 
						|
# Comment in the public line in if your project uses Gatsby and not Next.js
 | 
						|
# https://nextjs.org/blog/next-9-1#public-directory-support
 | 
						|
# public
 | 
						|
 | 
						|
# vuepress build output
 | 
						|
.vuepress/dist
 | 
						|
docs/.vuepress/.temp/
 | 
						|
 | 
						|
# Serverless directories
 | 
						|
.serverless/
 | 
						|
 | 
						|
# FuseBox cache
 | 
						|
.fusebox/
 | 
						|
 | 
						|
# DynamoDB Local files
 | 
						|
.dynamodb/
 | 
						|
 | 
						|
# TernJS port file
 | 
						|
.tern-port
 | 
						|
 | 
						|
# Stores VSCode versions used for testing VSCode extensions
 | 
						|
.vscode-test
 | 
						|
 | 
						|
# yarn v2
 | 
						|
.yarn/cache
 | 
						|
.yarn/unplugged
 | 
						|
.yarn/build-state.yml
 | 
						|
.yarn/install-state.gz
 | 
						|
.pnp.*
 | 
						|
 | 
						|
### yarn ###
 | 
						|
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored
 | 
						|
 | 
						|
.yarn/*
 | 
						|
!.yarn/releases
 | 
						|
!.yarn/plugins
 | 
						|
!.yarn/sdks
 | 
						|
!.yarn/versions
 | 
						|
 | 
						|
# if you are NOT using Zero-installs, then:
 | 
						|
# comment the following lines
 | 
						|
!.yarn/cache
 | 
						|
 | 
						|
# and uncomment the following lines
 | 
						|
# .pnp.*
 | 
						|
 | 
						|
### macOS ###
 | 
						|
.DS_Store
 | 
						|
 | 
						|
# End of https://www.toptal.com/developers/gitignore/api/python,linux,vim
 | 
						|
data*/*
 | 
						|
.env.*
 | 
						|
.vim/*
 | 
						|
!dist/.gitkeep
 | 
						|
.vscode
 |