semvec/pypi-packages huggingface dataset:
big-todo 0.0.5
CLI tool to combine TODO files
Requires Python: >=3.6

# big-todo

Make a big TODO file by concatenating all TODO files in a directory tree.

# install

    pip install big-todo

# usage

usage: btodo - make a big TODO file [-h] [--name NAME] [--include-header] dir

positional arguments:
  dir               the root directory

optional arguments:
  -h, --help        show this help message and exit
  --name NAME       the name of the file to combine
  --include-header  prepend the relative file path to each section

# example use

From the repo root, run:

    big-todo demo_folder --include-header
    
This will traverse the demo_folder and generate a virtual TODO file with
headers turned on, meaning the path of the file being appended will be
inserted as the first line of output.
dynamixel-controller 0.9.2
A new tool for operating Dynamixel series motors!
Keywords: dynamixel,dxl,dynamixel_sdk,motor controller,robotis,motor,robot

# dynamixel-controller

dynamixel-controller is a Python library designed from the ground up to work with any Dynamixel motor on the market with few to no modifications.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install dynamixel-controller.

```bash
pip install dynamixel-controller
```

## Usage
#### Import:
```python
from dynio import *
```

#### Port handling:
```python
dxl_io = dxl.DynamixelIO('portname') # your port for U2D2 or other serial device
```

#### Pre-made motor declarations:
See [documentation](https://github.com/UGA-BSAIL/dynamixel-controller/blob/moreJSON/docs.md) for full list of motors. 
See below for sample:
```python
ax_12 = dxl_io.new_ax12(1)       # AX-12 protocol 1 with ID 1
mx_64_1 = dxl_io.new_mx64(2, 1)  # MX-64 protocol 1 with ID 2
mx_64_2 = dxl_io.new_mx64(3, 2)  # MX-64 protocol 2 with ID 3
```

#### Motor Control:
See [documentation](https://github.com/UGA-BSAIL/dynamixel-controller/blob/moreJSON/docs.md) for full list of functions 
and their usage.

The most prevalent functions are pre-implemented as methods for the motor objects. 
These include:
```python
motor.torque_enable()
motor.torque_disable()
motor.set_acceleration(acceleration)
motor.set_velocity_mode()
motor.set_velocity(velocity)
motor.set_position_mode()
motor.set_position(position)
motor.set_angle(angle) 
motor.set_extended_position_mode()
motor.set_position(position)
position = motor.get_position()
angle = motor.get_angle()
current = motor.get_current()
```
All other values can be easily read from or written to using their [control table](http://emanual.robotis.com/) name. Example:
```python
motor.write_control_table("LED", 1) # Turns the LED on
speed = motor.read_control_table("Present_Speed") # Returns present velocity
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Especially encouraged is new control tables to be published as part of the package.

## License
[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/)
lexsub 1.1.4
State of the art Lexical Substitution in Context
Requires Python: >=3.6

## Setup 
``` 
pip3 install lexsub
Release: https://pypi.org/project/lexsub/   
```

## Background
The Lexical Substitution task involves selecting and ranking lexical paraphrases for a target word in a given sentential context. In the task, annotators and systems find an alternative substitute word or phrase for a target word in context.
The task involves both finding the synonyms and disambiguating the context.
To give an example:
```
Context: The wine was too strong to drink.
Target Word: strong

Predicted Candidates (Ranked): 
powerful 
potent 
warm
hot 
solid 
hard 
```

*Powerful* and *potent* are much better replacements as indicated by 
the score next to them as well. Whereas, all are viable 
replacement candidates given the context from a language modeling
perspective.   
Now notice two important things that is interesting: 
* Not all synonyms fit in the context.  
(direct lexical substitutions aka synonyms won’t always work)
* Not all words that fit in the context preserve the meaning 
of the sentence. (LM score doesn’t always correlate)  

## Datasets: 
A. *Lexical Substitution*:
* [SEMEVAL-2007](http://www.dianamccarthy.co.uk/task10index.html)
* [Coinco](https://www.ims.uni-stuttgart.de/en/research/resources/corpora/coinco/)

B. *Word Sense Disambiguation:*
* [WIC](https://pilehvar.github.io/wic/)
* [WSD](http://lcl.uniroma1.it/wsdeval/home)


## References: 
1. [SOTA-BERT](https://www.aclweb.org/anthology/P19-1328.pdf)
2. [Pre-BERT-SOTA,Melamud](https://www.aclweb.org/anthology/N16-1131.pdf) 
3. [PIC- Katrin](https://u.cs.biu.ac.il/~melamuo/publications/melamud_vsm15.pdf)
4. [SemBERT, AAAI 2020](https://arxiv.org/pdf/1909.02209.pdf)
5. [LIBERT](https://arxiv.org/pdf/1909.02339.pdf) 
6. [Morgifier LSTM, ICLR 2020](https://arxiv.org/pdf/1909.01792.pdf)