Smart Source Blog

Menu
Skip to content
  • Home
  • Answers
  • How-Tos
  • Tutorials
  • Articles
  • FAQ

Tag: python

  • Tutorials

Back Translation of a sample dataset using googletrans

  • Posted on March 17, 2023
  • by smartsource

Here’s an example Python code for Back Translation of a sample dataset using the googletrans library: from googletrans import Translator import random translator = Translator() def back_translate(sentence, lang): “”” Translates…

Read More
  • Answers

ModuleNotFoundError: No module named ‘googletrans’

  • Posted on March 17, 2023March 17, 2023
  • by smartsource

If you’re getting a ModuleNotFoundError: No module named ‘googletrans’ error message, it means that the googletrans library is not installed in your Python environment. To install the library, you can…

Read More
  • Tutorials

Data Augmentation techniques suitable for text datasets

  • Posted on March 17, 2023
  • by smartsource

There are several data augmentation techniques suitable for text data that you can try besides back-translation. Here are some examples: Here’s an example code that implements these data augmentation techniques:

Read More
  • Tutorials

Data Augmentation using Back Translation

  • Posted on March 17, 2023March 17, 2023
  • by smartsource

If you have a csv file with data in few columns and few rows and you want to generate a bigger dataset using some data augmentation technique, Back Translation is…

Read More
  • How-Tos

How to create encrypted credentials for a basic authentication header request in Python

  • Posted on March 17, 2023
  • by smartsource

To create encrypted credentials for a basic authentication header request, you can follow these general steps: Here’s some sample Python code that demonstrates how to generate encrypted credentials for a…

Read More
  • Tutorials

What is Faker library in Python? How to use it?

  • Posted on March 17, 2023
  • by smartsource

The Faker library is used to generate fake data, such as names, addresses, phone numbers, dates, and other types of data. The available functions in the Faker library depend on…

Read More
  • Tutorials

Python’s Faker library for non-english languages

  • Posted on March 17, 2023
  • by smartsource

The Faker library in Python supports generating fake data in a wide range of languages. By default, the library generates data in English, but you can specify a different language…

Read More
  • Tutorials

Python’s Faker library to augment text data

  • Posted on March 17, 2023
  • by smartsource

Here’s an example of how you can generate a fake text column with some data augmentation technique using the Faker library in Python: In this example, we read the input…

Read More
  • Tutorials

Generate fake text using a language model from a given csv file

  • Posted on March 17, 2023
  • by smartsource

Here’s an example of how you can use a pre-trained language model to generate fake text that matches the words in the sample text column: In this example, we load…

Read More
  • Tutorials

Detecting location from given text without using NLP

  • Posted on March 17, 2023
  • by smartsource

NLP is one of the ways of detecting location from given text. But there are other methods that can be used to infer the location (country) from a given text.…

Read More

Posts pagination

Page 1 Page 2 Next Page

analytics apache apache tika api applications aws best practices bigdata centos stream comparison containers csv data augmentation dataset dataverse data warehousing dms docker donation management donor management enterprise search error etl faker frontend GAN generate git image iras api java kubernetes linux location microsoft microsoft flow power apps power automate python reverse-proxy rhel sharepoint solr ssl windows

Recent Posts

  • Top Features Nonprofits Need in a DMS
  • How to Choose the Best Donor Management System for Your Nonprofit
  • How to download Office Apps
  • Tech-and-Go! program for Social Service Agencies (SSAs), the Start Digital, Go Digital, and Grow Digital
  • Is there field level security in DMS?

Categories

  • Answers
  • Articles
  • Courses
  • FAQ
  • How-Tos
  • Tutorials
© Copyright 2023 – Smart Source Technologies Pte Ltd
Bezel Theme by SimpleFreeThemes ⋅ Powered by WordPress