Giter Site home page Giter Site logo

findassociations's Introduction

Find_Associations

Script finds associations for words at https://wordassociations.net using API.

Description:

Script send GET requests to https://wordassociations.net/ with words from input file and put results in output file. Words in input file should be seperated by newline character. Output file can be in xml or json format.

   [-h] [-t {stimulus,response}] [-l LIMIT] [-p POS] [-i] [-x]
   input output apikey language {en,es,it,de,pt,ru,fr}

positional arguments:

  input                 Path to input file with words.
  output                Path to output file with response.
  apikey                API-key from https://wordassociations.net/
  language              {en,es,it,de,pt,ru,fr}
                        Request words language.

optional arguments:

  -h, --help            show this help message and exit
  -t {stimulus,response}, --type {stimulus,response}
                        Type of search method. stimulus - search for words
                        which make us think about input word. response -
                        search for words which associates with input word.
                        Default: stimulus.
  -l LIMIT, --limit LIMIT
                        Maximum number of results. Range: 1 to 300.
  -p POS, --pos POS     Part of speech.List: noun, adjective,verb, adverb. Can
                        be grouped.Default: noun,adjective,verb,adverb
  -i, --indent          Disables indents. Default: enabled.
  -x, --xml             Output in XML format. Default: JSON format.

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.