https://github.com/dativebase/cross-old-searches
Search across multiple OLD apps from the command line.
https://github.com/dativebase/cross-old-searches
Last synced: 10 months ago
JSON representation
Search across multiple OLD apps from the command line.
- Host: GitHub
- URL: https://github.com/dativebase/cross-old-searches
- Owner: dativebase
- Created: 2016-01-25T02:08:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-25T02:22:12.000Z (over 10 years ago)
- Last Synced: 2024-04-14T23:58:10.707Z (about 2 years ago)
- Language: Python
- Size: 173 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
================================================================================
Cross-OLD Searches
================================================================================
Asynchronous cross-linguistic, multi-OLD command-line searching!
This script performs searches across multiple OLDs from the command line and
prints them to stdout.
The OLD (Online Linguistic Database) is software for linguistic fieldwork. The
OLD is used to build RESTful web services that allow you to build and query
databases of linguistic fieldwork data over the Internet. See
http://www.onlinelinguisticdatabase.org.
Usage
================================================================================
::
$ ./cross-old-searches.py
The script will prompt you for your username and password. Note that you must
have the same username and password for all of the OLDs you are searching over,
which is a good idea anyways.
Change `OLDS` and `LANGUAGES` below to match the OLDs that you have access to.
Example Search
================================================================================
This search will return all grammatical forms that contain the word "quickly"
in one of their translation values.::
['and',
[
['Form', 'grammaticality', '=', ''],
['Form', 'translations', 'transcription', 'regex', '(^| )([qQ]uickly)($| )']
]
]
Screenshots
================================================================================
.. image:: interface-1.png
.. image:: interface-2.png
.. image:: interface-3.png
Dependencies
================================================================================
Python Twisted must be installed.