Skip to content

Commit

Permalink
Replace sobhe with roshan
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-kokabi committed Mar 18, 2023
1 parent 755714d commit dd267fb
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Install prerequisites
run: |
pip install .
wget https://github.com/sobhe/hazm/releases/download/v0.5/resources-0.5.zip
wget https://github.com/sobhe/hazm/releases/download/v0.5/resources-stanford.zip
wget https://github.com/roshan-research/hazm/releases/download/v0.5/resources-0.5.zip
wget https://github.com/roshan-research/hazm/releases/download/v0.5/resources-stanford.zip
unzip resources-0.5.zip -d resources
unzip resources-stanford.zip -d resources
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ The latest stable version of Hazm can be installed through `pip`:

But for testing or using Hazm with the latest updates you may use:

pip install https://github.com/sobhe/hazm/archive/master.zip --upgrade
pip install https://github.com/roshan-research/hazm/archive/master.zip --upgrade

We have also trained [tagger and parser models](https://github.com/sobhe/hazm/releases/download/v0.5/resources-0.5.zip). You may put these models in the `resources` folder of your project.
We have also trained [tagger and parser models](https://github.com/roshan-research/hazm/releases/download/v0.5/resources-0.5.zip). You may put these models in the `resources` folder of your project.

## Extensions

Note: These are not official versions of hazm, not uptodate on functionality and are not supported by Sobhe.
Note: These are not official versions of hazm, not uptodate on functionality and are not supported by Roshan.

+ [**JHazm**](https://github.com/mojtaba-khallash/JHazm): A Java port of Hazm
+ [**NHazm**](https://github.com/mojtaba-khallash/NHazm): A C# port of Hazm
Expand Down
10 changes: 5 additions & 5 deletions docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1 class="logo">هضم</h1>
<img src="../images/menu/web/demo_icon.svg" alt="demoIcon">
<span>اجرای نمونه</span>
</a>
<a href="https://github.com/sobhe/hazm">
<a href="https://github.com/roshan-research/hazm">
<img src="../images/menu/web/git_icon.svg" alt="git_icon">
<span>گیت هاب</span>
</a>
Expand All @@ -53,7 +53,7 @@ <h1 class="logo">هضم</h1>
</a>
</li>
<li>
<a href="https://github.com/sobhe/hazm">
<a href="https://github.com/roshan-research/hazm">
<img src="../images/menu/mobile/git_icon.svg" alt="git_icon">
<span>گیت هاب</span>
</a>
Expand Down Expand Up @@ -144,12 +144,12 @@ <h3 class="red-title">تجزیه نحوی</h3>

<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://www.sobhe.ir/dependency-parse-tree/d3.js"></script>
<script type="text/javascript" src="https://www.sobhe.ir/dependency-parse-tree/dependency-tree.js"></script>
<script type="text/javascript" src="https://www.roshan-ai.ir/dependency-parse-tree/d3.js"></script>
<script type="text/javascript" src="https://www.roshan-ai.ir/dependency-parse-tree/dependency-tree.js"></script>

<!-- My Js-->
<script type="text/javascript">
var server = 'https://hazm.sobhe.ir/api';
var server = 'https://hazm.roshan-ai.ir/api';
var analyze_section = $(".analyze-section");
var normalized = $('#normalized');
var lemmatized = $('#lemmatized');
Expand Down
26 changes: 13 additions & 13 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="logo">هضم</h1>
<img src="images/menu/web/demo_icon.svg" alt="demoIcon">
<span>اجرای نمونه</span>
</a>
<a href="https://github.com/sobhe/hazm">
<a href="https://github.com/roshan-research/hazm">
<img src="images/menu/web/git_icon.svg" alt="git_icon">
<span>گیت هاب</span>
</a>
Expand All @@ -57,7 +57,7 @@ <h1 class="logo">هضم</h1>
</a>
</li>
<li>
<a href="https://github.com/sobhe/hazm">
<a href="https://github.com/roshan-research/hazm">
<img src="images/menu/mobile/git_icon.svg" alt="git_icon">
<span>گیت هاب</span>
</a>
Expand Down Expand Up @@ -91,8 +91,8 @@ <h2 class="title title1">ویژگی‌ها</h2>
<li>سازگاری با بسته <a href="http://nltk.org/">NLTK</a></li>
<li>پشتیبانی از پایتون نسخه ۲ و ۳</li>
<li>تست مداوم کدها:
<a href="https://travis-ci.org/sobhe/hazm" class="test-code">
<img src="https://api.travis-ci.org/sobhe/hazm.svg?branch=master" alt="وضعیت تست">
<a href="https://travis-ci.org/roshan-research/hazm" class="test-code">
<img src="https://api.travis-ci.org/roshan-research/hazm.svg?branch=master" alt="وضعیت تست">
</a>
</li>
</ul>
Expand Down Expand Up @@ -661,9 +661,9 @@ <h2 class="title title4">نصب</h2>
<p>
توجه کنید که برچسب‌زن صرفی و تجزیه‌گر نحوی نیاز به مدل‌های آموزش‌دیده دارند. ما این مدل‌ها را هم آماده کرده‌ایم،
می‌توانید آنها را
<a href="https://github.com/sobhe/hazm/releases/download/v0.5/resources-0.5.zip">دریافت کنید</a>
<a href="https://github.com/roshan-research/hazm/releases/download/v0.5/resources-0.5.zip">دریافت کنید</a>
و در پوشه‌ای با عنوان resources در پروژه خود قرار دهید. البته رویه‌های آموزش و ارزیابی مدل‌ها هم
<a href="https://github.com/sobhe/hazm/blob/master/data.py">جزئی از کد</a>
<a href="https://github.com/roshan-research/hazm/blob/master/data.py">جزئی از کد</a>
هستند.
</p>
</div>
Expand Down Expand Up @@ -693,15 +693,15 @@ <h2 class="title title4">نصب</h2>
</a>

<h2 class="title title5">اجازه‌نامه</h2>
<p class="paragraph-4">شما می‌توانید مطابق <a href="https://github.com/sobhe/hazm/blob/master/LICENSE">اجازه‌نامه</a>،
<p class="paragraph-4">شما می‌توانید مطابق <a href="https://github.com/roshan-research/hazm/blob/master/LICENSE">اجازه‌نامه</a>،
از این محصول در هر نوع پروژه‌ای از جمله تحقیقاتی یا تجاری استفاده کنید. فقط توجه کنید که اجازه‌نامه هضم تنها مربوط
به کدهای این پروژه است و برای استفاده از مدل‌های آماده شده باید به مجوز داده‌های مورد استفاده در آموزش آنها مراجعه
کنید؛ که خب هیچ‌کدام اجازه استفاده تجاری را نمی‌دهند :(</p>

<div class="last-change-section">
<h2 class="title title6">آخرین تغییرات</h2>
<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/v0.5...v0.7">
<a href="https://github.com/roshan-research/hazm/compare/v0.5...v0.7">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۲۰ مهر ۹۷</span>
</a>
Expand All @@ -716,7 +716,7 @@ <h2 class="title title6">آخرین تغییرات</h2>
</ul>

<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/v0.4...v0.5">
<a href="https://github.com/roshan-research/hazm/compare/v0.4...v0.5">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۲۹ اسفند ۹۳</span>
</a>
Expand All @@ -729,7 +729,7 @@ <h2 class="title title6">آخرین تغییرات</h2>
</ul>

<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/v0.3...v0.4">
<a href="https://github.com/roshan-research/hazm/compare/v0.3...v0.4">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۲۵ آذر ۹۳</span>
</a></div>
Expand All @@ -740,7 +740,7 @@ <h2 class="title title6">آخرین تغییرات</h2>
<li>واسط استفاده از داده‌های فرهنگ ظرفیت فعل</li>
</ul>
<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/v0.2...v0.3">
<a href="https://github.com/roshan-research/hazm/compare/v0.2...v0.3">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۶ شهریور ۹۳</span>
</a>
Expand All @@ -752,7 +752,7 @@ <h2 class="title title6">آخرین تغییرات</h2>
<li>دقت تجزیه‌گر نحوی: 85.2%</li>
</ul>
<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/v0.1...v0.2">
<a href="https://github.com/roshan-research/hazm/compare/v0.1...v0.2">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۲۱ تیر ۹۳</span>
</a>
Expand All @@ -764,7 +764,7 @@ <h2 class="title title6">آخرین تغییرات</h2>
<li>اجرای تست‌ها در پایتون ۲</li>
</ul>
<div class="sub-title">
<a href="https://github.com/sobhe/hazm/compare/41843e...v0.1">
<a href="https://github.com/roshan-research/hazm/compare/41843e...v0.1">
<img class="flash-icon" src="images/flashIcon.svg" alt="flash_icon">
<span>۲۳ آذر ۹۲</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ pip install hazm
</video>

سپس [منابع هضم را دانلود
کنید](https://github.com/sobhe/hazm/releases/download/v0.5/resources-0.5.zip) و
کنید](https://github.com/roshan-research/hazm/releases/download/v0.5/resources-0.5.zip) و
در فولدری تحت عنوان resources در پروژهٔ خود قرار دهید.

!!! note ""
Expand Down
10 changes: 5 additions & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
site_name: هضم | کتابخانهٔ پردازش زبان فارسی
site_description: کتابخانه‌ای پایتونی برای پردازش زبان فارسی
site_author: روشن
site_url: https://sobhe.github.io
repo_url: https://github.com/sobhe/hazm
site_url: https://roshan-research.github.io
repo_url: https://github.com/roshan-research/hazm

remote_branch: master
repo_name: hazm
Expand All @@ -13,7 +13,7 @@ docs_dir: documentation
site_dir: docs/docs

copyright: |
کپی‌رایت &copy; ۱۴۰۰ - ۱۴۰۱ <a href="https://github.com/sobhe/hazm" target="_blank" rel="noopener">روشن</a> &nbsp;|&nbsp;
کپی‌رایت &copy; ۱۴۰۰ - ۱۴۰۱ <a href="https://github.com/roshan-research/hazm" target="_blank" rel="noopener">روشن</a> &nbsp;|&nbsp;
<a href="#__consent">تغییر تنظیمات کوکی</a>
theme:
Expand Down Expand Up @@ -105,7 +105,7 @@ nav:
- هضم در زبان‌های دیگر: content/in-other-languages.md

extra:
repo_url: https://github.com/sobhe/hazm
repo_url: https://github.com/roshan-research/hazm
consent:
title: درخواست استفاده از کوکی
description: >-
Expand All @@ -115,7 +115,7 @@ extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/sobhe
link: https://github.com/roshan-research

extra_javascript:
- https://unpkg.com/[email protected]/dist/mermaid.min.js
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
description="Python library for digesting Persian text.",
author="Alireza Nourian",
author_email="[email protected]",
url="http://www.sobhe.ir/hazm/",
url="https://www.roshan-ai.ir/hazm/",
long_description=codecs.open(
path.join(path.abspath(path.dirname(__file__)), "README.md"), encoding="utf-8"
).read(),
Expand Down

0 comments on commit dd267fb

Please sign in to comment.