Skip to content

oudalab/phyllo

Repository files navigation

phyllo

PHilologicallY Linguistic LegwOrk.

To run the application:

Initial build:

  1. docker for linux (https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) OR docker-toolbox for windows(https://www.docker.com/products/docker-toolbox) is required
  2. clone or download the files from the github repository

giphy 1

  1. unzip the zip file (if downloaded the file)

  2. In linux: open terminal and navigate to the unzipped directory with cd command OR   In Windows: open up the docker quickstart terminal and navigate to the unzipped directory with cd command

  3. run docker-compose up command

giphy 2

  1. A new or initial build is gonna take the longest of around 20 - 30 mins, since the build downloads the data from the http://www.thelatinlibrary.com/ and then generate FTS tables for them
  2. The build will be done once the terminal says debugger is active! giphy 3

To access the search engine:

  1. open a browser and enter the url: http://192.168.99.100:5000/ giphy 4

Type of searches that can be performed:

  1. The search engine works for any number of words and sentences giphy giphy 1
  2. word*: in the search gets all the documents where the 'word' is a prefix. * can be used multiple times like word1* word2* word3* in the search bar.

multi star

star

  1. ^word: this search gets all the documents with sentences where 'word' is the first word. can only be used once in a search and ^word*: this gets all the documents where is 'word' is a prefix of the first word in a sentence

star with start

multi star with start

  1. to search author names or book titles: author:name or title:name should be used author

book

  1. the search author:name word searches for the documents where the authored by the specified author and contains the specified word

author-word

book-word

  1. author:name word* can also be used

author star

  1. Also author:name ^word* can also be searched

author

  1. word1 OR word2: this kind of search results all the documents which contain either word1 or word2

or

  1. The NEAR clause can be used to search for non continous words. For example, two words can have any number of words and characters between them an estimate of that number can be used to perform searches as well. word1 NEAR/x word2 where x is the estimated number of characters between word1 and word2.

nearsingle

NEAR clause can be used multiple times through the query.

About

PHilologicallY Linguistic LegwOrk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages