프로젝트
소개
Syntax control for the command line
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalsyn
Syntax control for the command line.
syn uses OS X's natural language processing tools to tokenize and highlight text (from standard input) that matches specified tags.

Inspired by iA Writer.
Install
syn requires OS X 10.7 or above.
$ curl -LOs https://github.com/stephencelis/syn/releases/download/v0.2.2/syn \
&& chmod 755 syn \
&& mv syn /usr/local/bin
Or clone/download the repository and run make install (requires
Xcode to be installed).
Usage
E.g.,
# find pesky adverbs
$ syn --adverbs < nanowrimo.txt
# highlight nouns and noun-likes
$ syn --nouns --pronouns --personal-names --place-names < nanowrimo.txt
# peruse the classics
$ curl -Ls http://www.gutenberg.org/ebooks/11231.txt.utf-8 | \
syn -A | \
less -r
# generate listicles
$ syn -a -ftable < moby-dick.txt | \
cut -d ' ' -f4 | sort -f | uniq -ci | sort -nr | head -10 | tr a-z A-Z
441 OLD
430 OTHER
305 SUCH
290 GREAT
275 LAST
238 LITTLE
215 SAME
199 OWN
199 GOOD
191 WHITE
-h,
usage: syn [tags] [-f <formatter=ansi>] [-vh]
Tags:
-n, --nouns Match nouns
-V, --verbs Match verbs
-a, --adjectives Match adjectives
-A, --adverbs Match adverbs
-N, --pronouns Match pronouns
-d, --determiners Match determiners
-p, --particles Match particles
-P, --prepositions Match prepositions
-1, --numbers Match numbers
-c, --conjunctions Match conjunctions
-i, --interjections Match interjections
-C, --classifiers Match classifiers
-I, --idioms Match idioms
-H, --personal-names Match personal (human) names
-l, --place-names Match place names (locations)
Configuration:
-f, --formatter One of 'ansi', 'table', or 'json'
-v, --version Show version
-h, --help Show this screen
License
syn is available under the MIT license. See the LICENSE file for more information.
관련 프로젝트 살펴보기
불러오는 중…