Giter Site home page Giter Site logo

fallroot / dandy Goto Github PK

View Code? Open in Web Editor NEW
128.0 12.0 21.0 1.32 MB

“단디”는 부산대학교 인공지능연구실과 (주)나라인포테크가 공동으로 만들어 http://speller.cs.pusan.ac.kr 페이지에서 제공하는 “한국어 맞춤법/문법 검사기”를 맥에서 쉽게 사용할 수 있도록 해 주는 도구입니다. 맥의 오토메이터를 이용해서 맥 서비스 형태로 제작했습니다.

Home Page: http://fallroot.github.com/dandy/

Shell 29.31% CSS 21.89% JavaScript 30.13% Ruby 18.66%

dandy's Introduction

단디

“단디”는 부산대학교 인공지능연구실과 (주)나라인포테크가 공동으로 만들어 http://speller.cs.pusan.ac.kr 페이지에서 제공하는 “한국어 맞춤법/문법 검사기”를 맥에서 쉽게 사용할 수 있도록 해 주는 도구입니다. 맥의 오토메이터를 이용해서 맥 서비스 형태로 제작했습니다.

설치

터미널에서 아래 명령어를 입력합니다.

curl https://raw.github.com/fallroot/dandy/master/bin/install.sh | sh

삭제

터미널에서 아래 명령어를 입력합니다.

curl https://raw.github.com/fallroot/dandy/master/bin/uninstall.sh | sh

사용법

  1. 맞춤법 검사를 할 문장을 선택합니다.
  2. 서비스 > 한국어 맞춤법 검사를 실행합니다. 또는 등록한 단축키를 누릅니다.

단축키 등록

  1. 시스템 환경설정 > 키보드 > 키보드 단축키 탭을 엽니다.
  2. 왼쪽 목록에서 서비스를 선택합니다.
  3. 한국어 맞춤법 검사를 선택하고 원하는 단축키를 등록합니다.

사용자 설정

팝업 창의 크기나 CSS가 맘에 들지 않을 경우

  • ~/Library/Services/dandy.workflow 파일을 오토메이터에서 열어 수정합니다.
  • ~/.dandy 디렉토리에 있는 파일을 수정합니다.

기타

주의 사항

제공자의 정책에 따라 서비스를 중단할 수도 있습니다.

아이콘

Gemicon에서 제공하는 아이콘을 사용했습니다.

dandy's People

Contributors

fallroot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dandy's Issues

Mac OS X 10.9에서 단디 오류/해결

Mac OS X 10.9 Mavericks (현재시점으로 차기버전) 하에서 단디가 스크립트 오류가 납니다.

  • OS 버전: Mac OS X 10.9 OS X Build 13A598
  • built-in Ruby 버전 : ruby 2.0.0p247 (2013-06-27 revision 41674

원인 : 문자열 교체과정 중 인코딩이 맞지않으면 실행되지 않고 오류가 발생한다.
~/.dandy/run.rb의 42번째 줄 :
template.gsub! '{{source}}', source
=> ASCII에서 UTF-8로 교체 불가능하다는 에러 발생

해결 : 명시적으로 인코딩 강제변환을 한다.
~/.dandy/run.rb의 42번째 줄 이전에 다음코드 2줄을 삽입한다.
source.force_encoding("UTF-8")
template.force_encoding("UTF-8")

임시방편으로 고쳐 사용중입니다.
개인컴퓨터 1대라서 기타 다른 환경에서는 적용시켜보지 못했습니다.
이 방법이라든지 다른 깔끔한 방법이 있으시면 10.9 정식출시에 반영 부탁드립니다.

XML 내에서 문서작업을 하는 경우 이스케이프 처리가 필요합니다.

<title>챕터</title>

위와 같이 XML태그가 포함된 경우 이런 단어가 전체 조회단어에 걸릴 경우 아래처럼 XML이 그대로 출력되서 html이 깨집니다.

<TR>
  <TD class='tdLT' title=0>입력 내용</TD>
  <TD id='tdErrorWord_0' class='tdErrWord' style='color:#008000;' ><title>챕터</title></TD>
</TR>
<!--대치어 -->
<TR>
  <TD class='tdLT'>대치어</TD>
  <TD id='tdReplaceWord_0' class='tdReplace' ><title> 챕터</title><br/></TD>
</TR>

맞춤범 검사를 하는 단어의 위치 표시?

블럭을 설정한 부분에 맞춤범 오류가 표시될 때 어떤 문장의 단어인지를 찾는데 시간을 많이 소비하게 되더라구요.

부산대 맞춤법검사기 같은 경우 어느 부분인지 표시가 되지만 dandy에서는 그렇게 할수는 없으므로 앞뒤 단어를 보여주면 어느 부분인지 찾을때 좀 편하지 않을가 하는 생각을 해봤습니다.

몇주간
(X) (몇 주간)

지금 위처럼 표시가 되는데

블라블라 "몇주간" 블라블라
(X) (몇 주간)

같이 표시해서 앞위의 블라블라는 약간 흐리게 표시하면 어느 부분의 단어인지 찾기 쉽지 않을려나요?

키보드로 승인/취소 실행

검사했는데 바꿀께 없는 경우 취소를 누르고 싶은데 항상 마우스를 써야 하는데 ESC를 누르면 취소가 되고 Enter를 누르면 승인이 되는 식으로 가능할까요?

XOR 문자에 대한 오류

XOR이나 xor이라는 문자가 있으면 "실행시 서버에 연결할 수 없거나 실행중 오류가 발생했습니다"라는 오류가 나옵니다.

\` 특수문자 오류

* **multistr**: `\`를 사용해서 문자열을 여러 라인에 걸쳐서 사용하는 경우 발생하는 오류를 보여주지 않는다.

위와 같은 문장에서 ` 부분때문에 AppleScript 실행동작에 오류가 발생했다는 오류가 나옵니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.