mojodna / placemaker-cli
- Source
- Commits
- Network (4)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
ab08920
James Flemer (author)
Thu May 21 13:06:03 -0700 2009
commit ab08920a4db40370522bb6d0c46f540360c4d0dc
tree 3c956d0cd74699d567070672435d276be61f69c8
parent 58fbc108d4730e757d9d1ace8887f0d3dca8afe9
tree 3c956d0cd74699d567070672435d276be61f69c8
parent 58fbc108d4730e757d9d1ace8887f0d3dca8afe9
| name | age | message | |
|---|---|---|---|
| |
README.markdown | ||
| |
placemaker |
README.markdown
Placemaker CLI
This is a command-line interface to Yahoo!'s Placemaker API. Placemaker is a geoparsing web service, which means that it extracts locations from bodies of text.
Usage
To use it, point it at a URL that you'd like locations extracted from:
$ ./placemaker --appid=<appid> <url>
Or feed it something content directly:
$ cat document.txt | ./placemaker --appid=<appid> --documentType=text/plain -
Optional arguments are (default):
--documentType=mime/type (text/html)
--inputLanguage=lang-code (en-US)
--autodisambiguate=true|false (false)
--outputType={xml|rss} (xml)
--focusWoeid=number (none)
To register for an app id, visit https://developer.yahoo.com/wsregapp/

