semvec/pypi-packages huggingface dataset:
pyims 0.1.2
A python wrapper for the IMS Word Sense Disambiguation tool (Zhong and Ng, 2010)
License: MIT

# PyIMS

A simple python wrapper around the IMS (It Makes Sense) word-sense disambiguation toolkit, that integrates it with NLTK's WordNet interface. Requires IMS to be downloaded separately, which requires a working Java installation. Also requires NLTK with WordNet downloaded. Only tested in Linux, might not work in other OSes. Built for python 3.6+

## Installation

First, follow the instructions in [Section 3 of the IMS Readme](https://raw.githubusercontent.com/NUNLP/ims/master/README.txt) to install the components of IMS into some directory; extract the models from [here](http://www.comp.nus.edu.sg/~nlp/corpora.html#onemilwsd) (step 3.e) into the same directory as in steps 3.b and 3.c. Then, run:

```
pip install pyims
```

## Usage

```python
from pyims import PyIMS

wsd = PyIMS("path/to/ims", "modelsDirName")
print(wsd.disambiguate("I am interested in the interest rates at the bank.", probs=True, synsets=False))

# If probs=True, returns a list of (token, probability_distribution) tuples where probability_distribution is a map of lemma to its probability
# If probs=False (default False), returns a list of (token, lemma) where lemma is the most probable word-sense in WordNet for the given token
# If synsets=True, lemmas are replaced with the Synsets to which they belong
# If synsets=False (default False), to access a lemma's synset, call lemma.synset()
```

## References

* Zhong, Zhi and Ng, Hwee Tou. 2010. It Makes Sense: A Wide-Coverage Word Sense Disambiguation System for Free Text. In Proceedings of the ACL 2010 System Demonstrations, pages 78--83, Uppsala, Sweden
lektor-bibtex-support 0.1.1
Bibtex file support to easily include publication lists.
License: MIT
Keywords: Lektor plugin static-site bibtex

# Lektor Bibtex Plugin

The plugin allows adding a list of publications generated from bibtex files to a page.


## Enabling the plugin

To enable the plugin add this to your project file:

```
[packages]
lektor-bibtex-support = 0.1
```

## Configuring

Create a file configs/bibtex-support.ini with a section called Bibtex. Define a variable files that
is a white space separated list of bibtex files. Put these files into the assets directory of your project.

```
[Bibtex]
files = A.bib B.bib
```

Optionally you can also create a template file that should leave in the template directory to render the bibtex entries. If you skip this entry a default template will be used that sorts the entries by year.

## Usage

You can add the the publication anywhere in your jinja template by calling

```
{{ list_publications(name=name, tag=tag, year=year, labels=labels, fname=fname)|safe }}
```

The arguments are optional and can be used for filtering.

By name: the name has to show up in the author list to be included

by year: only publications from this year

labels: white space separated list of bibtex labels (the name of each entry in the bibtex file)

fname: white space separated list files to search (by default all files will be searched)


## Javascript

For the default template, you can also add the following javascript to show some entries if you have a long list (relies on jquery):

```
$(document).ready(function()
	   {
	      $(".BIBTeX").hide();
	      $(".BIBTeXtoggle").click( function () {
		  $(this).parent().children(".BIBTeX").toggle(300);
		  return false;
		});
	      $(".BIBYear").hide();
	      $(".BIBYear:first").show();
	      $(".BIBYearheader").click( function () {
		  $(this).parent().children(".BIBYear").toggle(300);
		  return false;
		});
	      $(".bibshowall").click( function () {
		  $(".BIBYear").show();
		});
	      $(".bibhideall").click( function () {
		  $(".BIBYear").hide();
		  $(".BIBYear:first").show();
		});
           });
```
tempMail2 1.0.2
Python wrapper for online service which provides temporary email address: https://temp-mail.org/ V2
License: MIT
Keywords: temporary temp mail email address wrapper api anon anonymous secure free disposable

Tempmail2
=========

Python API Wrapper version 2 for `temp-mail.org <https://temp-mail.org/>`_ service. Temp-mail.org is a service which lets you use anonymous emails for free. You can view full API specification in `api.temp-mail.org <http://api.temp-mail.org/>`_.

Requirements
------------

`requests <https://crate.io/packages/requests/>`_ - required.

You can install it through ::

 $ pip install requests

Installation
------------

Installing with pip::

    $ pip install tempMail2

Usage
-----

Get all emails from given email login and domain::

    from tempMail2 import TempMail

    tm = TempMail(login='denis', domain='@gnail.pw')
    print tm.get_mailbox()  # list of emails in denis@gnail.pw

Generate email address and get emails from it::

    from tempMail2 import TempMail

    tm = TempMail()
    email = tm.get_email_address()  # v5gwnrnk7f@gnail.pw
    print tm.get_mailbox(email)  # list of emails