Questions tagged [latin]
149 questions
0
votes
1 answer
Reforming the Pig Latin Result
I would like to reform pig latin result.
With some pig latin, let say 'dump table1', gives me following result.
(Test 1,1.0,Link1 Link2 Link3 ) which '\t' exists between Link1, Link2, Link3.
I would like to reform the result that would look…

John Doyle
- 898
- 2
- 9
- 22
0
votes
2 answers
Learning to use perl like regular expressions in PIG Latin.
Is there a way to extract certain words from a file in Pig Latin, eg: I want all words in a large file with tweets, that have a # in the beginning.
Input : What a lovely day! #Sunshine
Output : Sunshine

Kaizzen
- 5
- 4
0
votes
1 answer
1 lettered words with Pig Latin Programming
Whenever I try executing this code, it returns an error whenever I enter a one letter word though the compiling is fine and doing a phrase with any other word more than one letter\
Im confused why this is, because everything should return as fine,…

user3620736
- 11
- 1
0
votes
1 answer
Function convert cyrillic to latin
I am trying to create custom convert cyrillic to latin text function in VB.net. I've never tried to make a custom function so I don't know what I am doing wrong. I have one problem and also, function doesn't work : Object reference not set to an…

Jovica
- 450
- 9
- 32
0
votes
1 answer
Accented chars not indexed properly on Android
I have an Android app that shows an alphabetically ordered list of names. In spanish there are some names that starts with an accented character.
My implementation of AlphabetIndexer orders in this way:
A
B
C
D
E (regular ordering)
..............
Á…

webo80
- 3,365
- 5
- 35
- 52
0
votes
0 answers
Latin hypercube sample from a single random variable
I use Simple Random Sampling and Latin Hypercube Sampling in order to find the differences between the 2 methods as we calculate the variable for 1 pixel of an image and see the differences for the 2 methods of the Means and Variances. The number of…

Loukas K.
- 1
- 3
0
votes
1 answer
converting from latin character set to unicode
I am trying to change the character set from latin1 to utf8
Problem: The passwords are not working for French characters. The password works for special characters(like quotes, brackets, dollar sign, etc.). If I convert the character set in the code…

Nasir
- 41
- 4
0
votes
3 answers
Apache Pig - How to get number of matching elements between multiple bags?
I'm a new user of Apache Pig and I have a problem to solve.
I'm trying to make a little search engine with apache pig. The idea is simple: I have a file, which is the concatenation of multiple documents (one document per line). Here is an example…

shanks_roux
- 438
- 2
- 12
- 26
0
votes
1 answer
pig distinct atom
Suppose my data looks like this with columns named food, action, and population:
pizzas eatenBy humans
pizzas eatenBy collegeKids
pizzas eatenBy everyOne
pizzas grownBy farmers
sprouts grownBy sproutFarmers
sprouts grownBy …

user2250400
- 51
- 1
- 3
0
votes
2 answers
Pig ORDER command fails
I am trying to analyze an apache log and the goal is the find out all user agents and their percentage in usage. The following program works fine to the line when result contains each useragent, count and percentage. The program fails at last line…

user2276588
- 1
- 1
0
votes
1 answer
Regex allow all except
I have a form, description, and I like to stop words like "www, http, //, @, .com, co.uk..."
I would like to stop all email and domains in this form but allow all types of characters spaces, comas, and latin characters with punctuation like "ç, ã,…

RAN
- 59
- 4
0
votes
1 answer
Why isn't transliteration from Urdu to Latin working properly in icu4c?
I'm trying to convert this line of Urdu to Latin, and then converting the Latin characters to ASCII (by removing the accents, etc) but it seems to be missing some characters.
Why are there non latin characters ("ہ", "ے", etc) still there?
$ uconv…

megazord
- 3,210
- 3
- 23
- 31
0
votes
4 answers
How to compare and output latin characters?
I have an array of countries with one having a Latin character "Å":
$country["af"] = "Afghanistan";
$country["ax"] = "Åland Islands";
$country["al"] = "Albania";
While looping through this array and performing a comparison of the first character of…

Question Overflow
- 10,925
- 18
- 72
- 110
0
votes
1 answer
preg_match_all removes latin letters
I have problem with latin chars, here is the code:
$stopWords =…

Mirza Delic
- 4,119
- 12
- 55
- 86
0
votes
1 answer
MySQL trouble with the strings.How to convert to utf8?
I am having the following problem. I am creating a C# windows Forms application with which i want to transfer the data from a SQL Server to MySQL. The problem is that the data in the SQL is in latin and when i trasfer it in the MySQL DB it is shown…