Skip to content

dainiusjocas/minusine-bramos-akis

Repository files navigation

Minusinė Bramos akis

Goldman Sachs but not Like Hillary

"'Minusinė Bramos akis' - pusiau sąmoningas randominis neuronų tinklas, suteikiantis ribotą prieigą prie visų praeities įvykių, palikusių elektroninį arba šviesos atspaudą, net jeigu tas atspaudas jau sunaikintas."

  • Viktor Pelevin, "iPhuck 10", 2017, 207-208pp"

Lambda Usage

Set environment variables:

  • API_ID, as documented here
  • AWS_DEFAULT_REGION
curl -s -X POST https://$API_ID.execute-api.$AWS_DEFAULT_REGION.amazonaws.com/Prod/observe -d '
{
  "dictionary": [{"text":"Karbauskis"}],
  "search": {
    "url": "delfi.lt/news/.*","from":"201802","to":"201803"
 }
}
' | json_pp

This request should yield:

[
   {
      "hits" : [
         {
            "dict-entry-id" : "0",
            "text" : "Karbauskis",
            "meta" : {},
            "end-offset" : 4408,
            "type" : "PHRASE",
            "begin-offset" : 4398
         }
      ],
      "original" : "https://www.delfi.lt/news/daily/crime/alytaus-policija-iesko-nuo-bausmes-besislapstancio-vyro.d?id=77416031",
      "archive-url" : "http://web.archive.org/web/20180314121007/https://www.delfi.lt/news/daily/crime/alytaus-policija-iesko-nuo-bausmes-besislapstancio-vyro.d?id=77416031"
   },
   {
      "hits" : [
         {
            "meta" : {},
            "end-offset" : 3777,
            "type" : "PHRASE",
            "begin-offset" : 3767,
            "text" : "Karbauskis",
            "dict-entry-id" : "0"
         }
      ],
      "original" : "https://www.delfi.lt/news/daily/crime/atsauke-pavoju-sostines-prekybos-centre.d?id=77264831",
      "archive-url" : "http://web.archive.org/web/20180314032345/https://www.delfi.lt/news/daily/crime/atsauke-pavoju-sostines-prekybos-centre.d?id=77264831"
   }
]

License

Copyright © 2019 Dainius Jocas.

Distributed under the The Apache License, Version 2.0.

About

Prieiga prie visų praeities įvykių

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published