Skip to content

Commit

Permalink
Merge pull request #25 from kimsehwan96/master
Browse files Browse the repository at this point in the history
release v1.0.0.2
  • Loading branch information
kimsehwan96 authored Mar 13, 2021
2 parents 8dab545 + d42b539 commit ac8af92
Show file tree
Hide file tree
Showing 57 changed files with 8,761 additions and 7 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
# Pyjosa

- 입력받은 한글 문자에 종성이 있을경우, 없을 경우를 구분하여 `을/를`, `이/가`와 같은 조사를 자동으로 붙여주는 패키지
![PyPI](https://img.shields.io/pypi/v/pyjosa?style=plastic) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyjosa)
![GitHub](https://img.shields.io/github/license/kimsehwan96/pyjosa) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/kimsehwan96/pyjosa/Publish%20Python%20%F0%9F%90%8D%20distributions%20%F0%9F%93%A6%20to%20PyPI/release)

- `PyPI`를 통해 배포 할 예정.
![PyPI - Downloads](https://img.shields.io/pypi/dm/pyjosa)

입력받은 한글 문자에 종성이 있을경우, 없을 경우를 구분하여 `을/를`, `이/가`와 같은 조사를 자동으로 붙여주는 패키지

`PyPI`에 배포 하였음. 현재 버전 ![PyPI](https://img.shields.io/pypi/v/pyjosa?style=plastic)

## 공식 도큐먼트

https://kimsehwan96.github.io/pyjosa/

## 설치

`python3 -m pip install pyjosa`

혹은

`pip install pyjosa`

## 사용법

```python3
Expand All @@ -31,15 +44,13 @@ print(Josa.get_full_string("물", "나")) # 물이나

## Core Concept

- 추후 작성 예정

## release
## Release

- 추후 작성 예정

## Contribute

- 추후 작성 예정




3 changes: 3 additions & 0 deletions docs/1_INSTALL/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 설치 방법

설치 방법에 대해서 소개합니다.
13 changes: 13 additions & 0 deletions docs/1_INSTALL/install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# pip install

1. pip를 이용하여 설치하는 방법 (pip command)

```console
pip install pyjosa
```

2. pip를 이용하여 설치하는 방법 (python3 command)

```console
python3 -m pip install pyjosa
```
3 changes: 3 additions & 0 deletions docs/2_EXAMPLE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 사용 예시

사용 예시에 대해 소개합니다.
19 changes: 19 additions & 0 deletions docs/2_EXAMPLE/example1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 간단한 사용 방법

```python
from pyjosa.josa import Josa

print(Josa.get_josa("철수", "")) #
print(Josa.get_josa("오리", "")) #
print(Josa.get_josa("", "")) #
print(Josa.get_josa("", "으로")) # 으로
print(Josa.get_josa("명예", "")) #
print(Josa.get_josa("", "")) # 이나

print(Josa.get_full_string("철수", "")) # 철수는
print(Josa.get_full_string("오리", "")) # 오리를
print(Josa.get_full_string("", "")) # 닭은
print(Josa.get_full_string("", "으로")) # 산으로
print(Josa.get_full_string("명예", "")) # 명예와
print(Josa.get_full_string("", "")) # 물이나
```
23 changes: 23 additions & 0 deletions docs/2_EXAMPLE/example2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 유용한 사용 방법

```python
from pyjosa.josa import Josa

subject = '철수'
obj = ''

full_string = f'{Josa.get_full_string(subject, '')} {Josa.get_full_string(obj, '')} 간다'

print(full_string) # 철수는 산을 오른다
```

```python
from pyjosa.josa import Josa

subjects = ['철수', '세환', '길동']
obj = ['', '바다', '']

for i, v in enumerate(subjects):
print(f'{Josa.get_full_string(v, '')} {Josa.get_full_string(obj[i], '')} 간다')

```
5 changes: 5 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "jekyll-rtd-theme", "~> 2.0.6"

gem "github-pages", group: :jekyll_plugins
Loading

0 comments on commit ac8af92

Please sign in to comment.