Giter Club home page Giter Club logo

Comments (2)

miglen avatar miglen commented on June 27, 2024

Нелогозими:

python3 - <<-EOF
import re
import requests
bg_alphabet = "абвгдежзийклмнопрстуфхцчшщъыюя"
for word in bg_alphabet:
  r = requests.post("http://ibl.bas.bg/infolex/neologisms.php", data={'search_param': 'all', 'word': word})
  neologisms = re.findall(r'<dt>[0-9]{1,5}\. (.+?) <small>', r.text)
  for neolog in neologisms:
    print(neolog)
EOF

from bulgarian-wordlists.

miglen avatar miglen commented on June 27, 2024

Фразеологизми: http://ibl.bas.bg/infolex/idioms.php

python3 - <<-EOF
import re
import requests
bg_alphabet = "абвгдежзийклмнопрстуфхцчшщъыюя"
for word in bg_alphabet:
  r = requests.post("http://ibl.bas.bg/infolex/idioms.php", data={'search_param': 'all', 'word': word})
  all_idioms = re.findall(r'<br\/><dt>[0-9]{1,5}\. (.+?)<\/dt><dd>', r.text)
  for idiom in all_idioms:
    sub_idioms = re.findall(r'(\w+)', idiom.lower())
    for sub_idiom in sub_idioms:
      if len(sub_idiom) >= 3:
        print(sub_idiom)
EOF

from bulgarian-wordlists.

Related Issues (9)

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.