Questions tagged [hyphenation]

190 questions
1
vote
1 answer

Hyphen in subcollection name

I have made a mistake naming subcollection in MongoDB, unfortunately I named them using hyphen :/ Here is sample : { id: "..." "A-Section": { "val":1 } } I need to access the "val" field. Unfortunately hyphens seems to block…
Jean G
  • 153
  • 1
  • 1
  • 7
1
vote
1 answer

Return syllables of words hyphenated - in R

I have been working for a few days on this and not making as much headway as I would like. I know Franklin M. Liang's hyphenation algorithm implemented in a number of languages. Yet none of these are R. Even if there was an implementation in R, I am…
Francis Smart
  • 3,875
  • 6
  • 32
  • 58
1
vote
2 answers

PHP: How to extract() values from an associative array with hyphens/dashes in their keys?

I'm referring to this question. Is it possible to extract() values from an associative array with hyphens/dashes in their keys by now? It's about an older version of the WordPress Shortcode API. Example: function bartag_func( $atts ) { extract(…
Ben
  • 1,550
  • 1
  • 16
  • 24
1
vote
1 answer

Can I double click a hyphenated selector in Atom

I would like the ability to double click a hyphenated CSS class name in Atom and have it select the entire class. eg .my-class-name. I heard mention of the the 'Non word characters' in settings but this appears as a regex formula I'm not familiar…
Piet van Leeuwen
  • 319
  • 3
  • 12
1
vote
1 answer

AHF Formatter: Prevent line-break for hyphenated words

Is it possible to prevent line breaks inside hyphenated words (XML content) with the Antenna House Formatter? I thought of a solution with a RegEx but don´t know if this is even possible with the AHF. E.g. the author provides the following:…
garlicDoge
  • 197
  • 1
  • 3
  • 18
1
vote
1 answer

how to perform hyphenation on a UILabel sensitive to a language different from the one set in iOS preferences?

I couldn't find any hint to this quite specific question: How can I set the grammar rule by which hyphenation on a UILabel is performed? You see, my app is localised for english and german language and contains german street names (which obviously…
1
vote
1 answer

How can I spell check words ignoring optional hyphens?

I am using a RTE (TinyMce) for text creation in a browser. The RTE is inserting non-visible optional hyphens (code: '­' or '\u00ad') into words of a minimum length for hyphenation as the user writes. The problem i got now is to find a spellchecker…
Thariama
  • 50,002
  • 13
  • 138
  • 166
1
vote
0 answers

Hyphenation in python (apostrophe and exceptions)

I'm trying to get the syllables of word using pyhyphen. If I'm using the English dictionary, the apostrophe is handled correctly in my opinion import hyphen h = hyphen.Hyphenator('en_US') h.syllables(u"Hammond's") It's just included in one…
Akzidenzgrotesk
  • 544
  • 4
  • 8
1
vote
1 answer

Anyone able to translate sIFR into AS3 (for hyphenation and with the help of a converter)?

One thing asked for a lot with sIFR is hyphenation. Now I almost solved it with integrating Hyphenator.as http://vis4.net/blog/2010/05/as3-hyphenation/. The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in…
1
vote
4 answers

MikTeX 2.8 doesn't add hyphenation support for pdfLaTeX

I'm using MikTeX 2.8 edition, and installed the hungarian language support and hyphenation files. Using the standard LaTeX command they work fine, but when I try to use pdfLaTeX, they don't get loaded and I get the…
SztupY
  • 10,291
  • 8
  • 64
  • 87
1
vote
2 answers

Numbers with hyphens or strings of numbers with hyphens

I need to make a pandas DataFrame that has a column filled with hyphenated numbers. The only way I could think of to do this was to use strings. This all worked fine, until I needed to sort them to get them back into order after a regrouping. The…
Wesley Bowman
  • 1,366
  • 16
  • 35
1
vote
0 answers

Google Chrome: removing hyphenation

I have an odd problem: I have a Bootstrap 3/Wordpress 3.6.1 site with 3 narrow - ~200px wide - paragraphs of text in the centre and DON'T want hyphenation. In Safari and Firefox it's fine, but in Chrome (Version 30) the text hyphenates…
1
vote
1 answer

css3 word-wrap:break-word / break-all, no hyphen

CSS3 specs say there is partial support for word-wrap:break-word; In Chrome you must use word-wrap:break-all; but there is no hyphen. I'm using text-align:justify; Has any come up with a solution for there to be a hyphen on word break in…
drrobotnik
  • 739
  • 1
  • 11
  • 25
0
votes
1 answer

Why the text is wrapped (hyphenated), but without hyphens shown

This is the code:
  1. This is the example of the…
Shakalakah
  • 33
  • 4
0
votes
1 answer

Does IsHyphenationEnabled depend on OS Language? (WPF FlowDocument and TextBlock)

I'm using a FlowDocument to create a fixed XpsDocument. Skipping all the details, I tried this with both a FlowDocument and a TextBlock on my local machine (Windows 7 Professional, US-English):
Louis Somers
  • 2,560
  • 3
  • 27
  • 57