Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from YaoFANGUK:main #17

Open
wants to merge 464 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
464 commits
Select commit Hold shift + click to select a range
7f00068
Update README_en.md
YaoFANGUK Dec 22, 2021
dfd85ec
Update README.md
YaoFANGUK Dec 22, 2021
1b705fc
Update README.md
YaoFANGUK Dec 22, 2021
d0a89ad
Update README.md
YaoFANGUK Dec 23, 2021
0d3d031
Update README.md
YaoFANGUK Dec 23, 2021
84d0965
Update gui.py
YaoFANGUK Dec 23, 2021
f43e67f
使用subprocess避免弹出cmd黑框
YaoFANGUK Dec 23, 2021
3a05a28
Update README.md
YaoFANGUK Dec 24, 2021
1647b71
Update README_en.md
YaoFANGUK Dec 24, 2021
bde18ad
Update and rename packaging.py to makedist.py
YaoFANGUK Dec 24, 2021
fbafbf9
感谢金主爸爸jetbrain的支持
YaoFANGUK Dec 25, 2021
8406465
感谢jetbrains的支持
YaoFANGUK Dec 25, 2021
2e6f288
Update README.md
YaoFANGUK Dec 25, 2021
636b7a7
Update README_en.md
YaoFANGUK Dec 25, 2021
d4161de
Merge remote-tracking branch 'parent/main'
eritpchy Dec 25, 2021
fa26210
fix bug
YaoFANGUK Dec 25, 2021
b14203b
Merge remote-tracking branch 'parent/main'
eritpchy Dec 25, 2021
24c3f77
Update requirements.txt
YaoFANGUK Dec 27, 2021
6dc1447
* fix 英文错轴
eritpchy Dec 28, 2021
19e097b
Update config.py
YaoFANGUK Jan 17, 2022
6143b2f
修复完成任务后无法继续打开视频的bug
YaoFANGUK Jan 18, 2022
c4a3990
删除缓存占用
YaoFANGUK Jan 18, 2022
3b9f325
修复异常推出程序时垃圾不删除的问题
YaoFANGUK Mar 21, 2022
7a12406
新增批处理
YaoFANGUK Mar 21, 2022
b3cc889
添加线程锁
YaoFANGUK Mar 21, 2022
2a919b8
修复英文识别
YaoFANGUK Mar 23, 2022
8fe7877
* Sushi: 使用本地临时路径, 提高同步时间轴处理速度
eritpchy Mar 23, 2022
185d7bc
* 英文分词: typoMap.json 改为正则识别
eritpchy Mar 23, 2022
b52f947
+ 跳过ocr步骤, 进行英文分词,同步时间轴等等..
eritpchy Mar 23, 2022
ca28772
* 英文分词优化
eritpchy Mar 23, 2022
8ee0e29
* 调整默认识别范围
eritpchy Mar 23, 2022
35774dc
* 改进抽取英文字幕流程, 支持整行断句抽取
eritpchy Mar 23, 2022
71bb491
修复英文识别时出现中文字符的问题
YaoFANGUK Mar 23, 2022
2745473
* 英文分词优化:Dr.
eritpchy Mar 23, 2022
e183cde
修复坐标bug
YaoFANGUK Mar 23, 2022
822a42c
* 抽取英文字幕优化
eritpchy Mar 23, 2022
9a1e662
Merge remote-tracking branch 'parent/main'
eritpchy Mar 23, 2022
bfef7d1
* 修复视频文件路径含有空格时会导致vsf命令调用失败
eritpchy Mar 23, 2022
e01ba69
* 修复视频文件路径含有空格时会导致vsf命令调用失败
eritpchy Mar 23, 2022
3fe73a8
* 英文分词: typoMap.json 改为正则识别
eritpchy Mar 23, 2022
1df686d
修复识别时存在的字幕乱序bug
YaoFANGUK Mar 23, 2022
453adff
Merge pull request #90 from eritpchy/patch-6
YaoFANGUK Mar 23, 2022
57283c8
Merge pull request #89 from eritpchy/patch-5
YaoFANGUK Mar 23, 2022
254ef9a
* 英文分词优化
eritpchy Mar 23, 2022
a40f19f
* 英文分词优化:Dr.
eritpchy Mar 23, 2022
ba9c931
Merge pull request #91 from eritpchy/patch-7
YaoFANGUK Mar 23, 2022
805d158
* merge parent/main
eritpchy Mar 23, 2022
887703b
Add files via upload
YaoFANGUK Mar 23, 2022
b381b3a
Update requirements.txt
YaoFANGUK Mar 23, 2022
a08eba5
Delete test_en_ch.mp4
YaoFANGUK Mar 23, 2022
1bf3936
Add files via upload
YaoFANGUK Mar 23, 2022
6bf839b
Fix UnicodeDecodeError
TheFierceWarrior Mar 26, 2022
8611913
Merge pull request #93 from TheFierceWarrior/main
YaoFANGUK Mar 26, 2022
9913a30
update readme
YaoFANGUK Mar 28, 2022
977f174
Update README.md
YaoFANGUK Mar 31, 2022
942557a
修复时间戳问题
YaoFANGUK Apr 8, 2022
5f50200
Merge branch 'main' of https://github.com/YaoFANGUK/video-subtitle-ex…
YaoFANGUK Apr 8, 2022
38fdeb3
* merge parent/main
eritpchy Apr 9, 2022
54ad810
+ ocr支持在抽帧时同步执行
eritpchy Apr 10, 2022
32a76c6
+ ocr支持在抽帧时同步执行
eritpchy Apr 10, 2022
afb17c4
* fix SubtitleExtractor lock 无效, 批量任务会变成并发执行
eritpchy Apr 11, 2022
52d69a4
* fix SubtitleExtractor lock 无效, 批量任务会变成并发执行
eritpchy Apr 11, 2022
664002b
* 优化vsf的count_process的停止方式, 避免因为资源清理出现奇怪的异常
eritpchy Apr 11, 2022
0539778
* 优化vsf的count_process的停止方式, 避免因为资源清理出现奇怪的异常
eritpchy Apr 11, 2022
c1e11e1
- 删掉输出区域, 提速, 提速, 提速
eritpchy Apr 11, 2022
137b897
Merge pull request #99 from eritpchy/patch-5
YaoFANGUK Apr 11, 2022
4b25ba5
Revert "ocr支持在抽帧时同步执行"
YaoFANGUK Apr 11, 2022
4c65888
* update requirements
eritpchy Apr 11, 2022
68d8259
* fix on Linux ppocr unable start with use_gpu=True in multiprocessin…
eritpchy Apr 11, 2022
47efccf
* fix on Linux ppocr unable start with use_gpu=True in multiprocessin…
eritpchy Apr 11, 2022
b11ec5c
Merge pull request #100 from YaoFANGUK/revert-99-patch-5
YaoFANGUK Apr 11, 2022
23be402
Merge pull request #102 from eritpchy/patch-6
YaoFANGUK Apr 11, 2022
859d707
* fix "RecursionError: maximum recursion depth exceeded in comparison…
eritpchy Apr 11, 2022
5df25ad
Revert "Revert "ocr支持在抽帧时同步执行""
YaoFANGUK Apr 11, 2022
9b15f3f
Merge pull request #103 from YaoFANGUK/revert-100-revert-99-patch-5
YaoFANGUK Apr 11, 2022
59763f9
* fix "RecursionError: maximum recursion depth exceeded in comparison…
eritpchy Apr 11, 2022
4b71696
Merge pull request #105 from eritpchy/patch-7
YaoFANGUK Apr 11, 2022
c772b5b
* fix on Linux ppocr unable start with use_gpu=True in multiprocessin…
eritpchy Apr 11, 2022
02328ea
* fix extract_frame_by_fps 内存占用过大
eritpchy Apr 11, 2022
60665a3
Merge pull request #106 from eritpchy/patch-7
YaoFANGUK Apr 11, 2022
5006e5d
* fix extract_frame_by_fps 内存占用过大
eritpchy Apr 11, 2022
0278620
修复时间戳问题
YaoFANGUK Apr 12, 2022
6b96de9
修复重复check问题
YaoFANGUK Apr 12, 2022
685fbc9
修复PROP_MSEC不靠谱的问题
YaoFANGUK Apr 12, 2022
fb48526
Update requirements_gpu.txt
YaoFANGUK Apr 14, 2022
4d1440e
Update requirements.txt
YaoFANGUK Apr 14, 2022
c4eb626
Update README.md
YaoFANGUK Apr 14, 2022
cd76e4d
Update README.md
YaoFANGUK Apr 14, 2022
e2d2f36
Update README.md
YaoFANGUK Apr 14, 2022
4327a8e
Delete test_en.flv
YaoFANGUK Apr 14, 2022
59b78b1
Add files via upload
YaoFANGUK Apr 14, 2022
1c879ee
Delete test_japan.flv
YaoFANGUK Apr 14, 2022
7e92f83
Add files via upload
YaoFANGUK Apr 14, 2022
4d035bc
Update README.md
YaoFANGUK Apr 14, 2022
9662c25
Delete demo.gif
YaoFANGUK Apr 14, 2022
51b7e84
Add files via upload
YaoFANGUK Apr 14, 2022
88f287a
Update README.md
YaoFANGUK Apr 14, 2022
35d7968
Update README.md
YaoFANGUK Apr 15, 2022
8406fcc
Update README_en.md
YaoFANGUK Apr 15, 2022
74b78ff
Create README_en.md
YaoFANGUK Apr 15, 2022
bc2f247
Update README.md
YaoFANGUK Apr 15, 2022
55f9f09
Update README_en.md
YaoFANGUK Apr 15, 2022
bbd716a
Update README.md
YaoFANGUK Apr 15, 2022
e35f6ce
Update README.md
YaoFANGUK Apr 15, 2022
a73d68f
merge parent/main
eritpchy Apr 16, 2022
87051d4
+ OCR进度回传
eritpchy Apr 16, 2022
9d72ff9
+ 使用异步IO进一步提高OCR性能
eritpchy Apr 17, 2022
0678279
+ OCR进度回传
eritpchy Apr 16, 2022
9aead98
+ 使用异步IO进一步提高OCR性能
eritpchy Apr 17, 2022
bdea53a
Merge pull request #111 from eritpchy/patch-8
YaoFANGUK Apr 18, 2022
1090e63
Merge pull request #113 from eritpchy/patch-9
YaoFANGUK Apr 18, 2022
edb0d8c
修复gui报错闪退
YaoFANGUK Apr 18, 2022
56dbfe0
打印闪退报错日志
YaoFANGUK Apr 18, 2022
0654d97
Update gui.py
YaoFANGUK Apr 18, 2022
b2e93a6
Update gui.py
YaoFANGUK Apr 19, 2022
2fb771f
Update README.md
YaoFANGUK May 1, 2022
41790b3
修复运行后修改识别语言不生效的bug
YaoFANGUK May 10, 2022
252909b
修复重复点击打开按钮会重复运行的问题
YaoFANGUK May 10, 2022
d710f04
提高繁体中文准确度
YaoFANGUK May 10, 2022
0dac11b
修复打开视频窗口或视频变形的问题
YaoFANGUK May 10, 2022
0e92a30
更新识别模型
YaoFANGUK May 10, 2022
3e08e57
修复界面语言不动态更新的bug
YaoFANGUK May 11, 2022
d8e41a3
修复字幕框超出frame height的问题
YaoFANGUK May 13, 2022
f632c50
Merge remote-tracking branch 'parent/main'
eritpchy May 13, 2022
46583d7
Update ocr.py
YaoFANGUK May 13, 2022
10ea770
Merge remote-tracking branch 'parent/main'
eritpchy May 13, 2022
579dfa6
旧模型使用旧预处理
YaoFANGUK May 13, 2022
cfc2f50
提高识别率
YaoFANGUK May 13, 2022
3a59951
Update ocr.py
YaoFANGUK May 13, 2022
f6773a3
Merge remote-tracking branch 'parent/main'
eritpchy May 13, 2022
bee181d
Add files via upload
YaoFANGUK May 14, 2022
33b5093
Update gui.py
YaoFANGUK May 14, 2022
74cccd8
Update config.py
YaoFANGUK May 14, 2022
fcef1fe
修复批处理打开按钮bug
YaoFANGUK May 14, 2022
3841ef8
Update __init__.py
YaoFANGUK May 14, 2022
2d5b76a
Update gui.py
YaoFANGUK May 14, 2022
4c95676
Update __init__.py
YaoFANGUK May 14, 2022
0acebe7
Update ocr.py
YaoFANGUK May 14, 2022
6b9bf03
Update config.py
YaoFANGUK May 14, 2022
520c298
Update gui.py
YaoFANGUK May 14, 2022
1c90e49
Update gui.py
YaoFANGUK May 14, 2022
e4bb6bd
Merge remote-tracking branch 'parent/main'
eritpchy May 15, 2022
78102d8
+ 字幕区域允许偏差, 0为不允许越界, 0.03表示可以越界3%
eritpchy May 15, 2022
391dad3
新增阿拉伯语,修复vsf丢字幕的bug
YaoFANGUK May 17, 2022
5b142c7
修复vsf丢字幕的问题
YaoFANGUK May 17, 2022
5fc9bd3
修复vsf重复字幕的问题
YaoFANGUK May 17, 2022
cbdf57e
提高打包成功率
YaoFANGUK May 17, 2022
a27e287
add dissertation
YaoFANGUK May 19, 2022
5e462d3
修复部分逻辑
YaoFANGUK May 25, 2022
dce1d7e
minor
YaoFANGUK May 25, 2022
b03e4b6
minor
YaoFANGUK May 25, 2022
188e1af
修复重复check的问题
YaoFANGUK May 26, 2022
b8417a8
update readme
YaoFANGUK May 27, 2022
460bd5b
* 调整清理缓存文件时机至下一次运行前, 方便给开发人员分析错误
eritpchy May 29, 2022
a83d19c
* 让vsf版不丢空轴
eritpchy May 29, 2022
bfe481e
Merge pull request #131 from eritpchy/patch-12
YaoFANGUK May 29, 2022
03277cc
Merge pull request #132 from eritpchy/patch-13
YaoFANGUK May 29, 2022
f7a7b51
Revert "* 调整清理缓存文件时机至下一次运行前, 方便给开发人员分析错误"
YaoFANGUK May 29, 2022
ac9cbe0
Update config.py
YaoFANGUK May 29, 2022
d10419c
Merge pull request #133 from YaoFANGUK/revert-131-patch-12
YaoFANGUK May 29, 2022
e96a672
修复german找不到模型报错
YaoFANGUK May 30, 2022
8413bd7
方便调试
YaoFANGUK May 30, 2022
03d8e0b
添加删除空轴可选项
YaoFANGUK May 30, 2022
52012d9
使用vsf提取时等待vsf生成字幕文件
YaoFANGUK May 30, 2022
aa2c102
minor
YaoFANGUK May 30, 2022
a9726d4
修复部分情况下时间轴乱序的问题
YaoFANGUK Jun 28, 2022
6dc7a79
fix three digits for milliseconds
YaoFANGUK Aug 9, 2022
23ab301
Update README.md
YaoFANGUK Oct 13, 2022
64e0dc7
* 修复VSF动态帧率情况下用时间计算当前帧号不准: total_ms/fps
eritpchy Nov 9, 2022
3d8df55
Merge pull request #169 from eritpchy/patch-14
YaoFANGUK Nov 9, 2022
b35dadf
Revert "* 修复VSF动态帧率情况下用时间计算当前帧号不准: total_ms/fps"
YaoFANGUK Nov 11, 2022
7cfe8ee
Merge pull request #171 from YaoFANGUK/revert-169-patch-14
YaoFANGUK Nov 11, 2022
6fe488f
Update google_colab.ipynb
YaoFANGUK Nov 23, 2022
a5a4c28
Update google_colab_en.ipynb
YaoFANGUK Nov 23, 2022
cefb06d
provide preset subtitle area & fix minor bug
YaoFANGUK Nov 23, 2022
3e991d5
save subtitle area settings
YaoFANGUK Nov 23, 2022
cc4e691
Update README.md
YaoFANGUK Dec 14, 2022
cf97175
Update README.md
YaoFANGUK Mar 3, 2023
4566792
Update google_colab.ipynb
YaoFANGUK Mar 7, 2023
758937e
Update google_colab_en.ipynb
YaoFANGUK Mar 7, 2023
011f7d2
多语言支持(完整版)
eritpchy Mar 21, 2023
23075da
linux支持快速模式
eritpchy Mar 22, 2023
ad3e78d
Merge pull request #195 from eritpchy/patch-16
YaoFANGUK Mar 29, 2023
32c64dd
fixed NameError: name 'Filesplit' is not defined in config.py:192
eritpchy Mar 29, 2023
20badae
Merge pull request #198 from eritpchy/patch-17
YaoFANGUK Mar 30, 2023
80ecbc1
Update google_colab_en.ipynb
YaoFANGUK Mar 31, 2023
e5999be
Update google_colab.ipynb
YaoFANGUK Mar 31, 2023
4bad6c9
fixed VideoSubFinderCli.run: Permission denied
eritpchy Mar 31, 2023
a2def20
Update google_colab.ipynb google_colab_en.ipynb
eritpchy Mar 31, 2023
6730660
Merge pull request #200 from eritpchy/patch-18
YaoFANGUK Mar 31, 2023
1875787
Update README.md
YaoFANGUK Mar 31, 2023
3f2e2d9
Update README_en.md
YaoFANGUK Mar 31, 2023
6b18114
Update README.md
YaoFANGUK Apr 3, 2023
f5b6c29
Update README_en.md
YaoFANGUK Apr 3, 2023
742e9b5
Update README.md
YaoFANGUK Apr 3, 2023
05ef668
Update README.md
YaoFANGUK Apr 3, 2023
55df503
Fix geman subs bug
YaoFANGUK Apr 7, 2023
fac9883
add germany test video
YaoFANGUK Apr 7, 2023
3576462
Add Korean translation
KOZ39 Apr 8, 2023
2ef451f
Merge pull request #204 from KOZ39/main
YaoFANGUK Apr 8, 2023
b25b2d8
Update README_en.md
YaoFANGUK Apr 10, 2023
f4925f3
更新VSE v2.0.0
YaoFANGUK Oct 29, 2023
2cf899f
Update requirements_gpu.txt
YaoFANGUK Oct 29, 2023
c2b2e40
感谢玛卡巴卡的赞助
YaoFANGUK Oct 30, 2023
c1e8834
update readme
YaoFANGUK Oct 31, 2023
a70b2b6
界面支持日语
YaoFANGUK Oct 31, 2023
d8ec862
新增越南语界面
YaoFANGUK Oct 31, 2023
d28cb6f
新增西班牙语界面
YaoFANGUK Oct 31, 2023
384a365
新增轻量级模型
YaoFANGUK Nov 1, 2023
cd3e68d
refactor code
YaoFANGUK Nov 1, 2023
4adfad9
感谢ysjm的赞助
YaoFANGUK Nov 1, 2023
d85de89
配置化部分参数
YaoFANGUK Nov 1, 2023
42ede7a
Update README_en.md
YaoFANGUK Nov 1, 2023
36d8234
Update README.md
YaoFANGUK Nov 2, 2023
c5e7b26
更新使用说明
YaoFANGUK Nov 10, 2023
dcc4615
修复bug
YaoFANGUK Nov 10, 2023
4163f5f
感谢 又是李啊 的赞助
YaoFANGUK Nov 10, 2023
46a5cb2
Update reformat.py
neoyxm Nov 14, 2023
8b43a97
Merge pull request #263 from neoyxm/main
YaoFANGUK Nov 14, 2023
08a11e3
Update README.md
YaoFANGUK Nov 27, 2023
7bd354e
Update config.py: 添加IgnoreVertical配置项
neoyxm Nov 28, 2023
4435c86
Update subtitle_ocr.py: 如果设置忽略竖排字幕,则ocr跳过该条字幕行
neoyxm Nov 28, 2023
06cf86d
Update config.py:添加忽略竖排文字的长度阀值
neoyxm Nov 28, 2023
3440991
Update subtitle_ocr.py: 判断是否为竖排文字,除了比较x/y的长度,还要判断文字长度是否超过阀值
neoyxm Nov 28, 2023
9cc71a5
感谢赞助
YaoFANGUK Dec 6, 2023
1ed9e1b
Update README.md
YaoFANGUK Dec 7, 2023
f6c4d1d
Merge pull request #272 from neoyxm/main
YaoFANGUK Dec 8, 2023
9fa51ed
Revert "添加配置项支持忽略竖排文字"
YaoFANGUK Dec 8, 2023
ec424eb
Merge pull request #274 from YaoFANGUK/revert-272-main
YaoFANGUK Dec 8, 2023
077b3ff
Update README.md
YaoFANGUK Dec 20, 2023
8071f66
Update README.md
YaoFANGUK Dec 26, 2023
74dd5f4
Update README.md
YaoFANGUK Jan 6, 2024
894b879
Update README.md
YaoFANGUK Jan 16, 2024
8a1d3f7
感谢赞助
YaoFANGUK Jan 17, 2024
2286121
新增生成txt功能
YaoFANGUK Jan 22, 2024
2acac55
感谢赞助
YaoFANGUK Feb 21, 2024
e349caa
Update README.md
YaoFANGUK Feb 21, 2024
e366e97
Update README.md
YaoFANGUK Sep 25, 2024
5e1c816
更新依赖至python3.12
YaoFANGUK Sep 29, 2024
f5f2bc1
修改readme
YaoFANGUK Sep 29, 2024
b2cc323
删除无用代码
YaoFANGUK Sep 29, 2024
0b04952
Update README.md
YaoFANGUK Sep 30, 2024
67623e2
Update README.md
YaoFANGUK Sep 30, 2024
f4e25c5
Update README.md
YaoFANGUK Oct 9, 2024
b42ee80
Update .condarc
YaoFANGUK Oct 9, 2024
f522dbb
Update README_en.md
YaoFANGUK Oct 9, 2024
86ed272
Update README_en.md
YaoFANGUK Oct 9, 2024
28a2648
感谢ysjm的赞助
YaoFANGUK Oct 29, 2024
28de511
Update README.md
YaoFANGUK Dec 20, 2024
6724dab
Update README.md
YaoFANGUK Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .condarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: YaoFANGUK
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,15 @@ $RECYCLE.BIN/

# Windows shortcuts
*.lnk
*.srt

# End of https://www.toptal.com/developers/gitignore/api/intellij+all,python,pycharm+all,macos,windows
/backend/models/V2/ch_det/inference.pdiparams
/backend/models/V4/ch_det/inference.pdiparams
/output/
/backend/test.py
/dylib/
/settings.ini
/test.py
/test2.py
/subtitle.ini
201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading